Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv6/netfilter/
Dip6t_ah.c40 const struct ip6t_ah *ahinfo = par->matchinfo; in ah_mt6() local
65 spi_match(ahinfo->spis[0], ahinfo->spis[1], in ah_mt6()
67 !!(ahinfo->invflags & IP6T_AH_INV_SPI))); in ah_mt6()
69 ahinfo->hdrlen, hdrlen, in ah_mt6()
70 (!ahinfo->hdrlen || in ah_mt6()
71 (ahinfo->hdrlen == hdrlen) ^ in ah_mt6()
72 !!(ahinfo->invflags & IP6T_AH_INV_LEN))); in ah_mt6()
74 ahinfo->hdrres, ah->reserved, in ah_mt6()
75 !(ahinfo->hdrres && ah->reserved)); in ah_mt6()
77 return spi_match(ahinfo->spis[0], ahinfo->spis[1], in ah_mt6()
[all …]
/linux-6.12.1/net/ipv4/netfilter/
Dipt_ah.c34 const struct ipt_ah *ahinfo = par->matchinfo; in ah_mt() local
50 return spi_match(ahinfo->spis[0], ahinfo->spis[1], in ah_mt()
52 !!(ahinfo->invflags & IPT_AH_INV_SPI)); in ah_mt()
57 const struct ipt_ah *ahinfo = par->matchinfo; in ah_mt_check() local
60 if (ahinfo->invflags & ~IPT_AH_INV_MASK) { in ah_mt_check()
61 pr_debug("unknown flags %X\n", ahinfo->invflags); in ah_mt_check()