Home
last modified time | relevance | path

Searched refs:subsys_id (Results 1 – 7 of 7) sorted by relevance

/external/libnetfilter_conntrack/src/
Dmain.c16 uint8_t subsys_id, in nfct_open_nfnl() argument
20 return nfct_open_nfnl2(nfnlh, subsys_id, subscriptions, true); in nfct_open_nfnl()
24 uint8_t subsys_id, in nfct_open_nfnl2() argument
35 if (subsys_id == 0 || subsys_id == NFNL_SUBSYS_CTNETLINK) { in nfct_open_nfnl2()
45 if (subsys_id == 0 || subsys_id == NFNL_SUBSYS_CTNETLINK_EXP) { in nfct_open_nfnl2()
92 struct nfct_handle *nfct_open(uint8_t subsys_id, unsigned subscriptions) in nfct_open() argument
100 nfcth = nfct_open_nfnl(nfnlh, subsys_id, subscriptions); in nfct_open()
124 struct nfct_handle *nfct_open2(uint8_t subsys_id, unsigned subscriptions, int fd) in nfct_open2() argument
132 nfcth = nfct_open_nfnl2(nfnlh, subsys_id, subscriptions, false); in nfct_open2()
/external/libnl/lib/netfilter/
Dnfnl.c107 int nfnl_send_simple(struct nl_sock *sk, uint8_t subsys_id, uint8_t type, in nfnl_send_simple() argument
116 return nl_send_simple(sk, NFNLMSG_TYPE(subsys_id, type), flags, in nfnl_send_simple()
200 struct nl_msg *nfnlmsg_alloc_simple(uint8_t subsys_id, uint8_t type, int flags, in nfnlmsg_alloc_simple() argument
205 msg = nlmsg_alloc_simple(NFNLMSG_TYPE(subsys_id, type), flags); in nfnlmsg_alloc_simple()
231 uint8_t subsys_id, uint8_t type, int flags, uint8_t family, in nfnlmsg_put() argument
236 nlh = nlmsg_put(msg, pid, seq, NFNLMSG_TYPE(subsys_id, type), 0, flags); in nfnlmsg_put()
/external/libnfnetlink/src/
Dlibnfnetlink.c76 u_int8_t subsys_id; member
317 nfnl_subsys_open(struct nfnl_handle *nfnlh, u_int8_t subsys_id, in nfnl_subsys_open() argument
320 return nfnl_subsys_open2 (nfnlh, subsys_id, cb_count, subscriptions, true); in nfnl_subsys_open()
340 nfnl_subsys_open2(struct nfnl_handle *nfnlh, u_int8_t subsys_id, in nfnl_subsys_open2() argument
348 if (subsys_id > NFNL_MAX_SUBSYS) { in nfnl_subsys_open2()
353 ssh = &nfnlh->subsys[subsys_id]; in nfnl_subsys_open2()
366 ssh->subsys_id = subsys_id; in nfnl_subsys_open2()
531 nlh->nlmsg_type = (ssh->subsys_id<<8)|msg_type; in nfnl_fill_hdr()
1246 u_int8_t subsys_id = NFNL_SUBSYS_ID(nlh->nlmsg_type); in nfnl_check_attributes() local
1250 if (subsys_id > NFNL_MAX_SUBSYS) in nfnl_check_attributes()
[all …]
/external/strace/
Dnetlink_netfilter.c59 const uint8_t subsys_id = (uint8_t) (nlmsghdr->nlmsg_type >> 8); in decode_netlink_netfilter() local
71 if (subsys_id == NFNL_SUBSYS_NFTABLES in decode_netlink_netfilter()
76 } else if (subsys_id == NFNL_SUBSYS_NFTABLES in decode_netlink_netfilter()
Dnetlink.c180 const uint8_t subsys_id = (uint8_t) (type >> 8); in decode_nlmsg_type_netfilter() local
183 printxval(xlat, subsys_id, dflt); in decode_nlmsg_type_netfilter()
186 if (subsys_id < ARRAY_SIZE(nf_nlmsg_types)) in decode_nlmsg_type_netfilter()
187 printxval(nf_nlmsg_types[subsys_id].xlat, in decode_nlmsg_type_netfilter()
188 msg_type, nf_nlmsg_types[subsys_id].dflt); in decode_nlmsg_type_netfilter()
267 const uint8_t subsys_id = (uint8_t) (type >> 8); in decode_nlmsg_flags_netfilter() local
270 switch (subsys_id) { in decode_nlmsg_flags_netfilter()
/external/libnfnetlink/include/libnfnetlink/
Dlinux_nfnetlink.h68 __u8 subsys_id; /* nfnetlink subsystem ID */ member
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/
Dlibnetfilter_conntrack.h44 uint8_t subsys_id,
47 uint8_t subsys_id,