Home
last modified time | relevance | path

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

123

/linux/net/netfilter/
A 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()
214 type = ntohl(nla_get_be32(tb[NFTA_HASH_TYPE])); in nft_hash_select_ops()
A Dnfnetlink_cthelper.c152 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 …]
A 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()
131 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_random_init()
133 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_random_init()
181 type = ntohl(nla_get_be32(tb[NFTA_NG_TYPE])); in nft_ng_select_ops()
A Dnft_payload.c188 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_init()
189 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_init()
190 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_init()
711 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_set_init()
713 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_set_init()
717 ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init()
720 ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_OFFSET])); in nft_payload_set_init()
724 flags = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_FLAGS])); in nft_payload_set_init()
789 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_select_ops()
809 offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_select_ops()
[all …]
A Dnft_tunnel.c84 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()
178 info->key.u.ipv4.src = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_SRC]); in nft_tunnel_obj_ip_init()
180 info->key.u.ipv4.dst = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_DST]); in nft_tunnel_obj_ip_init()
217 info->key.label = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP6_FLOWLABEL]); in nft_tunnel_obj_ip6_init()
242 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init()
273 version = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_VERSION])); in nft_tunnel_obj_erspan_init()
280 nla_get_be32(tb[NFTA_TUNNEL_KEY_ERSPAN_V1_INDEX]); in nft_tunnel_obj_erspan_init()
426 info.key.tun_id = key32_to_tunnel_id(nla_get_be32(tb[NFTA_TUNNEL_KEY_ID])); in nft_tunnel_obj_init()
451 tun_flags = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_FLAGS])); in nft_tunnel_obj_init()
A Dnft_limit.c70 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()
A Dnf_conntrack_proto_tcp.c1349 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT]))*HZ; in tcp_timeout_nlattr_to_obj()
1354 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_RECV]))*HZ; in tcp_timeout_nlattr_to_obj()
1358 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_ESTABLISHED]))*HZ; in tcp_timeout_nlattr_to_obj()
1362 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_FIN_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1366 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1370 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_LAST_ACK]))*HZ; in tcp_timeout_nlattr_to_obj()
1374 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_TIME_WAIT]))*HZ; in tcp_timeout_nlattr_to_obj()
1378 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE]))*HZ; in tcp_timeout_nlattr_to_obj()
1382 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_SYN_SENT2]))*HZ; in tcp_timeout_nlattr_to_obj()
1386 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_RETRANS]))*HZ; in tcp_timeout_nlattr_to_obj()
[all …]
A Dnft_fib.c74 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()
A 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()
A Dnft_cmp.c94 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init()
222 priv->inv = ntohl(nla_get_be32(tb[NFTA_CMP_OP])) != NFT_CMP_EQ; in nft_cmp_fast_init()
288 op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_select_ops()
A Dnf_conntrack_netlink.c918 mark->val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_filter_parse_mark()
935 status->val = ntohl(nla_get_be32(cda[CTA_STATUS])); in ctnetlink_filter_parse_status()
1617 __be32 id = nla_get_be32(cda[CTA_ID]); in ctnetlink_del_conntrack()
2017 mask = ~ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_change_mark()
2019 mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_mark()
2079 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_BEFORE])); in change_seq_adj()
2085 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_AFTER])); in change_seq_adj()
3356 __be32 id = nla_get_be32(cda[CTA_EXPECT_ID]); in ctnetlink_get_expect()
3426 __be32 id = nla_get_be32(cda[CTA_EXPECT_ID]); in ctnetlink_del_expect()
3468 ntohl(nla_get_be32(cda[CTA_EXPECT_TIMEOUT])) * HZ; in ctnetlink_change_expect()
[all …]
A Dnft_nat.c178 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()
A Dnft_compat.c214 flags = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_FLAGS])); in nft_parse_compat()
220 *proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat()
655 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get_rcu()
656 target = ntohl(nla_get_be32(tb[NFTA_COMPAT_TYPE])); in nfnl_compat_get_rcu()
751 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops()
830 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops()
A Dnf_conntrack_proto_udp.c235 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
239 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
A Dnft_connlimit.c69 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()
A Dnf_conntrack_proto_generic.c31 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GENERIC_TIMEOUT])) * HZ; in generic_timeout_nlattr_to_obj()
A Dnf_conntrack_proto_gre.c254 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
258 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
A 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()
A Dnft_last.c30 last_set = ntohl(nla_get_be32(tb[NFTA_LAST_SET])); in nft_last_init()
A Dnft_reject.c48 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_init()
A Dnf_tables_api.c325 ntohl(nla_get_be32(ctx->nla[NFTA_CHAIN_ID])); in nft_trans_chain_add()
399 ntohl(nla_get_be32(ctx->nla[NFTA_RULE_ID])); in nft_trans_rule_add()
464 ntohl(nla_get_be32(ctx->nla[NFTA_SET_ID])); in nft_trans_set_add()
2368 u32 id = ntohl(nla_get_be32(nla)); in nft_chain_lookup_byid()
3494 u32 id = ntohl(nla_get_be32(nla)); in nft_rule_lookup_byid()
3621 flags = ntohl(nla_get_be32(nla[NFTA_SET_FLAGS])); in nft_select_set_ops()
3732 u32 id = ntohl(nla_get_be32(nla)); in nft_set_lookup_byid()
5060 *flags = ntohl(nla_get_be32(attr)); in nft_setelem_parse_flags()
7408 ntohl(nla_get_be32(nla[NFTA_FLOWTABLE_FLAGS])); in nf_tables_newflowtable()
9197 val = ntohl(nla_get_be32(attr)); in nft_parse_u32_check()
[all …]
A Dnf_conntrack_proto_sctp.c612 nla_get_be32(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL]); in nlattr_to_sctp()
614 nla_get_be32(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY]); in nlattr_to_sctp()
643 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj()
A Dnft_bitwise.c184 priv->op = ntohl(nla_get_be32(tb[NFTA_BITWISE_OP])); in nft_bitwise_init()
417 ntohl(nla_get_be32(tb[NFTA_BITWISE_OP])) != NFT_BITWISE_BOOL) in nft_bitwise_select_ops()
/linux/net/netfilter/ipset/
A Dip_set_hash_ipmark.c122 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()
/linux/net/bridge/netfilter/
A Dnft_meta_bridge.c76 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_bridge_get_init()

Completed in 51 milliseconds

123