Searched refs:nfgenmsg (Results 1 – 11 of 11) sorted by relevance
/net/netfilter/ |
D | nfnetlink.c | 168 if (nlmsg_len(nlh) < sizeof(struct nfgenmsg)) in nfnetlink_rcv_msg() 196 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg() 372 nlmsg_len(nlh) < sizeof(struct nfgenmsg)) { in nfnetlink_rcv_batch() 413 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch() 510 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_skb_batch() 514 struct nfgenmsg *nfgenmsg; in nfnetlink_rcv_skb_batch() local 523 if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv_skb_batch() 535 nfgenmsg = nlmsg_data(nlh); in nfnetlink_rcv_skb_batch() 538 if (nfgenmsg->res_id == NFNL_SUBSYS_NFTABLES) in nfnetlink_rcv_skb_batch() 541 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
|
D | nf_tables_trace.c | 186 struct nfgenmsg *nfmsg; in nft_trace_notify() 195 size = nlmsg_total_size(sizeof(struct nfgenmsg)) + in nft_trace_notify() 222 nlh = nlmsg_put(skb, 0, 0, event, sizeof(struct nfgenmsg), 0); in nft_trace_notify()
|
D | nf_conntrack_netlink.c | 515 struct nfgenmsg *nfmsg; in ctnetlink_fill_info() 650 return NLMSG_ALIGN(sizeof(struct nfgenmsg)) in ctnetlink_nlmsg_size() 685 struct nfgenmsg *nfmsg; in ctnetlink_conntrack_event() 864 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_start() 1261 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_del_conntrack() 1322 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_get_conntrack() 1401 struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in ctnetlink_dump_list() 2105 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in ctnetlink_new_conntrack() 2203 struct nfgenmsg *nfmsg; in ctnetlink_ct_stat_cpu_fill_info() 2287 struct nfgenmsg *nfmsg; in ctnetlink_stat_ct_fill_info() [all …]
|
D | nf_tables_api.c | 600 struct nfgenmsg *nfmsg; in nf_tables_fill_table_info() 603 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_table_info() 657 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_tables() 717 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_gettable() 902 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_newtable() 1073 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_deltable() 1263 struct nfgenmsg *nfmsg; in nf_tables_fill_chain_info() 1266 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_chain_info() 1356 const struct nfgenmsg *nfmsg = nlmsg_data(cb->nlh); in nf_tables_dump_chains() 1404 const struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nf_tables_getchain() [all …]
|
D | nfnetlink_log.c | 351 sizeof(struct nfgenmsg), in __nfulnl_send() 456 struct nfgenmsg *nfmsg; in __build_packet_message() 463 sizeof(struct nfgenmsg), 0); in __build_packet_message() 709 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfulnl_log_packet() 723 + nla_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet() 877 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfulnl_recv_config()
|
D | nfnetlink_queue.c | 386 struct nfgenmsg *nfmsg; in nfqnl_build_packet_message() 397 size = nlmsg_total_size(sizeof(struct nfgenmsg)) in nfqnl_build_packet_message() 474 sizeof(struct nfgenmsg), 0); in nfqnl_build_packet_message() 1065 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict_batch() 1173 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_verdict() 1259 struct nfgenmsg *nfmsg = nlmsg_data(nlh); in nfqnl_recv_config()
|
D | nfnetlink_cttimeout.c | 163 struct nfgenmsg *nfmsg; in ctnl_timeout_fill_info() 385 struct nfgenmsg *nfmsg; in cttimeout_default_fill_info()
|
D | nft_compat.c | 575 struct nfgenmsg *nfmsg; in nfnl_compat_fill_info() 608 struct nfgenmsg *nfmsg; in nfnl_compat_get_rcu()
|
D | nfnetlink_acct.c | 135 struct nfgenmsg *nfmsg; in nfnl_acct_fill_info()
|
D | nfnetlink_cthelper.c | 528 struct nfgenmsg *nfmsg; in nfnl_cthelper_fill_info()
|
/net/netfilter/ipset/ |
D | ip_set_core.c | 799 struct nfgenmsg *nfmsg; in start_msg() 1282 nlmsg_for_each_attr(attr, nlh, sizeof(struct nfgenmsg), rem) { in dump_attrs() 1299 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in dump_init() 1542 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad()
|