Lines Matching refs:s_addr
406 net_ping_ip.s_addr = 0; in net_loop()
477 net_ip.s_addr = 0; in net_loop()
484 net_ip.s_addr = 0; in net_loop()
491 net_ip.s_addr = 0; in net_loop()
579 net_arp_wait_packet_ip.s_addr = 0; in net_loop()
833 if (dest.s_addr == 0) in net_send_ip_packet()
834 dest.s_addr = 0xFFFFFFFF; in net_send_ip_packet()
837 if (dest.s_addr == 0xFFFFFFFF) in net_send_ip_packet()
1218 if (net_ip.s_addr && dst_ip.s_addr != net_ip.s_addr && in net_process_received_packet()
1219 dst_ip.s_addr != 0xFFFFFFFF) { in net_process_received_packet()
1275 xsum += (ntohl(ip->ip_src.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1276 xsum += (ntohl(ip->ip_src.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1277 xsum += (ntohl(ip->ip_dst.s_addr) >> 16) & 0x0000ffff; in net_process_received_packet()
1278 xsum += (ntohl(ip->ip_dst.s_addr) >> 0) & 0x0000ffff; in net_process_received_packet()
1335 if (net_ping_ip.s_addr == 0) { in net_check_prereq()
1343 if (net_dns_server.s_addr == 0) { in net_check_prereq()
1362 if (net_server_ip.s_addr == 0 && !is_serverip_in_cmd()) { in net_check_prereq()
1375 if (net_ip.s_addr == 0) { in net_check_prereq()
1562 x.s_addr = ntohl(x.s_addr); in ip_to_string()
1564 (int) ((x.s_addr >> 24) & 0xff), in ip_to_string()
1565 (int) ((x.s_addr >> 16) & 0xff), in ip_to_string()
1566 (int) ((x.s_addr >> 8) & 0xff), in ip_to_string()
1567 (int) ((x.s_addr >> 0) & 0xff) in ip_to_string()