Home
last modified time | relevance | path

Searched refs:ic_netmask (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/ipv4/
Dipconfig.c133 static __be32 ic_netmask = NONE; /* Netmask for local subnet */ variable
381 set_sockaddr(sin, ic_netmask, 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()
451 if (ic_netmask == NONE) { in ic_defaults()
453 ic_netmask = htonl(IN_CLASSA_NET); in ic_defaults()
455 ic_netmask = htonl(IN_CLASSB_NET); in ic_defaults()
457 ic_netmask = htonl(IN_CLASSC_NET); in ic_defaults()
459 ic_netmask = htonl(IN_CLASSE_NET); in ic_defaults()
466 &ic_netmask); in ic_defaults()
[all …]