Searched refs:allowedips (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/wireguard/ |
D | allowedips.h | 29 struct allowedips { struct 35 void wg_allowedips_init(struct allowedips *table); argument 36 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,
|
D | allowedips.c | 252 void wg_allowedips_init(struct allowedips *table) in wg_allowedips_init() 258 void wg_allowedips_free(struct allowedips *table, struct mutex *lock) in wg_allowedips_free() 281 int wg_allowedips_insert_v4(struct allowedips *table, const struct in_addr *ip, in wg_allowedips_insert_v4() 292 int wg_allowedips_insert_v6(struct allowedips *table, const struct in6_addr *ip, in wg_allowedips_insert_v6() 303 void wg_allowedips_remove_by_peer(struct allowedips *table, in wg_allowedips_remove_by_peer() 356 struct wg_peer *wg_allowedips_lookup_dst(struct allowedips *table, in wg_allowedips_lookup_dst() 367 struct wg_peer *wg_allowedips_lookup_src(struct allowedips *table, in wg_allowedips_lookup_src()
|
D | Makefile | 13 wireguard-y += allowedips.o
|
D | device.h | 50 struct allowedips peer_allowedips;
|
/linux-5.19.10/tools/testing/selftests/wireguard/ |
D | netns.sh | 567 allowedips=( ) 569 allowedips+=( abcd::$i ) 573 allowedips="${allowedips[*]}" 577 n0 wg set wg0 peer "$pub2" allowed-ips "$allowedips" 579 read -r pub allowedips 580 [[ $pub == "$pub1" && $allowedips == "(none)" ]] 581 read -r pub allowedips 584 for _ in $allowedips; do
|
/linux-5.19.10/drivers/net/wireguard/selftest/ |
D | allowedips.c | 261 struct allowedips t; in randomized_test() 498 struct allowedips t; in wg_allowedips_selftest()
|