Lines Matching refs:s_addr
157 if (tmp_ip.s_addr != 0 && (overwrite_serverip || !net_server_ip.s_addr)) in store_net_params()
207 if (net_netmask.s_addr == 0) in bootp_process_vendor_field()
214 if (net_gateway.s_addr == 0) in bootp_process_vendor_field()
222 if (net_dns_server.s_addr == 0) in bootp_process_vendor_field()
226 if ((net_dns_server2.s_addr == 0) && (size > 4)) in bootp_process_vendor_field()
322 if (net_netmask.s_addr) in bootp_process_vendor()
325 if (net_gateway.s_addr) in bootp_process_vendor()
342 if (net_ntp_server.s_addr) in bootp_process_vendor()
481 if (server_ip.s_addr) { in dhcp_extended()
482 int tmp = ntohl(server_ip.s_addr); in dhcp_extended()
492 if (requested_ip.s_addr) { in dhcp_extended()
493 int tmp = ntohl(requested_ip.s_addr); in dhcp_extended()
777 zero_ip.s_addr = 0; in bootp_request()
812 bcast_ip.s_addr = 0xFFFFFFFFL; in bootp_request()
1001 zero_ip.s_addr = 0; in dhcp_send_request_packet()
1024 bcast_ip.s_addr = 0xFFFFFFFFL; in dhcp_send_request_packet()
1052 if (net_read_ip(&bp->bp_yiaddr).s_addr == 0) in dhcp_handler()