Lines Matching refs:in_addr
62 (void)memset(&entry->ip, 0, sizeof(struct in_addr)); in arp_entry_cleanup()
68 struct in_addr *dst, in arp_entry_find()
92 struct in_addr *dst) in arp_entry_find_move_first()
117 struct in_addr *dst) in arp_entry_find_pending()
125 struct in_addr *dst) in arp_entry_get_pending()
227 static inline struct in_addr *if_get_addr(struct net_if *iface, in if_get_addr()
228 struct in_addr *addr) in if_get_addr()
242 &ipv4->unicast[i].ipv4.address.in_addr))) { in if_get_addr()
243 return &ipv4->unicast[i].ipv4.address.in_addr; in if_get_addr()
251 struct in_addr *next_addr, in arp_prepare()
254 struct in_addr *current_ip) in arp_prepare()
257 struct in_addr *my_addr; in arp_prepare()
319 hdr->protolen = sizeof(struct in_addr); in arp_prepare()
332 my_addr = (struct in_addr *)NET_IPV4_HDR(pending)->src; in arp_prepare()
340 (void)memset(&hdr->src_ipaddr, 0, sizeof(struct in_addr)); in arp_prepare()
348 struct in_addr *request_ip, in net_arp_prepare()
349 struct in_addr *current_ip) in net_arp_prepare()
353 struct in_addr *addr; in net_arp_prepare()
365 is_ipv4_ll_used = net_ipv4_is_ll_addr((struct in_addr *) in net_arp_prepare()
367 net_ipv4_is_ll_addr((struct in_addr *) in net_arp_prepare()
468 struct in_addr *src, in arp_gratuitous()
488 struct in_addr *ipaddr) in arp_gratuitous_send()
507 hdr->protolen = sizeof(struct in_addr); in arp_gratuitous_send()
545 &ipv4->unicast[i].ipv4.address.in_addr); in notify_all_ipv4_addr()
570 struct in_addr *ipaddr; in ipv4_event_handler()
585 if (cb->info_length != sizeof(struct in_addr)) { in ipv4_event_handler()
589 ipaddr = (struct in_addr *)cb->info; in ipv4_event_handler()
622 struct in_addr *src, in net_arp_update()
737 hdr->protolen = sizeof(struct in_addr); in arp_prepare_reply()
763 net_ipv4_is_addr_loopback((struct in_addr *)arp_hdr->src_ipaddr)) { in arp_hdr_check()
777 struct in_addr *addr; in net_arp_input()
813 (struct in_addr *)arp_hdr->src_ipaddr, in net_arp_input()
825 net_ipv4_is_addr_mcast((struct in_addr *)arp_hdr->src_ipaddr)) { in net_arp_input()
832 (struct in_addr *)arp_hdr->dst_ipaddr); in net_arp_input()
856 (struct in_addr *)arp_hdr->src_ipaddr, in net_arp_input()
876 if (net_ipv4_is_my_addr((struct in_addr *)arp_hdr->dst_ipaddr)) { in net_arp_input()
882 (struct in_addr *)arp_hdr->src_ipaddr, in net_arp_input()
940 int net_arp_clear_pending(struct net_if *iface, struct in_addr *dst) in net_arp_clear_pending()