Searched defs:nfnlh (Results 1 - 4 of 4) sorted by relevance
/external/libnetfilter_conntrack/src/ |
H A D | main.c | 15 struct nfct_handle *nfct_open_nfnl(struct nfnl_handle *nfnlh, argument 26 cth->nfnlh = nfnlh; 29 cth->nfnlssh_ct = nfnl_subsys_open(cth->nfnlh, 38 cth->nfnlssh_exp = nfnl_subsys_open(cth->nfnlh, 86 struct nfnl_handle *nfnlh = nfnl_open(); local 89 if (!nfnlh) 92 nfcth = nfct_open_nfnl(nfnlh, subsys_id, subscriptions); 94 nfnl_close(nfnlh); 134 err = nfnl_close(cth->nfnlh); [all...] |
/external/iptables/utils/ |
H A D | nfnl_osf.c | 62 static struct nfnl_handle *nfnlh; variable in typeref:struct:nfnl_handle 387 return nfnl_talk(nfnlh, nmh, 0, 0, NULL, NULL, NULL); 452 nfnlh = nfnl_open(); 453 if (!nfnlh) { 463 nfnlssh = nfnl_subsys_open(nfnlh, NFNL_SUBSYS_OSF, OSF_MSG_MAX, 0); 475 nfnl_close(nfnlh); 482 nfnl_close(nfnlh);
|
/external/libnetfilter_conntrack/include/internal/ |
H A D | object.h | 16 struct nfnl_handle *nfnlh; member in struct:nfct_handle
|
/external/libnfnetlink/src/ |
H A D | libnfnetlink.c | 24 * set missing nfnlh->local.nl_pid in nfnl_open 27 * remove bogus nfnlh->local.nl_pid from nfnl_open ;) 74 struct nfnl_handle *nfnlh; member in struct:nfnl_subsys_handle 124 * @nfnlh: nfnetlink handler 145 static int recalc_rebind_subscriptions(struct nfnl_handle *nfnlh) argument 148 u_int32_t new_subscriptions = nfnlh->subscriptions; 151 new_subscriptions |= nfnlh->subsys[i].subscriptions; 153 nfnlh->local.nl_groups = new_subscriptions; 154 err = bind(nfnlh->fd, (struct sockaddr *)&nfnlh 175 struct nfnl_handle *nfnlh; local 276 nfnl_subsys_open(struct nfnl_handle *nfnlh, u_int8_t subsys_id, u_int8_t cb_count, u_int32_t subscriptions) argument 339 nfnl_close(struct nfnl_handle *nfnlh) argument 369 nfnl_join(const struct nfnl_handle *nfnlh, unsigned int group) argument 384 nfnl_send(struct nfnl_handle *nfnlh, struct nlmsghdr *n) argument 395 nfnl_sendmsg(const struct nfnl_handle *nfnlh, const struct msghdr *msg, unsigned int flags) argument 404 nfnl_sendiov(const struct nfnl_handle *nfnlh, const struct iovec *iov, unsigned int num, unsigned int flags) argument 469 nfnl_parse_hdr(const struct nfnl_handle *nfnlh, const struct nlmsghdr *nlh, struct nfgenmsg **genmsg) argument 562 nfnl_listen(struct nfnl_handle *nfnlh, int (*handler)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *jarg) argument 671 nfnl_talk(struct nfnl_handle *nfnlh, struct nlmsghdr *n, pid_t peer, unsigned groups, struct nlmsghdr *answer, int (*junk)(struct sockaddr_nl *, struct nlmsghdr *n, void *), void *jarg) argument [all...] |
Completed in 114 milliseconds