Home
last modified time | relevance | path

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

/external/autotest/client/deps/lansim/src/py/
Dtuntap.py175 net_mask = (1 << 32) - (1 << (32 - mask))
176 str_mask = struct.pack('!I', net_mask)
/external/ppp/pppd/
Dsys-linux.c2366 u_int32_t net_mask) in sifaddr() argument
2409 net_mask = ~0L; in sifaddr()
2410 if (net_mask != 0) { in sifaddr()
2411 SIN_ADDR(ifr.ifr_netmask) = net_mask; in sifaddr()