Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

libnetlink.h File Reference

#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>

Go to the source code of this file.

Classes

struct  rtnl_handle

Defines

#define __LIBNETLINK_H__   1

Functions

int rtnl_open (struct rtnl_handle *rth, unsigned subscriptions)
void rtnl_close (struct rtnl_handle *rth)
int rtnl_wilddump_request (struct rtnl_handle *rth, int fam, int type)
int rtnl_dump_request (struct rtnl_handle *rth, int type, void *req, int len)
int rtnl_dump_filter (struct rtnl_handle *rth, int(*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *arg1, int(*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *arg2)
int rtnl_talk (struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, unsigned groups, struct nlmsghdr *answer, int(*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *jarg)
int rtnl_send (struct rtnl_handle *rth, char *buf, int)
int addattr32 (struct nlmsghdr *n, int maxlen, int type, __u32 data)
int addattr_l (struct nlmsghdr *n, int maxlen, int type, void *data, int alen)
int rta_addattr32 (struct rtattr *rta, int maxlen, int type, __u32 data)
int rta_addattr_l (struct rtattr *rta, int maxlen, int type, void *data, int alen)
int parse_rtattr (struct rtattr *tb[], int max, struct rtattr *rta, int len)
int rtnl_listen (struct rtnl_handle *, int(*handler)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *jarg)
int rtnl_from_file (FILE *, int(*handler)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *jarg)


Define Documentation

#define __LIBNETLINK_H__   1
 


Function Documentation

int addattr32 struct nlmsghdr *  n,
int  maxlen,
int  type,
__u32  data
 

int addattr_l struct nlmsghdr *  n,
int  maxlen,
int  type,
void *  data,
int  alen
 

int parse_rtattr struct rtattr *  tb[],
int  max,
struct rtattr *  rta,
int  len
 

int rta_addattr32 struct rtattr *  rta,
int  maxlen,
int  type,
__u32  data
 

int rta_addattr_l struct rtattr *  rta,
int  maxlen,
int  type,
void *  data,
int  alen
 

void rtnl_close struct rtnl_handle rth  ) 
 

int rtnl_dump_filter struct rtnl_handle rth,
int(*)(struct sockaddr_nl *, struct nlmsghdr *n, void *)  filter,
void *  arg1,
int(*)(struct sockaddr_nl *, struct nlmsghdr *n, void *)  junk,
void *  arg2
 

int rtnl_dump_request struct rtnl_handle rth,
int  type,
void *  req,
int  len
 

int rtnl_from_file FILE *  ,
int(*)(struct sockaddr_nl *, struct nlmsghdr *n, void *)  handler,
void *  jarg
 

int rtnl_listen struct rtnl_handle ,
int(*)(struct sockaddr_nl *, struct nlmsghdr *n, void *)  handler,
void *  jarg
 

int rtnl_open struct rtnl_handle rth,
unsigned  subscriptions
 

int rtnl_send struct rtnl_handle rth,
char *  buf,
int 
 

int rtnl_talk struct rtnl_handle rtnl,
struct nlmsghdr *  n,
pid_t  peer,
unsigned  groups,
struct nlmsghdr *  answer,
int(*)(struct sockaddr_nl *, struct nlmsghdr *n, void *)  junk,
void *  jarg
 

int rtnl_wilddump_request struct rtnl_handle rth,
int  fam,
int  type
 


Generated on Mon Dec 27 21:55:23 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1