/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_hash.c | 150 if (nla_put_be32(skb, NFTA_HASH_LEN, htonl(priv->len))) in nft_jhash_dump() 152 if (nla_put_be32(skb, NFTA_HASH_MODULUS, htonl(priv->modulus))) in nft_jhash_dump() 155 nla_put_be32(skb, NFTA_HASH_SEED, htonl(priv->seed))) in nft_jhash_dump() 158 if (nla_put_be32(skb, NFTA_HASH_OFFSET, htonl(priv->offset))) in nft_jhash_dump() 160 if (nla_put_be32(skb, NFTA_HASH_TYPE, htonl(NFT_HASH_JENKINS))) in nft_jhash_dump() 175 if (nla_put_be32(skb, NFTA_HASH_MODULUS, htonl(priv->modulus))) in nft_symhash_dump() 178 if (nla_put_be32(skb, NFTA_HASH_OFFSET, htonl(priv->offset))) in nft_symhash_dump() 180 if (nla_put_be32(skb, NFTA_HASH_TYPE, htonl(NFT_HASH_SYM))) in nft_symhash_dump()
|
D | nf_tables_trace.c | 41 return nla_put_be32(nlskb, NFTA_TRACE_ID, id); in trace_fill_id() 87 if (nla_put_be32(nlskb, NFTA_TRACE_IIF, in nf_trace_fill_dev_info() 97 if (nla_put_be32(nlskb, NFTA_TRACE_OIF, in nf_trace_fill_dev_info() 226 if (nla_put_be32(skb, NFTA_TRACE_NFPROTO, htonl(nft_pf(pkt)))) in nft_trace_notify() 229 if (nla_put_be32(skb, NFTA_TRACE_TYPE, htonl(info->type))) in nft_trace_notify() 254 if (nla_put_be32(skb, NFTA_TRACE_POLICY, in nft_trace_notify() 261 nla_put_be32(skb, NFTA_TRACE_MARK, htonl(pkt->skb->mark))) in nft_trace_notify()
|
D | nfnetlink_log.c | 478 if (nla_put_be32(inst->skb, NFULA_IFINDEX_INDEV, in __build_packet_message() 486 if (nla_put_be32(inst->skb, NFULA_IFINDEX_PHYSINDEV, in __build_packet_message() 492 nla_put_be32(inst->skb, NFULA_IFINDEX_INDEV, in __build_packet_message() 500 if (nla_put_be32(inst->skb, NFULA_IFINDEX_INDEV, in __build_packet_message() 506 nla_put_be32(inst->skb, NFULA_IFINDEX_PHYSINDEV, in __build_packet_message() 515 if (nla_put_be32(inst->skb, NFULA_IFINDEX_OUTDEV, in __build_packet_message() 523 if (nla_put_be32(inst->skb, NFULA_IFINDEX_PHYSOUTDEV, in __build_packet_message() 529 nla_put_be32(inst->skb, NFULA_IFINDEX_OUTDEV, in __build_packet_message() 537 if (nla_put_be32(inst->skb, NFULA_IFINDEX_OUTDEV, in __build_packet_message() 543 nla_put_be32(inst->skb, NFULA_IFINDEX_PHYSOUTDEV, in __build_packet_message() [all …]
|
D | nft_byteorder.c | 158 if (nla_put_be32(skb, NFTA_BYTEORDER_OP, htonl(priv->op))) in nft_byteorder_dump() 160 if (nla_put_be32(skb, NFTA_BYTEORDER_LEN, htonl(priv->len))) in nft_byteorder_dump() 162 if (nla_put_be32(skb, NFTA_BYTEORDER_SIZE, htonl(priv->size))) in nft_byteorder_dump()
|
D | nft_payload.c | 158 nla_put_be32(skb, NFTA_PAYLOAD_BASE, htonl(priv->base)) || in nft_payload_dump() 159 nla_put_be32(skb, NFTA_PAYLOAD_OFFSET, htonl(priv->offset)) || in nft_payload_dump() 160 nla_put_be32(skb, NFTA_PAYLOAD_LEN, htonl(priv->len))) in nft_payload_dump() 715 nla_put_be32(skb, NFTA_PAYLOAD_BASE, htonl(priv->base)) || in nft_payload_set_dump() 716 nla_put_be32(skb, NFTA_PAYLOAD_OFFSET, htonl(priv->offset)) || in nft_payload_set_dump() 717 nla_put_be32(skb, NFTA_PAYLOAD_LEN, htonl(priv->len)) || in nft_payload_set_dump() 718 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_TYPE, htonl(priv->csum_type)) || in nft_payload_set_dump() 719 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_OFFSET, in nft_payload_set_dump() 721 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_FLAGS, htonl(priv->csum_flags))) in nft_payload_set_dump()
|
D | nfnetlink_queue.c | 276 return flags ? nla_put_be32(nlskb, NFQA_SKB_INFO, htonl(flags)) : 0; in nfqnl_put_packet_info() 289 if (nla_put_be32(skb, NFQA_UID, in nfqnl_put_sk_uidgid() 292 if (nla_put_be32(skb, NFQA_GID, in nfqnl_put_sk_uidgid() 490 if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, htonl(indev->ifindex))) in nfqnl_build_packet_message() 497 if (nla_put_be32(skb, NFQA_IFINDEX_PHYSINDEV, in nfqnl_build_packet_message() 501 nla_put_be32(skb, NFQA_IFINDEX_INDEV, in nfqnl_build_packet_message() 509 if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, in nfqnl_build_packet_message() 515 nla_put_be32(skb, NFQA_IFINDEX_PHYSINDEV, in nfqnl_build_packet_message() 524 if (nla_put_be32(skb, NFQA_IFINDEX_OUTDEV, htonl(outdev->ifindex))) in nfqnl_build_packet_message() 531 if (nla_put_be32(skb, NFQA_IFINDEX_PHYSOUTDEV, in nfqnl_build_packet_message() [all …]
|
D | nft_tunnel.c | 113 if (nla_put_be32(skb, NFTA_TUNNEL_KEY, htonl(priv->key))) in nft_tunnel_get_dump() 117 if (nla_put_be32(skb, NFTA_TUNNEL_MODE, htonl(priv->mode))) in nft_tunnel_get_dump() 521 nla_put_be32(skb, NFTA_TUNNEL_KEY_IP6_FLOWLABEL, in nft_tunnel_ip_dump() 561 if (nla_put_be32(skb, NFTA_TUNNEL_KEY_VXLAN_GBP, in nft_tunnel_opts_dump() 569 if (nla_put_be32(skb, NFTA_TUNNEL_KEY_ERSPAN_VERSION, in nft_tunnel_opts_dump() 574 if (nla_put_be32(skb, NFTA_TUNNEL_KEY_ERSPAN_V1_INDEX, in nft_tunnel_opts_dump() 639 if (nla_put_be32(skb, NFTA_TUNNEL_KEY_FLAGS, htonl(flags)) < 0) in nft_tunnel_flags_dump() 651 if (nla_put_be32(skb, NFTA_TUNNEL_KEY_ID, in nft_tunnel_obj_dump()
|
D | nft_numgen.c | 79 if (nla_put_be32(skb, NFTA_NG_MODULUS, htonl(modulus))) in nft_ng_dump() 81 if (nla_put_be32(skb, NFTA_NG_TYPE, htonl(type))) in nft_ng_dump() 83 if (nla_put_be32(skb, NFTA_NG_OFFSET, htonl(offset))) in nft_ng_dump()
|
D | nft_nat.c | 264 if (nla_put_be32(skb, NFTA_NAT_TYPE, htonl(NFT_NAT_SNAT))) in nft_nat_dump() 268 if (nla_put_be32(skb, NFTA_NAT_TYPE, htonl(NFT_NAT_DNAT))) in nft_nat_dump() 273 if (nla_put_be32(skb, NFTA_NAT_FAMILY, htonl(priv->family))) in nft_nat_dump() 293 if (nla_put_be32(skb, NFTA_NAT_FLAGS, htonl(priv->flags))) in nft_nat_dump()
|
D | nf_conntrack_netlink.c | 162 if (nla_put_be32(skb, CTA_STATUS, htonl(ct->status))) in ctnetlink_dump_status() 174 if (nla_put_be32(skb, CTA_TIMEOUT, htonl(timeout))) in ctnetlink_dump_timeout() 327 if (nla_put_be32(skb, CTA_MARK, htonl(mark))) in ctnetlink_dump_mark() 432 if (nla_put_be32(skb, CTA_SEQADJ_CORRECTION_POS, in dump_ct_seq_adj() 434 nla_put_be32(skb, CTA_SEQADJ_OFFSET_BEFORE, in dump_ct_seq_adj() 436 nla_put_be32(skb, CTA_SEQADJ_OFFSET_AFTER, in dump_ct_seq_adj() 484 if (nla_put_be32(skb, CTA_SYNPROXY_ISN, htonl(synproxy->isn)) || in ctnetlink_dump_ct_synproxy() 485 nla_put_be32(skb, CTA_SYNPROXY_ITS, htonl(synproxy->its)) || in ctnetlink_dump_ct_synproxy() 486 nla_put_be32(skb, CTA_SYNPROXY_TSOFF, htonl(synproxy->tsoff))) in ctnetlink_dump_ct_synproxy() 501 if (nla_put_be32(skb, CTA_ID, id)) in ctnetlink_dump_id() [all …]
|
D | nft_fib.c | 124 if (nla_put_be32(skb, NFTA_FIB_RESULT, htonl(priv->result))) in nft_fib_dump() 127 if (nla_put_be32(skb, NFTA_FIB_FLAGS, htonl(priv->flags))) in nft_fib_dump()
|
D | nf_conntrack_proto_tcp.c | 1391 if (nla_put_be32(skb, CTA_TIMEOUT_TCP_SYN_SENT, in tcp_timeout_obj_to_nlattr() 1393 nla_put_be32(skb, CTA_TIMEOUT_TCP_SYN_RECV, in tcp_timeout_obj_to_nlattr() 1395 nla_put_be32(skb, CTA_TIMEOUT_TCP_ESTABLISHED, in tcp_timeout_obj_to_nlattr() 1397 nla_put_be32(skb, CTA_TIMEOUT_TCP_FIN_WAIT, in tcp_timeout_obj_to_nlattr() 1399 nla_put_be32(skb, CTA_TIMEOUT_TCP_CLOSE_WAIT, in tcp_timeout_obj_to_nlattr() 1401 nla_put_be32(skb, CTA_TIMEOUT_TCP_LAST_ACK, in tcp_timeout_obj_to_nlattr() 1403 nla_put_be32(skb, CTA_TIMEOUT_TCP_TIME_WAIT, in tcp_timeout_obj_to_nlattr() 1405 nla_put_be32(skb, CTA_TIMEOUT_TCP_CLOSE, in tcp_timeout_obj_to_nlattr() 1407 nla_put_be32(skb, CTA_TIMEOUT_TCP_SYN_SENT2, in tcp_timeout_obj_to_nlattr() 1409 nla_put_be32(skb, CTA_TIMEOUT_TCP_RETRANS, in tcp_timeout_obj_to_nlattr() [all …]
|
D | nfnetlink_cthelper.c | 498 if (nla_put_be32(skb, NFCTH_POLICY_SET_NUM, in nfnl_cthelper_dump_policy() 511 if (nla_put_be32(skb, NFCTH_POLICY_EXPECT_MAX, in nfnl_cthelper_dump_policy() 515 if (nla_put_be32(skb, NFCTH_POLICY_EXPECT_TIMEOUT, in nfnl_cthelper_dump_policy() 545 if (nla_put_be32(skb, NFCTH_QUEUE_NUM, htonl(helper->queue_num))) in nfnl_cthelper_fill_info() 554 if (nla_put_be32(skb, NFCTH_PRIV_DATA_LEN, htonl(helper->data_len))) in nfnl_cthelper_fill_info() 562 if (nla_put_be32(skb, NFCTH_STATUS, htonl(status))) in nfnl_cthelper_fill_info()
|
D | nft_bitwise.c | 244 if (nla_put_be32(skb, NFTA_BITWISE_LEN, htonl(priv->len))) in nft_bitwise_dump() 246 if (nla_put_be32(skb, NFTA_BITWISE_OP, htonl(priv->op))) in nft_bitwise_dump() 357 if (nla_put_be32(skb, NFTA_BITWISE_LEN, htonl(sizeof(u32)))) in nft_bitwise_fast_dump() 359 if (nla_put_be32(skb, NFTA_BITWISE_OP, htonl(NFT_BITWISE_BOOL))) in nft_bitwise_fast_dump()
|
D | nft_log.c | 236 if (nla_put_be32(skb, NFTA_LOG_LEVEL, htonl(li->u.log.level))) in nft_log_dump() 240 if (nla_put_be32(skb, NFTA_LOG_FLAGS, in nft_log_dump() 250 if (nla_put_be32(skb, NFTA_LOG_SNAPLEN, in nft_log_dump()
|
D | nft_limit.c | 114 nla_put_be32(skb, NFTA_LIMIT_BURST, htonl(limit->burst)) || in nft_limit_dump() 115 nla_put_be32(skb, NFTA_LIMIT_TYPE, htonl(type)) || in nft_limit_dump() 116 nla_put_be32(skb, NFTA_LIMIT_FLAGS, htonl(flags))) in nft_limit_dump()
|
D | nft_exthdr.c | 446 if (nla_put_be32(skb, NFTA_EXTHDR_OFFSET, htonl(priv->offset))) in nft_exthdr_dump_common() 448 if (nla_put_be32(skb, NFTA_EXTHDR_LEN, htonl(priv->len))) in nft_exthdr_dump_common() 450 if (nla_put_be32(skb, NFTA_EXTHDR_FLAGS, htonl(priv->flags))) in nft_exthdr_dump_common() 452 if (nla_put_be32(skb, NFTA_EXTHDR_OP, htonl(priv->op))) in nft_exthdr_dump_common()
|
D | nf_conntrack_proto_generic.c | 45 if (nla_put_be32(skb, CTA_TIMEOUT_GENERIC_TIMEOUT, htonl(*timeout / HZ))) in generic_timeout_obj_to_nlattr()
|
D | nft_xfrm.c | 220 if (nla_put_be32(skb, NFTA_XFRM_KEY, htonl(priv->key))) in nft_xfrm_get_dump() 224 if (nla_put_be32(skb, NFTA_XFRM_SPNUM, htonl(priv->spnum))) in nft_xfrm_get_dump()
|
D | nft_connlimit.c | 96 if (nla_put_be32(skb, NFTA_CONNLIMIT_COUNT, htonl(priv->limit))) in nft_connlimit_do_dump() 99 nla_put_be32(skb, NFTA_CONNLIMIT_FLAGS, htonl(NFT_CONNLIMIT_F_INV))) in nft_connlimit_do_dump()
|
D | nf_conntrack_proto_udp.c | 251 if (nla_put_be32(skb, CTA_TIMEOUT_UDP_UNREPLIED, in udp_timeout_obj_to_nlattr() 253 nla_put_be32(skb, CTA_TIMEOUT_UDP_REPLIED, in udp_timeout_obj_to_nlattr()
|
D | nft_cmp.c | 101 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(priv->op))) in nft_cmp_dump() 251 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(op))) in nft_cmp_fast_dump() 343 if (nla_put_be32(skb, NFTA_CMP_OP, htonl(op))) in nft_cmp16_fast_dump()
|
D | nft_reject.c | 67 if (nla_put_be32(skb, NFTA_REJECT_TYPE, htonl(priv->type))) in nft_reject_dump()
|
D | nf_conntrack_proto_gre.c | 281 if (nla_put_be32(skb, CTA_TIMEOUT_GRE_UNREPLIED, in gre_timeout_obj_to_nlattr() 283 nla_put_be32(skb, CTA_TIMEOUT_GRE_REPLIED, in gre_timeout_obj_to_nlattr()
|
D | nft_dynset.c | 260 if (nla_put_be32(skb, NFTA_DYNSET_OP, htonl(priv->op))) in nft_dynset_dump() 270 if (nla_put_be32(skb, NFTA_DYNSET_FLAGS, htonl(flags))) in nft_dynset_dump()
|