Searched refs:allowedips (Results 1 – 5 of 5) sorted by relevance
29 struct allowedips { struct35 void wg_allowedips_init(struct allowedips *table); argument36 void wg_allowedips_free(struct allowedips *table, struct mutex *mutex);37 int wg_allowedips_insert_v4(struct allowedips *table, const struct in_addr *ip,39 int wg_allowedips_insert_v6(struct allowedips *table, const struct in6_addr *ip,41 void wg_allowedips_remove_by_peer(struct allowedips *table,47 struct wg_peer *wg_allowedips_lookup_dst(struct allowedips *table,49 struct wg_peer *wg_allowedips_lookup_src(struct allowedips *table,
13 wireguard-y += allowedips.o
50 struct allowedips peer_allowedips;
589 allowedips=( )591 allowedips+=( abcd::$i )595 allowedips="${allowedips[*]}"599 n0 wg set wg0 peer "$pub2" allowed-ips "$allowedips"601 read -r pub allowedips602 [[ $pub == "$pub1" && $allowedips == "(none)" ]]603 read -r pub allowedips606 for _ in $allowedips; do
261 struct allowedips t; in randomized_test()498 struct allowedips t; in wg_allowedips_selftest()