Lines Matching defs:gate
316 in_addr_t gate,
345 nc_ag.ag_gate = gate;
441 ag->ag_gate = gate;
468 * differing gate nexthop/or ifp. Flush
537 ag->ag_gate = gate;
538 gate = xaddr;
650 nag->ag_gate = gate;
796 in_addr_t gate,
814 #define ARGS rtm_type_name(action), rtname(dst, mask, gate), metric, flags
835 w.w_gate.sin_addr.s_addr = gate;
847 ifp = iflookup(gate);
904 kern_find(in_addr_t dst, in_addr_t mask, in_addr_t gate,
911 (gate == 0 || k->k_gate == gate) &&
927 kern_alternate(in_addr_t dst, in_addr_t mask, in_addr_t gate,
934 (k->k_gate != gate) &&
945 kern_add(in_addr_t dst, uint32_t mask, in_addr_t gate, struct interface *ifp)
949 k = kern_find(dst, mask, gate, ifp, &pk);
960 k->k_gate = gate;
1121 in_addr_t mask, gate = 0;
1138 gate = S_ADDR(INFO_GATE(info));
1142 ifp = iflookup(gate);
1144 msglim(&msg_no_ifp, gate,
1147 naddr_ntoa(gate));
1151 k = kern_add(S_ADDR(INFO_DST(info)), mask, gate, ifp);
1573 in_addr_t mask, gate;
1706 gate = S_ADDR(INFO_GATE(&info));
1708 " --> %s", naddr_ntoa(gate));
1710 gate = 0;
1742 gate, ifp, 1);
2177 del_static(in_addr_t dst, in_addr_t mask, in_addr_t gate,
2191 k = kern_find(dst, mask, gate, ifp, NULL);
2192 if (k != NULL && (gate == 0 || k->k_gate == gate)) {
2471 in_addr_t gate = rt->rt_gate; /* for debugging */
2487 rtname(rt->rt_dst, rt->rt_mask, gate), deleted_rt);