libnfnetlink.h   libnfnetlink.h 
skipping to change at line 63 skipping to change at line 63
/* 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 and unset sequence tracking */
void nfnl_set_sequence_tracking(struct nfnl_handle *h);
void nfnl_unset_sequence_tracking(struct nfnl_handle *h);
/* set receive buffer size (for nfnl_catch) */ /* set receive buffer size (for nfnl_catch) */
extern void nfnl_set_rcv_buffer_size(struct nfnl_handle *h, unsigned int si ze); 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);
extern int nfnl_talk(struct nfnl_handle *, struct nlmsghdr *, pid_t, extern __attribute__((deprecated)) int
unsigned, struct nlmsghdr *, nfnl_talk(struct nfnl_handle *, struct nlmsghdr *, pid_t,
int (*)(struct sockaddr_nl *, struct nlmsghdr *, void unsigned, struct nlmsghdr *,
*), int (*)(struct sockaddr_nl *, struct nlmsghdr *, void *), void *)
void *); ;
/* simple challenge/response */ /* simple challenge/response */
extern int nfnl_listen(struct nfnl_handle *, extern __attribute__((deprecated)) int
int (*)(struct sockaddr_nl *, struct nlmsghdr *, void nfnl_listen(struct nfnl_handle *,
*), int (*)(struct sockaddr_nl *, struct nlmsghdr *, void *), void
void *); *);
/* receiving */ /* receiving */
extern ssize_t nfnl_recv(const struct nfnl_handle *h, unsigned char *buf, s ize_t len); extern ssize_t nfnl_recv(const struct nfnl_handle *h, unsigned char *buf, s ize_t len);
extern int nfnl_callback_register(struct nfnl_subsys_handle *, extern int nfnl_callback_register(struct nfnl_subsys_handle *,
u_int8_t type, struct nfnl_callback *cb); u_int8_t type, struct nfnl_callback *cb);
extern int nfnl_callback_unregister(struct nfnl_subsys_handle *, u_int8_t t ype); extern int nfnl_callback_unregister(struct nfnl_subsys_handle *, u_int8_t t ype);
extern int nfnl_handle_packet(struct nfnl_handle *, char *buf, int len); extern int nfnl_handle_packet(struct nfnl_handle *, char *buf, int len);
/* parsing */ /* parsing */
extern struct nfattr *nfnl_parse_hdr(const struct nfnl_handle *nfnlh, extern struct nfattr *nfnl_parse_hdr(const struct nfnl_handle *nfnlh,
 End of changes. 3 change blocks. 
9 lines changed or deleted 13 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/