Lines Matching refs:s_addr
476 net_ip.s_addr = 0; in net_loop()
483 net_ip.s_addr = 0; in net_loop()
490 net_ip.s_addr = 0; in net_loop()
583 net_arp_wait_packet_ip.s_addr = 0; in net_loop()
815 if (dest.s_addr == 0) in net_send_udp_packet()
816 dest.s_addr = 0xFFFFFFFF; in net_send_udp_packet()
819 if (dest.s_addr == 0xFFFFFFFF) in net_send_udp_packet()
1193 if (net_ip.s_addr && dst_ip.s_addr != net_ip.s_addr && in net_process_received_packet()
1194 dst_ip.s_addr != 0xFFFFFFFF) { in net_process_received_packet()
1250 xsum += (ntohl(ip->ip_src.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1251 xsum += (ntohl(ip->ip_src.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1252 xsum += (ntohl(ip->ip_dst.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1253 xsum += (ntohl(ip->ip_dst.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1316 if (net_ping_ip.s_addr == 0) { in net_check_prereq()
1324 if (net_ntp_server.s_addr == 0) { in net_check_prereq()
1332 if (net_dns_server.s_addr == 0) { in net_check_prereq()
1344 if (net_server_ip.s_addr == 0) { in net_check_prereq()
1357 if (net_ip.s_addr == 0) { in net_check_prereq()
1531 x.s_addr = ntohl(x.s_addr); in ip_to_string()
1533 (int) ((x.s_addr >> 24) & 0xff), in ip_to_string()
1534 (int) ((x.s_addr >> 16) & 0xff), in ip_to_string()
1535 (int) ((x.s_addr >> 8) & 0xff), in ip_to_string()
1536 (int) ((x.s_addr >> 0) & 0xff) in ip_to_string()