Searched refs:net_mask (Results 1 – 2 of 2) sorted by relevance
175 net_mask = (1 << 32) - (1 << (32 - mask))176 str_mask = struct.pack('!I', net_mask)
2366 u_int32_t net_mask) in sifaddr() argument2409 net_mask = ~0L; in sifaddr()2410 if (net_mask != 0) { in sifaddr()2411 SIN_ADDR(ifr.ifr_netmask) = net_mask; in sifaddr()