Home
last modified time | relevance | path

Searched refs:sreg_addr (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/netfilter/
Dnft_dup_ipv6.c19 enum nft_registers sreg_addr:8; member
28 struct in6_addr *gw = (struct in6_addr *)&regs->data[priv->sreg_addr]; in nft_dup_ipv6_eval()
44 priv->sreg_addr = nft_parse_register(tb[NFTA_DUP_SREG_ADDR]); in nft_dup_ipv6_init()
45 err = nft_validate_register_load(priv->sreg_addr, sizeof(struct in6_addr)); in nft_dup_ipv6_init()
60 if (nft_dump_register(skb, NFTA_DUP_SREG_ADDR, priv->sreg_addr)) in nft_dup_ipv6_dump()
/net/ipv4/netfilter/
Dnft_dup_ipv4.c19 enum nft_registers sreg_addr:8; member
29 .s_addr = (__force __be32)regs->data[priv->sreg_addr], in nft_dup_ipv4_eval()
46 priv->sreg_addr = nft_parse_register(tb[NFTA_DUP_SREG_ADDR]); in nft_dup_ipv4_init()
47 err = nft_validate_register_load(priv->sreg_addr, sizeof(struct in_addr)); in nft_dup_ipv4_init()
62 if (nft_dump_register(skb, NFTA_DUP_SREG_ADDR, priv->sreg_addr)) in nft_dup_ipv4_dump()