Home
last modified time | relevance | path

Searched refs:nla_get_be32 (Results 1 – 25 of 78) sorted by relevance

1234

/linux-6.6.21/net/netfilter/
Dnft_hash.c84 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()
250 type = ntohl(nla_get_be32(tb[NFTA_HASH_TYPE])); in nft_hash_select_ops()
Dnfnetlink_cthelper.c156 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_expect_policy()
161 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_expect_policy()
189 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_parse_expect_policy()
242 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_create()
259 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create()
262 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS])); in nfnl_cthelper_create()
309 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_update_policy_one()
314 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_update_policy_one()
376 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_update_policy()
391 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_update()
[all …]
Dnft_numgen.c60 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_inc_init()
62 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init()
159 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_random_init()
161 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_random_init()
221 type = ntohl(nla_get_be32(tb[NFTA_NG_TYPE])); in nft_ng_select_ops()
Dnft_tunnel.c85 priv->key = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY])); in nft_tunnel_get_init()
98 priv->mode = ntohl(nla_get_be32(tb[NFTA_TUNNEL_MODE])); in nft_tunnel_get_init()
207 info->key.u.ipv4.src = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_SRC]); in nft_tunnel_obj_ip_init()
209 info->key.u.ipv4.dst = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_DST]); in nft_tunnel_obj_ip_init()
246 info->key.label = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP6_FLOWLABEL]); in nft_tunnel_obj_ip6_init()
271 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init()
302 version = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_VERSION])); in nft_tunnel_obj_erspan_init()
309 nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_V1_INDEX]); in nft_tunnel_obj_erspan_init()
456 info.key.tun_id = key32_to_tunnel_id(nla_get_be32(tb[NFTA_TUNNEL_KEY_ID])); in nft_tunnel_obj_init()
481 tun_flags = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_FLAGS])); in nft_tunnel_obj_init()
Dnft_payload.c237 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_init()
238 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_init()
239 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_init()
662 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_inner_init()
674 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_inner_init()
675 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_inner_init()
891 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_set_init()
892 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_set_init()
893 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_set_init()
896 csum_type = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init()
[all …]
Dnft_inner.c307 flags = ntohl(nla_get_be32(tb[NFTA_INNER_FLAGS])); in nft_inner_init()
311 num = ntohl(nla_get_be32(tb[NFTA_INNER_NUM])); in nft_inner_init()
315 hdrsize = ntohl(nla_get_be32(tb[NFTA_INNER_HDRSIZE])); in nft_inner_init()
316 type = ntohl(nla_get_be32(tb[NFTA_INNER_TYPE])); in nft_inner_init()
Dnft_cmp.c90 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init()
234 priv->inv = ntohl(nla_get_be32(tb[NFTA_CMP_OP])) != NFT_CMP_EQ; in nft_cmp_fast_init()
331 priv->inv = ntohl(nla_get_be32(tb[NFTA_CMP_OP])) != NFT_CMP_EQ; in nft_cmp16_fast_init()
400 op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_select_ops()
417 sreg = ntohl(nla_get_be32(tb[NFTA_CMP_SREG])); in nft_cmp_select_ops()
Dnf_conntrack_proto_tcp.c1483 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT]))*HZ; in tcp_timeout_nlattr_to_obj()
1488 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_RECV]))*HZ; in tcp_timeout_nlattr_to_obj()
1492 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_ESTABLISHED]))*HZ; in tcp_timeout_nlattr_to_obj()
1496 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_FIN_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1500 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1504 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_LAST_ACK]))*HZ; in tcp_timeout_nlattr_to_obj()
1508 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_TIME_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1512 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE]))*HZ; in tcp_timeout_nlattr_to_obj()
1516 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT2]))*HZ; in tcp_timeout_nlattr_to_obj()
1520 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_RETRANS]))*HZ; in tcp_timeout_nlattr_to_obj()
[all …]
Dnft_fib.c79 priv->flags = ntohl(nla_get_be32(tb[NFTA_FIB_FLAGS])); in nft_fib_init()
93 priv->result = ntohl(nla_get_be32(tb[NFTA_FIB_RESULT])); in nft_fib_init()
Dnft_log.c178 ntohl(nla_get_be32(tb[NFTA_LOG_LEVEL])); in nft_log_init()
189 ntohl(nla_get_be32(tb[NFTA_LOG_FLAGS])); in nft_log_init()
201 ntohl(nla_get_be32(tb[NFTA_LOG_SNAPLEN])); in nft_log_init()
Dnft_limit.c77 priv->burst = ntohl(nla_get_be32(tb[NFTA_LIMIT_BURST])); in nft_limit_init()
104 u32 flags = ntohl(nla_get_be32(tb[NFTA_LIMIT_FLAGS])); in nft_limit_init()
310 switch (ntohl(nla_get_be32(tb[NFTA_LIMIT_TYPE]))) { in nft_limit_select_ops()
434 switch (ntohl(nla_get_be32(tb[NFTA_LIMIT_TYPE]))) { in nft_limit_obj_select_ops()
Dnft_nat.c184 switch (ntohl(nla_get_be32(tb[NFTA_NAT_TYPE]))) { in nft_nat_init()
198 family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY])); in nft_nat_init()
256 priv->flags |= ntohl(nla_get_be32(tb[NFTA_NAT_FLAGS])); in nft_nat_init()
Dnf_conntrack_netlink.c934 mark->val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_filter_parse_mark()
937 mark->mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_filter_parse_mark()
951 status->val = ntohl(nla_get_be32(cda[CTA_STATUS])); in ctnetlink_filter_parse_status()
953 status->mask = ntohl(nla_get_be32(cda[CTA_STATUS_MASK])); in ctnetlink_filter_parse_status()
1628 __be32 id = nla_get_be32(cda[CTA_ID]); in ctnetlink_del_conntrack()
1895 return nf_ct_change_status_common(ct, ntohl(nla_get_be32(cda[CTA_STATUS]))); in ctnetlink_change_status()
1990 return __nf_ct_change_timeout(ct, (u64)ntohl(nla_get_be32(cda[CTA_TIMEOUT])) * HZ); in ctnetlink_change_timeout()
2000 mask = ~ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_change_mark()
2002 mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_mark()
2056 ntohl(nla_get_be32(cda[CTA_SEQADJ_CORRECTION_POS])); in change_seq_adj()
[all …]
Dnf_conntrack_proto_generic.c31 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GENERIC_TIMEOUT])) * HZ; in generic_timeout_nlattr_to_obj()
Dnf_conntrack_proto_udp.c237 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()
Dnft_compat.c215 flags = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_FLAGS])); in nft_parse_compat()
222 l4proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat()
697 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get_rcu()
698 target = ntohl(nla_get_be32(tb[NFTA_COMPAT_TYPE])); in nfnl_compat_get_rcu()
801 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops()
881 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops()
Dnft_socket.c167 priv->key = ntohl(nla_get_be32(tb[NFTA_SOCKET_KEY])); in nft_socket_init()
183 level = ntohl(nla_get_be32(tb[NFTA_SOCKET_LEVEL])); in nft_socket_init()
Dnf_conntrack_proto_gre.c262 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
266 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
Dnft_connlimit.c70 limit = ntohl(nla_get_be32(tb[NFTA_CONNLIMIT_COUNT])); in nft_connlimit_do_init()
73 flags = ntohl(nla_get_be32(tb[NFTA_CONNLIMIT_FLAGS])); in nft_connlimit_do_init()
Dnft_xfrm.c54 priv->key = ntohl(nla_get_be32(tb[NFTA_XFRM_KEY])); in nft_xfrm_get_init()
83 spnum = ntohl(nla_get_be32(tb[NFTA_XFRM_SPNUM])); in nft_xfrm_get_init()
Dnfnetlink_acct.c102 flags = ntohl(nla_get_be32(tb[NFACCT_FLAGS])); in nfnl_acct_new()
267 filter->mask = ntohl(nla_get_be32(tb[NFACCT_FILTER_MASK])); in nfnl_acct_start()
268 filter->value = ntohl(nla_get_be32(tb[NFACCT_FILTER_VALUE])); in nfnl_acct_start()
Dnft_reject.c48 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_init()
Dnft_last.c38 last->set = ntohl(nla_get_be32(tb[NFTA_LAST_SET])); in nft_last_init()
/linux-6.6.21/net/bridge/netfilter/
Dnft_meta_bridge.c79 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_bridge_get_init()
135 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_bridge_set_init()
/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_ipmark.c122 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt()
264 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark6_uadt()

1234