Lines Matching refs:net
278 u_int32_t net;
292 if ((addr & netlist[i].mask) == netlist[i].net)
301 register u_int32_t net, mask;
308 net = 0;
316 net |= o << shift;
358 *errstrp = "garbage after net";
371 if ((net & ~ mask) != 0) {
373 (void)sprintf(errstr, "host bits set in net \"%s\"",
374 intoa(net));
397 netlist[netlistcnt].net = net;
1036 u_int32_t net, mask;
1054 net = 0;
1058 !parseinaddr(domain, &net, &mask)) {
1176 net = 0;
1180 !parseinaddr(domain, &net, &mask)) {
1349 addr = parseptr(name, net, mask, &errstr);
2052 register u_int32_t o, net, mask;
2056 net = 0;
2063 net = o << 24;
2083 net = (net >> 8) | (o << 24);
2091 net = (net >> 8) | (o << 24);
2099 net = (net >> 8) | (o << 24);
2113 *netp = net;
2119 parseptr(register const char *cp, u_int32_t net, u_int32_t mask,
2158 if ((~mask & net) != 0) {
2159 *errstrp = "too many octets for net";
2163 return (net | addr);
2316 strcasecmp(cp, "net") == 0 ||