/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_hash.c | 84 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET])); in nft_jhash_init() 98 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_jhash_init() 106 priv->seed = ntohl(nla_get_be32(tb[NFTA_HASH_SEED])); in nft_jhash_init() 127 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET])); in nft_symhash_init() 129 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_symhash_init() 214 type = ntohl(nla_get_be32(tb[NFTA_HASH_TYPE])); in nft_hash_select_ops()
|
D | nft_numgen.c | 59 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_inc_init() 61 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init() 127 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_random_init() 129 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_random_init() 175 type = ntohl(nla_get_be32(tb[NFTA_NG_TYPE])); in nft_ng_select_ops()
|
D | nfnetlink_cthelper.c | 152 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_expect_policy() 157 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_expect_policy() 185 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_parse_expect_policy() 238 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_create() 255 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create() 258 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS])); in nfnl_cthelper_create() 305 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_update_policy_one() 310 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_update_policy_one() 372 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_update_policy() 387 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_update() [all …]
|
D | nft_tunnel.c | 84 priv->key = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY])); in nft_tunnel_get_init() 97 priv->mode = ntohl(nla_get_be32(tb[NFTA_TUNNEL_MODE])); in nft_tunnel_get_init() 179 info->key.u.ipv4.src = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_SRC]); in nft_tunnel_obj_ip_init() 181 info->key.u.ipv4.dst = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_DST]); in nft_tunnel_obj_ip_init() 218 info->key.label = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP6_FLOWLABEL]); in nft_tunnel_obj_ip6_init() 243 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init() 274 version = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_VERSION])); in nft_tunnel_obj_erspan_init() 281 nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_V1_INDEX]); in nft_tunnel_obj_erspan_init() 427 info.key.tun_id = key32_to_tunnel_id(nla_get_be32(tb[NFTA_TUNNEL_KEY_ID])); in nft_tunnel_obj_init() 452 tun_flags = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_FLAGS])); in nft_tunnel_obj_init()
|
D | nft_payload.c | 144 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_init() 145 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_init() 146 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_init() 666 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_set_init() 667 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_set_init() 668 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_set_init() 671 csum_type = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init() 683 flags = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_FLAGS])); in nft_payload_set_init() 750 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_select_ops()
|
D | nft_cmp.c | 90 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init() 220 priv->inv = ntohl(nla_get_be32(tb[NFTA_CMP_OP])) != NFT_CMP_EQ; in nft_cmp_fast_init() 315 priv->inv = ntohl(nla_get_be32(tb[NFTA_CMP_OP])) != NFT_CMP_EQ; in nft_cmp16_fast_init() 382 op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_select_ops() 399 sreg = ntohl(nla_get_be32(tb[NFTA_CMP_SREG])); in nft_cmp_select_ops()
|
D | nft_limit.c | 70 limit->burst = ntohl(nla_get_be32(tb[NFTA_LIMIT_BURST])); in nft_limit_init() 93 u32 flags = ntohl(nla_get_be32(tb[NFTA_LIMIT_FLAGS])); in nft_limit_init() 221 switch (ntohl(nla_get_be32(tb[NFTA_LIMIT_TYPE]))) { in nft_limit_select_ops() 327 switch (ntohl(nla_get_be32(tb[NFTA_LIMIT_TYPE]))) { in nft_limit_obj_select_ops()
|
D | nft_fib.c | 74 priv->flags = ntohl(nla_get_be32(tb[NFTA_FIB_FLAGS])); in nft_fib_init() 88 priv->result = ntohl(nla_get_be32(tb[NFTA_FIB_RESULT])); in nft_fib_init()
|
D | nf_conntrack_proto_tcp.c | 1348 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT]))*HZ; in tcp_timeout_nlattr_to_obj() 1353 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_RECV]))*HZ; in tcp_timeout_nlattr_to_obj() 1357 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_ESTABLISHED]))*HZ; in tcp_timeout_nlattr_to_obj() 1361 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_FIN_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj() 1365 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj() 1369 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_LAST_ACK]))*HZ; in tcp_timeout_nlattr_to_obj() 1373 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_TIME_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj() 1377 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE]))*HZ; in tcp_timeout_nlattr_to_obj() 1381 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT2]))*HZ; in tcp_timeout_nlattr_to_obj() 1385 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_RETRANS]))*HZ; in tcp_timeout_nlattr_to_obj() [all …]
|
D | nft_log.c | 164 ntohl(nla_get_be32(tb[NFTA_LOG_LEVEL])); in nft_log_init() 175 ntohl(nla_get_be32(tb[NFTA_LOG_FLAGS])); in nft_log_init() 187 ntohl(nla_get_be32(tb[NFTA_LOG_SNAPLEN])); in nft_log_init()
|
D | nft_nat.c | 178 switch (ntohl(nla_get_be32(tb[NFTA_NAT_TYPE]))) { in nft_nat_init() 192 family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY])); in nft_nat_init() 250 priv->flags |= ntohl(nla_get_be32(tb[NFTA_NAT_FLAGS])); in nft_nat_init()
|
D | nf_conntrack_proto_generic.c | 31 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GENERIC_TIMEOUT])) * HZ; in generic_timeout_nlattr_to_obj()
|
D | nft_compat.c | 206 flags = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_FLAGS])); in nft_parse_compat() 212 *proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat() 634 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get_rcu() 635 target = ntohl(nla_get_be32(tb[NFTA_COMPAT_TYPE])); in nfnl_compat_get_rcu() 734 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops() 813 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops()
|
D | nf_conntrack_netlink.c | 925 filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_alloc_filter() 927 filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_alloc_filter() 1562 __be32 id = nla_get_be32(cda[CTA_ID]); in ctnetlink_del_conntrack() 1846 unsigned int status = ntohl(nla_get_be32(cda[CTA_STATUS])); in ctnetlink_change_status() 1957 u64 timeout = (u64)ntohl(nla_get_be32(cda[CTA_TIMEOUT])) * HZ; in ctnetlink_change_timeout() 1976 mask = ~ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_change_mark() 1978 mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_mark() 2032 ntohl(nla_get_be32(cda[CTA_SEQADJ_CORRECTION_POS])); in change_seq_adj() 2038 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_BEFORE])); in change_seq_adj() 2044 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_AFTER])); in change_seq_adj() [all …]
|
D | nft_connlimit.c | 69 limit = ntohl(nla_get_be32(tb[NFTA_CONNLIMIT_COUNT])); in nft_connlimit_do_init() 72 flags = ntohl(nla_get_be32(tb[NFTA_CONNLIMIT_FLAGS])); in nft_connlimit_do_init()
|
D | nf_conntrack_proto_udp.c | 237 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; in udp_timeout_nlattr_to_obj() 241 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
|
D | nfnetlink_acct.c | 91 flags = ntohl(nla_get_be32(tb[NFACCT_FLAGS])); in nfnl_acct_new() 255 filter->mask = ntohl(nla_get_be32(tb[NFACCT_FILTER_MASK])); in nfnl_acct_start() 256 filter->value = ntohl(nla_get_be32(tb[NFACCT_FILTER_VALUE])); in nfnl_acct_start()
|
D | nft_reject.c | 47 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_init()
|
D | nf_conntrack_proto_gre.c | 267 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; in gre_timeout_nlattr_to_obj() 271 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
|
D | nft_dynset.c | 127 u32 flags = ntohl(nla_get_be32(tb[NFTA_DYNSET_FLAGS])); in nft_dynset_init() 150 priv->op = ntohl(nla_get_be32(tb[NFTA_DYNSET_OP])); in nft_dynset_init()
|
D | nft_reject_inet.c | 71 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_inet_init()
|
D | nf_tables_api.c | 415 ntohl(nla_get_be32(ctx->nla[NFTA_CHAIN_ID])); in nft_trans_chain_add() 488 ntohl(nla_get_be32(ctx->nla[NFTA_RULE_ID])); in nft_trans_rule_add() 553 ntohl(nla_get_be32(ctx->nla[NFTA_SET_ID])); in nft_trans_set_add() 1070 flags = ntohl(nla_get_be32(ctx->nla[NFTA_TABLE_FLAGS])); in nf_tables_updtable() 1217 flags = ntohl(nla_get_be32(nla[NFTA_TABLE_FLAGS])); in nf_tables_newtable() 2044 hook->num = ntohl(nla_get_be32(ha[NFTA_HOOK_HOOKNUM])); in nft_chain_parse_hook() 2045 hook->priority = ntohl(nla_get_be32(ha[NFTA_HOOK_PRIORITY])); in nft_chain_parse_hook() 2465 u32 id = ntohl(nla_get_be32(nla)); in nft_chain_lookup_byid() 2542 policy = ntohl(nla_get_be32(nla[NFTA_CHAIN_POLICY])); in nf_tables_newchain() 2553 flags = ntohl(nla_get_be32(nla[NFTA_CHAIN_FLAGS])); in nf_tables_newchain() [all …]
|
D | nft_osf.c | 80 flags = ntohl(nla_get_be32(tb[NFTA_OSF_FLAGS])); in nft_osf_init()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 121 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt() 263 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark6_uadt()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 76 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_bridge_get_init()
|