Lines Matching refs:s_addr
160 if (tmp_ip.s_addr != 0 && (overwrite_serverip || !net_server_ip.s_addr)) in store_bootp_params()
220 if (net_netmask.s_addr == 0) in bootp_process_vendor_field()
227 if (net_gateway.s_addr == 0) in bootp_process_vendor_field()
235 if (net_dns_server.s_addr == 0) in bootp_process_vendor_field()
239 if ((net_dns_server2.s_addr == 0) && (size > 4)) in bootp_process_vendor_field()
335 if (net_netmask.s_addr) in bootp_process_vendor()
338 if (net_gateway.s_addr) in bootp_process_vendor()
355 if (net_ntp_server.s_addr) in bootp_process_vendor()
494 if (server_ip.s_addr) { in dhcp_extended()
495 int tmp = ntohl(server_ip.s_addr); in dhcp_extended()
505 if (requested_ip.s_addr) { in dhcp_extended()
506 int tmp = ntohl(requested_ip.s_addr); in dhcp_extended()
790 zero_ip.s_addr = 0; in bootp_request()
825 bcast_ip.s_addr = 0xFFFFFFFFL; in bootp_request()
1014 zero_ip.s_addr = 0; in dhcp_send_request_packet()
1037 bcast_ip.s_addr = 0xFFFFFFFFL; in dhcp_send_request_packet()
1065 if (net_read_ip(&bp->bp_yiaddr).s_addr == 0) { in dhcp_handler()
1090 if (!net_server_ip.s_addr) in dhcp_handler()