Home
last modified time | relevance | path

Searched refs:nfgenmsg (Results 1 – 10 of 10) sorted by relevance

/net/netfilter/
Dnfnetlink.c161 if (nlmsg_len(nlh) < sizeof(struct nfgenmsg)) in nfnetlink_rcv_msg()
189 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg()
326 nlmsg_len(nlh) < sizeof(struct nfgenmsg)) { in nfnetlink_rcv_batch()
367 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch()
451 struct nfgenmsg *nfgenmsg; in nfnetlink_rcv() local
458 skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv()
461 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv()
464 if (nfgenmsg->res_id == NFNL_SUBSYS_NFTABLES) in nfnetlink_rcv()
467 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv()
Dnf_tables_api.c413 struct nfgenmsg *nfmsg; in nf_tables_fill_table_info()
416 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_table_info()
471 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables()
514 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable()
645 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable()
779 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable()
927 struct nfgenmsg *nfmsg; in nf_tables_fill_chain_info()
930 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_chain_info()
1016 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains()
1062 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain()
[all …]
Dnf_conntrack_netlink.c464 struct nfgenmsg *nfmsg; in ctnetlink_fill_info()
581 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size()
616 struct nfgenmsg *nfmsg; in ctnetlink_conntrack_event()
768 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_table()
1015 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack()
1071 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack()
1160 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list()
1769 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack()
1862 struct nfgenmsg *nfmsg; in ctnetlink_ct_stat_cpu_fill_info()
1948 struct nfgenmsg *nfmsg; in ctnetlink_stat_ct_fill_info()
[all …]
Dnfnetlink_log.c355 sizeof(struct nfgenmsg), in __nfulnl_send()
407 struct nfgenmsg *nfmsg; in __build_packet_message()
414 sizeof(struct nfgenmsg), 0); in __build_packet_message()
641 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfulnl_log_packet()
655 + nla_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet()
796 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config()
Dnfnetlink_queue_core.c293 struct nfgenmsg *nfmsg; in nfqnl_build_packet_message()
301 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfqnl_build_packet_message()
364 sizeof(struct nfgenmsg), 0); in nfqnl_build_packet_message()
924 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict_batch()
974 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict()
1055 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_config()
Dnfnetlink_cttimeout.c163 struct nfgenmsg *nfmsg; in ctnl_timeout_fill_info()
390 struct nfgenmsg *nfmsg; in cttimeout_default_fill_info()
Dnft_compat.c443 struct nfgenmsg *nfmsg; in nfnl_compat_fill_info()
475 struct nfgenmsg *nfmsg; in nfnl_compat_get()
Dnfnetlink_acct.c136 struct nfgenmsg *nfmsg; in nfnl_acct_fill_info()
Dnfnetlink_cthelper.c504 struct nfgenmsg *nfmsg; in nfnl_cthelper_fill_info()
/net/netfilter/ipset/
Dip_set_core.c724 struct nfgenmsg *nfmsg; in start_msg()
1197 nlmsg_for_each_attr(attr, nlh, sizeof(struct nfgenmsg), rem) { in dump_attrs()
1206 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in dump_init()
1427 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad()