Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Dipconfig.c134 static __be32 ic_netmask = NONE; /* Netmask for local subnet */ variable
357 set_sockaddr(sin, ic_netmask, 0); in ic_setup_if()
363 set_sockaddr(sin, ic_myaddr | ~ic_netmask, 0); in ic_setup_if()
392 if ((ic_gateway ^ ic_myaddr) & ic_netmask) { in ic_setup_routes()
427 if (ic_netmask == NONE) { in ic_defaults()
429 ic_netmask = htonl(IN_CLASSA_NET); in ic_defaults()
431 ic_netmask = htonl(IN_CLASSB_NET); in ic_defaults()
433 ic_netmask = htonl(IN_CLASSC_NET); in ic_defaults()
435 ic_netmask = htonl(IN_CLASSE_NET); in ic_defaults()
442 &ic_netmask); in ic_defaults()
[all …]