Home
last modified time | relevance | path

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

/systemd-251/src/network/netdev/
Dwireguard.c679 WireguardIPmask *ipmask; in config_parse_wireguard_allowed_ips() local
723 ipmask = new(WireguardIPmask, 1); in config_parse_wireguard_allowed_ips()
724 if (!ipmask) in config_parse_wireguard_allowed_ips()
727 *ipmask = (WireguardIPmask) { in config_parse_wireguard_allowed_ips()
733 LIST_PREPEND(ipmasks, peer->ipmasks, ipmask); in config_parse_wireguard_allowed_ips()
1158 LIST_FOREACH(ipmasks, ipmask, peer->ipmasks) { in wireguard_verify()
1165 route->family = ipmask->family; in wireguard_verify()
1166 route->dst = ipmask->ip; in wireguard_verify()
1167 route->dst_prefixlen = ipmask->cidr; in wireguard_verify()