Lines Matching refs:ic_myaddr
132 __be32 ic_myaddr = NONE; /* My IP address */ variable
375 set_sockaddr(sin, ic_myaddr, 0); in ic_setup_if()
387 set_sockaddr(sin, ic_myaddr | ~ic_netmask, 0); in ic_setup_if()
416 if ((ic_gateway ^ ic_myaddr) & ic_netmask) { in ic_setup_routes()
446 sprintf(init_utsname()->nodename, "%pI4", &ic_myaddr); in ic_defaults()
452 if (IN_CLASSA(ntohl(ic_myaddr))) in ic_defaults()
454 else if (IN_CLASSB(ntohl(ic_myaddr))) in ic_defaults()
456 else if (IN_CLASSC(ntohl(ic_myaddr))) in ic_defaults()
458 else if (IN_CLASSE(ntohl(ic_myaddr))) in ic_defaults()
462 &ic_myaddr); in ic_defaults()
573 if (ic_myaddr == NONE) in ic_rarp_recv()
574 ic_myaddr = tip; in ic_rarp_recv()
704 memcpy(e, &ic_myaddr, 4); in ic_dhcp_init_options()
1111 if (ic_myaddr != NONE) in ic_bootp_recv()
1115 ic_myaddr = b->your_ip; in ic_bootp_recv()
1118 &ic_myaddr, &b->iph.saddr); in ic_bootp_recv()
1137 ic_myaddr = NONE; in ic_bootp_recv()
1160 ic_myaddr = b->your_ip; in ic_bootp_recv()
1314 ic_myaddr = NONE; in ic_dynamic()
1321 &ic_addrservaddr, &ic_myaddr); in ic_dynamic()
1527 if (ic_myaddr == NONE || in ip_auto_config()
1609 &ic_myaddr, &ic_netmask, &ic_gateway); in ip_auto_config()
1756 if ((ic_myaddr = in_aton(ip)) == ANY) in ip_auto_config_setup()
1757 ic_myaddr = NONE; in ip_auto_config_setup()
1786 ic_myaddr == NONE) { in ip_auto_config_setup()