Lines Matching defs:mask
149 naddr gate, mask, v1_mask, dst, ddst_h = 0;
402 /* decide what mask was intended */
404 || 0 == (mask = ntohl(n->n_mask))
405 || 0 != (ntohl(dst) & ~mask))
406 mask = ripv1_mask_host(dst, aifp);
409 rt = rtget(dst, mask);
414 v12buf.n->n_mask = mask;
436 v12buf.n->n_mask = mask;
670 || 0 == (mask = ntohl(n->n_mask))) {
671 mask = ripv1_mask_host(dst,aifp);
672 } else if ((ntohl(dst) & ~mask) != 0) {
677 (u_long)mask,
692 if (tg && (tn = tg->tgate_nets)->mask != 0) {
694 if (on_net(dst, tn->net, tn->mask)
695 && tn->mask <= mask)
698 if (i >= MAX_TGATE_NETS || tn->mask == 0) {
700 addrname(dst,mask,0));
737 && (((rt = rtget(dst,mask)) == NULL
739 && (v1_mask = ripv1_mask_net(dst,0)) > mask) {
741 i = (v1_mask & ~mask)/ddst_h;
749 addrname(dst,mask,0),
754 mask = v1_mask;
769 input_route(dst, mask, &new, n);
785 naddr mask,
809 rt = rtget(dst, mask);
828 rtadd(dst, mask, 0, new);