Lines Matching refs:in_addr
153 struct in_addr *ip) in horrible_match_v4()
202 struct in_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v4()
238 struct in_addr *ip) in horrible_allowedips_lookup_v4()
307 if (wg_allowedips_insert_v4(&t, (struct in_addr *)ip, cidr, in randomized_test()
312 if (horrible_allowedips_insert_v4(&h, (struct in_addr *)ip, in randomized_test()
334 (struct in_addr *)mutated, in randomized_test()
340 (struct in_addr *)mutated, cidr, peer)) { in randomized_test()
402 horrible_allowedips_lookup_v4(&h, (struct in_addr *)ip)) { in randomized_test()
432 static __init inline struct in_addr *ip4(u8 a, u8 b, u8 c, u8 d) in ip4()
434 static struct in_addr ip; in ip4()
628 !memcmp(ip, ip4(192, 95, 5, 64), sizeof(struct in_addr))) in wg_allowedips_selftest()
635 !memcmp(ip, ip4(10, 1, 0, 16), sizeof(struct in_addr))) in wg_allowedips_selftest()