libnfnetlink.h   libnfnetlink.h 
skipping to change at line 59 skipping to change at line 59
/* get a new library handle */ /* get a new library handle */
extern struct nfnl_handle *nfnl_open(void); extern struct nfnl_handle *nfnl_open(void);
extern int nfnl_close(struct nfnl_handle *); extern int nfnl_close(struct nfnl_handle *);
extern struct nfnl_subsys_handle *nfnl_subsys_open(struct nfnl_handle *, extern struct nfnl_subsys_handle *nfnl_subsys_open(struct nfnl_handle *,
u_int8_t, u_int8_t, u_int8_t, u_int8_t,
unsigned int); unsigned int);
extern void nfnl_subsys_close(struct nfnl_subsys_handle *); extern void nfnl_subsys_close(struct nfnl_subsys_handle *);
/* set receive buffer size (for nfnl_catch) */
extern void nfnl_set_rcv_buffer_size(struct nfnl_handle *h, unsigned int si
ze);
/* sending of data */ /* sending of data */
extern int nfnl_send(struct nfnl_handle *, struct nlmsghdr *); extern int nfnl_send(struct nfnl_handle *, struct nlmsghdr *);
extern int nfnl_sendmsg(const struct nfnl_handle *, const struct msghdr *ms g, extern int nfnl_sendmsg(const struct nfnl_handle *, const struct msghdr *ms g,
unsigned int flags); unsigned int flags);
extern int nfnl_sendiov(const struct nfnl_handle *nfnlh, extern int nfnl_sendiov(const struct nfnl_handle *nfnlh,
const struct iovec *iov, unsigned int num, const struct iovec *iov, unsigned int num,
unsigned int flags); unsigned int flags);
extern void nfnl_fill_hdr(struct nfnl_subsys_handle *, struct nlmsghdr *, extern void nfnl_fill_hdr(struct nfnl_subsys_handle *, struct nlmsghdr *,
unsigned int, u_int8_t, u_int16_t, u_int16_t, unsigned int, u_int8_t, u_int16_t, u_int16_t,
u_int16_t); u_int16_t);
skipping to change at line 173 skipping to change at line 176
#define nfnl_nest(nlh, bufsize, type) \ #define nfnl_nest(nlh, bufsize, type) \
({ struct nfattr *__start = NLMSG_TAIL(nlh); \ ({ struct nfattr *__start = NLMSG_TAIL(nlh); \
nfnl_addattr_l(nlh, bufsize, type, NULL, 0); \ nfnl_addattr_l(nlh, bufsize, type, NULL, 0); \
__start; }) __start; })
#define nfnl_nest_end(nlh, tail) \ #define nfnl_nest_end(nlh, tail) \
({ (tail)->nfa_len = (void *) NLMSG_TAIL(nlh) - (void *) tail; }) ({ (tail)->nfa_len = (void *) NLMSG_TAIL(nlh) - (void *) tail; })
extern void nfnl_build_nfa_iovec(struct iovec *iov, struct nfattr *nfa, extern void nfnl_build_nfa_iovec(struct iovec *iov, struct nfattr *nfa,
u_int16_t type, u_int32_t len, u_int16_t type, u_int32_t len,
unsigned char *val); unsigned char *val);
extern unsigned int nfnl_rcvbufsiz(struct nfnl_handle *h, unsigned int size extern unsigned int nfnl_rcvbufsiz(const struct nfnl_handle *h,
); unsigned int size);
extern void nfnl_dump_packet(struct nlmsghdr *, int, char *); extern void nfnl_dump_packet(struct nlmsghdr *, int, char *);
/* /*
* index to interface name API * index to interface name API
*/ */
#ifndef IFNAMSIZ #ifndef IFNAMSIZ
#define IFNAMSIZ 16 #define IFNAMSIZ 16
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/