Searched refs:WGALLOWEDIP_A_IPADDR (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/wireguard/ |
D | netlink.c | 48 [WGALLOWEDIP_A_IPADDR] = NLA_POLICY_MIN_LEN(sizeof(struct in_addr)), 86 nla_put(skb, WGALLOWEDIP_A_IPADDR, family == AF_INET6 ? in get_allowedips() 335 if (!attrs[WGALLOWEDIP_A_FAMILY] || !attrs[WGALLOWEDIP_A_IPADDR] || in set_allowedip() 342 nla_len(attrs[WGALLOWEDIP_A_IPADDR]) == sizeof(struct in_addr)) in set_allowedip() 345 nla_data(attrs[WGALLOWEDIP_A_IPADDR]), cidr, peer, in set_allowedip() 348 nla_len(attrs[WGALLOWEDIP_A_IPADDR]) == sizeof(struct in6_addr)) in set_allowedip() 351 nla_data(attrs[WGALLOWEDIP_A_IPADDR]), cidr, peer, in set_allowedip()
|
/linux-6.12.1/include/uapi/linux/ |
D | wireguard.h | 190 WGALLOWEDIP_A_IPADDR, enumerator
|