Lines Matching refs:in_addr
152 static inline struct in_addr *if_get_addr(struct net_if *iface) in if_get_addr()
163 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr; in if_get_addr()
205 hdr->protolen = sizeof(struct in_addr); in prepare_arp_reply()
257 hdr->protolen = sizeof(struct in_addr); in prepare_arp_request()
311 struct in_addr *addr = user_data; in arp_cb()
313 if (memcmp(&entry->ip, addr, sizeof(struct in_addr)) == 0 && in arp_cb()
338 struct in_addr dst = { { { 192, 168, 0, 2 } } }; in ZTEST()
339 struct in_addr dst_far = { { { 10, 11, 12, 13 } } }; in ZTEST()
340 struct in_addr dst_far2 = { { { 172, 16, 14, 186 } } }; in ZTEST()
341 struct in_addr src = { { { 192, 168, 0, 1 } } }; in ZTEST()
342 struct in_addr netmask = { { { 255, 255, 255, 0 } } }; in ZTEST()
343 struct in_addr gw = { { { 192, 168, 0, 42 } } }; in ZTEST()
422 if (arp_hdr->protolen != sizeof(struct in_addr)) { in ZTEST()
424 arp_hdr->protolen, sizeof(struct in_addr)); in ZTEST()
627 arp_hdr->protolen = sizeof(struct in_addr); in ZTEST()