/net/netfilter/ |
D | nf_tables_core.c | 66 struct nft_regs *regs) in nft_cmp_fast_eval() argument 71 if ((regs->data[priv->sreg] & mask) == priv->data) in nft_cmp_fast_eval() 73 regs->verdict.code = NFT_BREAK; in nft_cmp_fast_eval() 77 struct nft_regs *regs, in nft_payload_fast_eval() argument 82 u32 *dest = ®s->data[priv->dreg]; in nft_payload_fast_eval() 118 struct nft_regs regs; in nft_do_chain() local 129 regs.verdict.code = NFT_CONTINUE; in nft_do_chain() 140 nft_cmp_fast_eval(expr, ®s); in nft_do_chain() 142 !nft_payload_fast_eval(expr, ®s, pkt)) in nft_do_chain() 143 expr->ops->eval(expr, ®s, pkt); in nft_do_chain() [all …]
|
D | nft_nat.c | 40 struct nft_regs *regs, in nft_nat_eval() argument 52 regs->data[priv->sreg_addr_min]; in nft_nat_eval() 54 regs->data[priv->sreg_addr_max]; in nft_nat_eval() 58 ®s->data[priv->sreg_addr_min], in nft_nat_eval() 61 ®s->data[priv->sreg_addr_max], in nft_nat_eval() 69 *(__be16 *)®s->data[priv->sreg_proto_min]; in nft_nat_eval() 71 *(__be16 *)®s->data[priv->sreg_proto_max]; in nft_nat_eval() 77 regs->verdict.code = nf_nat_setup_info(ct, &range, priv->type); in nft_nat_eval()
|
D | nft_dynset.c | 31 struct nft_regs *regs) in nft_dynset_new() argument 43 ®s->data[priv->sreg_key], in nft_dynset_new() 44 ®s->data[priv->sreg_data], in nft_dynset_new() 61 struct nft_regs *regs, in nft_dynset_eval() argument 70 if (set->ops->update(set, ®s->data[priv->sreg_key], nft_dynset_new, in nft_dynset_eval() 71 expr, regs, &ext)) { in nft_dynset_eval() 84 sexpr->ops->eval(sexpr, regs, pkt); in nft_dynset_eval() 88 regs->verdict.code = NFT_BREAK; in nft_dynset_eval()
|
D | nft_compat.c | 58 struct nft_regs *regs, in nft_target_eval_xt() argument 75 regs->verdict.code = NFT_CONTINUE; in nft_target_eval_xt() 78 regs->verdict.code = ret; in nft_target_eval_xt() 84 struct nft_regs *regs, in nft_target_eval_bridge() argument 101 regs->verdict.code = NF_ACCEPT; in nft_target_eval_bridge() 104 regs->verdict.code = NF_DROP; in nft_target_eval_bridge() 107 regs->verdict.code = NFT_CONTINUE; in nft_target_eval_bridge() 110 regs->verdict.code = NFT_RETURN; in nft_target_eval_bridge() 113 regs->verdict.code = ret; in nft_target_eval_bridge() 308 struct nft_regs *regs, in nft_match_eval() argument [all …]
|
D | nft_lookup.c | 29 struct nft_regs *regs, in nft_lookup_eval() argument 36 if (set->ops->lookup(set, ®s->data[priv->sreg], &ext)) { in nft_lookup_eval() 38 nft_data_copy(®s->data[priv->dreg], in nft_lookup_eval() 42 regs->verdict.code = NFT_BREAK; in nft_lookup_eval()
|
D | nft_exthdr.c | 29 struct nft_regs *regs, in nft_exthdr_eval() argument 33 u32 *dest = ®s->data[priv->dreg]; in nft_exthdr_eval() 50 regs->verdict.code = NFT_BREAK; in nft_exthdr_eval()
|
D | nft_meta.c | 28 struct nft_regs *regs, in nft_meta_get_eval() argument 35 u32 *dest = ®s->data[priv->dreg]; in nft_meta_get_eval() 213 regs->verdict.code = NFT_BREAK; in nft_meta_get_eval() 218 struct nft_regs *regs, in nft_meta_set_eval() argument 223 u32 value = regs->data[meta->sreg]; in nft_meta_set_eval()
|
D | nft_limit.c | 109 struct nft_regs *regs, in nft_limit_pkts_eval() argument 115 regs->verdict.code = NFT_BREAK; in nft_limit_pkts_eval() 157 struct nft_regs *regs, in nft_limit_pkt_bytes_eval() argument 164 regs->verdict.code = NFT_BREAK; in nft_limit_pkt_bytes_eval()
|
D | nft_ct.c | 34 struct nft_regs *regs, in nft_ct_get_eval() argument 38 u32 *dest = ®s->data[priv->dreg]; in nft_ct_get_eval() 149 regs->verdict.code = NFT_BREAK; in nft_ct_get_eval() 153 struct nft_regs *regs, in nft_ct_set_eval() argument 159 u32 value = regs->data[priv->sreg]; in nft_ct_set_eval()
|
D | nft_bitwise.c | 29 struct nft_regs *regs, in nft_bitwise_eval() argument 33 const u32 *src = ®s->data[priv->sreg]; in nft_bitwise_eval() 34 u32 *dst = ®s->data[priv->dreg]; in nft_bitwise_eval()
|
D | nft_byteorder.c | 29 struct nft_regs *regs, in nft_byteorder_eval() argument 33 u32 *src = ®s->data[priv->sreg]; in nft_byteorder_eval() 34 u32 *dst = ®s->data[priv->dreg]; in nft_byteorder_eval()
|
D | nft_cmp.c | 28 struct nft_regs *regs, in nft_cmp_eval() argument 34 d = memcmp(®s->data[priv->sreg], &priv->data, priv->len); in nft_cmp_eval() 62 regs->verdict.code = NFT_BREAK; in nft_cmp_eval()
|
D | nft_payload.c | 69 struct nft_regs *regs, in nft_payload_eval() argument 74 u32 *dest = ®s->data[priv->dreg]; in nft_payload_eval() 108 regs->verdict.code = NFT_BREAK; in nft_payload_eval()
|
D | nft_immediate.c | 27 struct nft_regs *regs, in nft_immediate_eval() argument 32 nft_data_copy(®s->data[priv->dreg], &priv->data, priv->dlen); in nft_immediate_eval()
|
D | nft_queue.c | 31 struct nft_regs *regs, in nft_queue_eval() argument 54 regs->verdict.code = ret; in nft_queue_eval()
|
/net/ipv6/netfilter/ |
D | nft_redir_ipv6.c | 21 struct nft_regs *regs, in nft_redir_ipv6_eval() argument 30 *(__be16 *)®s->data[priv->sreg_proto_min], in nft_redir_ipv6_eval() 32 *(__be16 *)®s->data[priv->sreg_proto_max], in nft_redir_ipv6_eval() 38 regs->verdict.code = nf_nat_redirect_ipv6(pkt->skb, &range, pkt->hook); in nft_redir_ipv6_eval()
|
D | nft_dup_ipv6.c | 24 struct nft_regs *regs, in nft_dup_ipv6_eval() argument 28 struct in6_addr *gw = (struct in6_addr *)®s->data[priv->sreg_addr]; in nft_dup_ipv6_eval() 29 int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1; in nft_dup_ipv6_eval()
|
D | nft_reject_ipv6.c | 23 struct nft_regs *regs, in nft_reject_ipv6_eval() argument 40 regs->verdict.code = NF_DROP; in nft_reject_ipv6_eval()
|
D | nft_masq_ipv6.c | 21 struct nft_regs *regs, in nft_masq_ipv6_eval() argument 30 regs->verdict.code = nf_nat_masquerade_ipv6(pkt->skb, &range, pkt->out); in nft_masq_ipv6_eval()
|
/net/ipv4/netfilter/ |
D | nft_redir_ipv4.c | 21 struct nft_regs *regs, in nft_redir_ipv4_eval() argument 30 *(__be16 *)®s->data[priv->sreg_proto_min]; in nft_redir_ipv4_eval() 32 *(__be16 *)®s->data[priv->sreg_proto_max]; in nft_redir_ipv4_eval() 38 regs->verdict.code = nf_nat_redirect_ipv4(pkt->skb, &mr, in nft_redir_ipv4_eval()
|
D | nft_dup_ipv4.c | 24 struct nft_regs *regs, in nft_dup_ipv4_eval() argument 29 .s_addr = (__force __be32)regs->data[priv->sreg_addr], in nft_dup_ipv4_eval() 31 int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1; in nft_dup_ipv4_eval()
|
D | nft_reject_ipv4.c | 23 struct nft_regs *regs, in nft_reject_ipv4_eval() argument 39 regs->verdict.code = NF_DROP; in nft_reject_ipv4_eval()
|
D | nft_masq_ipv4.c | 20 struct nft_regs *regs, in nft_masq_ipv4_eval() argument 29 regs->verdict.code = nf_nat_masquerade_ipv4(pkt->skb, pkt->hook, in nft_masq_ipv4_eval()
|
/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 22 struct nft_regs *regs, in nft_meta_bridge_get_eval() argument 27 u32 *dest = ®s->data[priv->dreg]; in nft_meta_bridge_get_eval() 46 return nft_meta_get_eval(expr, regs, pkt); in nft_meta_bridge_get_eval() 48 regs->verdict.code = NFT_BREAK; in nft_meta_bridge_get_eval()
|
/net/mac80211/ |
D | ethtool.c | 223 struct ethtool_regs *regs, in ieee80211_get_regs() argument 228 regs->version = wdev->wiphy->hw_version; in ieee80211_get_regs() 229 regs->len = 0; in ieee80211_get_regs()
|