Lines Matching refs:netmask
473 * Gets localnet & netmask from Watt-32.
476 bpf_u_int32 *netmask, char *errbuf)
485 *netmask = _w32_sin_mask;
486 *localnet = my_ip_addr & *netmask;
489 if (IN_CLASSA(*netmask))
491 else if (IN_CLASSB(*netmask))
493 else if (IN_CLASSC(*netmask))
497 sprintf (errbuf, "inet class for 0x%lx unknown", *netmask);
515 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr;
537 netmask = (struct sockaddr*) &sa_ll_1;
549 netmask, addr_size, broadaddr, addr_size,
948 printf ("Just guessing, using IP %s and netmask %s\n", myip, mask);