Home
last modified time | relevance | path

Searched refs:on_net (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c470 on_net(ag->ag_nhop, ws.ifp->int_net, in supply_out()
544 if (on_net(ws.to.sin_addr.s_addr, in walk_supply()
561 if (on_net(ws.to.sin_addr.s_addr, in walk_supply()
610 on_net(dst, ws.to_net, ws.to_mask)) in walk_supply()
628 !on_net(dst, ws.to_std_net, ws.to_std_mask)) in walk_supply()
762 if (on_net(ws.to.sin_addr.s_addr, ws.to_net, ws.to_mask) || in supply()
H A Dif.c522 if (on_net(addr, ifp->int_net, ifp->int_mask) && in addr_on_ifp()
589 if (on_net(addr, ifp->int_net, ifp->int_std_mask)) in ripv1_mask_net()
601 if (on_net(addr, ifp->int_std_net, ifp->int_std_mask) && in ripv1_mask_net()
620 if (on_net(addr, r1p->r1net_net, r1p->r1net_match) && in ripv1_mask_net()
723 on_net(ifp->int_dstaddr, dstaddr_h, mask)) { in check_dup()
757 on_net(ifp->int_addr, rt->rt_ifp->int_net, rt->rt_ifp->int_mask)) { in check_remote()
1004 } else if (on_net(addr, ifp->int_net, ifp->int_mask)) { in remote_address_ok()
1574 if (on_net(ifp->int_addr, in ifscan()
1576 on_net(ifp1->int_addr, in ifscan()
H A Dinput.c89 on_net(from->sin_addr.s_addr, ifp1->int_net, in receiving_interface()
475 on_net(rt->rt_gate, ifp->int_net, in input()
803 if (on_net(n->n_nhop, in input()
859 if (on_net(dst, tn->net, tn->mask) && in input()
1037 on_net(rt->rt_gate, ifp->int_net, ifp->int_mask) && in input()
H A Dparms.c70 on_net(ifp->int_addr, in get_parms()
931 if (!on_net(htonl(parmp->parm_net), new->parm_net, in insert_parm()
933 !on_net(htonl(new->parm_net), parmp->parm_net, in insert_parm()
H A Ddefs.h771 #define on_net(a, net, mask) (((ntohl(a) ^ (net)) & (mask)) == 0) macro
H A Drdisc.c899 if (!on_net(gate, ifp->int_net, ifp->int_mask)) { in parse_ad()