Searched refs:wg_aip_lookup (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/wg/ |
H A D | if_wg.c | 316 static struct wg_peer *wg_aip_lookup(struct wg_softc *, sa_family_t, void *); 579 wg_aip_lookup(struct wg_softc *sc, sa_family_t af, void *a) in wg_aip_lookup() function 1559 allowed_peer = wg_aip_lookup(sc, AF_INET, &ip->ip_src); in wg_decrypt() 1565 allowed_peer = wg_aip_lookup(sc, AF_INET6, &ip6->ip6_src); in wg_decrypt() 2136 peer = wg_aip_lookup(sc, AF_INET, &mtod(m, struct ip *)->ip_dst); in wg_xmit() 2138 peer = wg_aip_lookup(sc, AF_INET6, &mtod(m, struct ip6_hdr *)->ip6_dst); in wg_xmit()
|