Searched refs:net_read_ip (Results 1 – 8 of 8) sorted by relevance
158 if (net_read_ip(&arp->ar_tpa).s_addr != net_ip.s_addr) in arp_receive()181 if ((net_read_ip(&arp->ar_tpa).s_addr & net_netmask.s_addr) != in arp_receive()182 (net_read_ip(&arp->ar_spa).s_addr & net_netmask.s_addr)) in arp_receive()203 reply_ip_addr = net_read_ip(&arp->ar_spa); in arp_receive()
86 src_ip = net_read_ip((void *)&ip->ip_src); in ping_receive()
1224 dst_ip = net_read_ip(&ip->ip_dst); in net_process_received_packet()1230 src_ip = net_read_ip(&ip->ip_src); in net_process_received_packet()
1053 if (net_read_ip(&bp->bp_yiaddr).s_addr == 0) in dhcp_handler()
293 ut_assert(net_read_ip(&arp->ar_spa).s_addr == net_ip.s_addr); in sb_check_arp_reply()295 ut_assert(net_read_ip(&arp->ar_tpa).s_addr == in sb_check_arp_reply()379 ut_assert(net_read_ip(&ip->ip_src).s_addr == net_ip.s_addr); in sb_check_ping_reply()380 ut_assert(net_read_ip(&ip->ip_dst).s_addr == in sb_check_ping_reply()
55 arp_ip = net_read_ip(&arp->ar_tpa); in sb_eth_raw_send()
79 priv->fake_host_ipaddr = net_read_ip(&arp->ar_tpa); in sandbox_eth_arp_req_to_reply()
726 static inline struct in_addr net_read_ip(void *from) in net_read_ip() function