Searched refs:nfnlh (Results 1 – 8 of 8) sorted by relevance
/external/libnfnetlink/src/ |
D | libnfnetlink.c | 74 struct nfnl_handle *nfnlh; member 145 static int recalc_rebind_subscriptions(struct nfnl_handle *nfnlh) in recalc_rebind_subscriptions() argument 148 u_int32_t new_subscriptions = nfnlh->subscriptions; in recalc_rebind_subscriptions() 151 new_subscriptions |= nfnlh->subsys[i].subscriptions; in recalc_rebind_subscriptions() 153 nfnlh->local.nl_groups = new_subscriptions; in recalc_rebind_subscriptions() 154 err = bind(nfnlh->fd, (struct sockaddr *)&nfnlh->local, in recalc_rebind_subscriptions() 155 sizeof(nfnlh->local)); in recalc_rebind_subscriptions() 159 nfnlh->subscriptions = new_subscriptions; in recalc_rebind_subscriptions() 164 static void recalc_subscriptions(struct nfnl_handle *nfnlh) in recalc_subscriptions() argument 167 u_int32_t new_subscriptions = nfnlh->subscriptions; in recalc_subscriptions() [all …]
|
/external/libnetfilter_conntrack/src/ |
D | main.c | 15 struct nfct_handle *nfct_open_nfnl(struct nfnl_handle *nfnlh, in nfct_open_nfnl() argument 20 return nfct_open_nfnl2(nfnlh, subsys_id, subscriptions, true); in nfct_open_nfnl() 23 struct nfct_handle *nfct_open_nfnl2(struct nfnl_handle *nfnlh, in nfct_open_nfnl2() argument 33 cth->nfnlh = nfnlh; in nfct_open_nfnl2() 36 cth->nfnlssh_ct = nfnl_subsys_open2(cth->nfnlh, in nfct_open_nfnl2() 46 cth->nfnlssh_exp = nfnl_subsys_open2(cth->nfnlh, in nfct_open_nfnl2() 94 struct nfnl_handle *nfnlh = nfnl_open(); in nfct_open() local 97 if (!nfnlh) in nfct_open() 100 nfcth = nfct_open_nfnl(nfnlh, subsys_id, subscriptions); in nfct_open() 102 nfnl_close(nfnlh); in nfct_open() [all …]
|
/external/iptables/utils/ |
D | nfnl_osf.c | 62 static struct nfnl_handle *nfnlh; variable 389 return nfnl_query(nfnlh, nmh); in osf_load_line() 459 nfnlh = nfnl_open(); in main() 460 if (!nfnlh) { in main() 470 nfnlssh = nfnl_subsys_open(nfnlh, NFNL_SUBSYS_OSF, OSF_MSG_MAX, 0); in main() 482 nfnl_close(nfnlh); in main() 489 nfnl_close(nfnlh); in main()
|
/external/libnfnetlink/include/libnfnetlink/ |
D | libnfnetlink.h | 94 extern int nfnl_sendiov(const struct nfnl_handle *nfnlh, 118 extern struct nfattr *nfnl_parse_hdr(const struct nfnl_handle *nfnlh, 121 extern int nfnl_check_attributes(const struct nfnl_handle *nfnlh, 139 extern int nfnl_join(const struct nfnl_handle *nfnlh, unsigned int group);
|
/external/libnetfilter_conntrack/src/expect/ |
D | api.c | 684 return nfnl_query(h->nfnlh, &u.req.nlh); in nfexp_query() 716 return nfnl_send(h->nfnlh, &u.req.nlh); in nfexp_send() 737 return nfnl_catch(h->nfnlh); in nfexp_catch()
|
/external/libnetfilter_conntrack/include/internal/ |
D | object.h | 16 struct nfnl_handle *nfnlh; member
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | api.c | 970 return nfnl_query(h->nfnlh, &u.req.nlh); in nfct_query() 1002 return nfnl_send(h->nfnlh, &u.req.nlh); in nfct_send() 1024 return nfnl_catch(h->nfnlh); in nfct_catch()
|
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/ |
D | libnetfilter_conntrack.h | 43 extern struct nfct_handle *nfct_open_nfnl(struct nfnl_handle *nfnlh, 46 extern struct nfct_handle *nfct_open_nfnl2(struct nfnl_handle *nfnlh,
|