Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnfnetlink.h68 struct nfgenmsg *nfmsg; in nfnl_fill_hdr() local
70 nfmsg = nlmsg_data(nlh); in nfnl_fill_hdr()
71 nfmsg->nfgen_family = family; in nfnl_fill_hdr()
72 nfmsg->version = version; in nfnl_fill_hdr()
73 nfmsg->res_id = res_id; in nfnl_fill_hdr()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_netlink.c993 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() local
994 u8 family = nfmsg->nfgen_family; in ctnetlink_start()
1533 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack() local
1543 nfmsg->nfgen_family, &zone); in ctnetlink_del_conntrack()
1546 nfmsg->nfgen_family, &zone); in ctnetlink_del_conntrack()
1548 u_int8_t u3 = nfmsg->version ? nfmsg->nfgen_family : AF_UNSPEC; in ctnetlink_del_conntrack()
1594 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack() local
1595 u_int8_t u3 = nfmsg->nfgen_family; in ctnetlink_get_conntrack()
1671 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list() local
1672 u_int8_t l3proto = nfmsg->nfgen_family; in ctnetlink_dump_list()
[all …]
H A Dnft_compat.c622 struct nfgenmsg *nfmsg; in nfnl_compat_get_rcu() local
637 nfmsg = nlmsg_data(nlh); in nfnl_compat_get_rcu()
639 switch(nfmsg->nfgen_family) { in nfnl_compat_get_rcu()
654 nfmsg->nfgen_family); in nfnl_compat_get_rcu()
662 try_then_request_module(xt_find_revision(nfmsg->nfgen_family, name, in nfnl_compat_get_rcu()
679 nfmsg->nfgen_family, in nfnl_compat_get_rcu()
H A Dnf_tables_api.c773 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() local
777 int family = nfmsg->nfgen_family; in nf_tables_dump_tables()
833 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable() local
837 int family = nfmsg->nfgen_family; in nf_tables_gettable()
1020 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable() local
1022 int family = nfmsg->nfgen_family; in nf_tables_newtable()
1207 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable() local
1209 int family = nfmsg->nfgen_family; in nf_tables_deltable()
1525 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() local
1530 int family = nfmsg->nfgen_family; in nf_tables_dump_chains()
[all …]
H A Dnfnetlink_queue.c1065 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict_batch() local
1071 u16 queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_verdict_batch()
1173 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict() local
1174 u_int16_t queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_verdict()
1259 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_config() local
1260 u_int16_t queue_num = ntohs(nfmsg->res_id); in nfqnl_recv_config()
H A Dnfnetlink_log.c872 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config() local
873 u_int16_t group_num = ntohs(nfmsg->res_id); in nfulnl_recv_config()
881 u_int8_t pf = nfmsg->nfgen_family; in nfulnl_recv_config()
/OK3568_Linux_fs/buildroot/package/libnetfilter_log/
H A D0003-src-Use-stdint-types-everywhere.patch196 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh);
198 - u_int16_t group = ntohs(nfmsg->res_id);
199 + uint16_t group = ntohs(nfmsg->res_id);