Searched refs:sreg_addr (Results 1 – 2 of 2) sorted by relevance
19 enum nft_registers sreg_addr:8; member28 struct in6_addr *gw = (struct in6_addr *)®s->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()
19 enum nft_registers sreg_addr:8; member29 .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()