Searched refs:RTF_GATEWAY (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dif_atm.c117 if (rt->rt_flags & RTF_GATEWAY) /* link level requests only */
265 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
H A Dip_flow.c198 if (rt->rt_flags & RTF_GATEWAY)
H A Din_arp.c222 if (rt->rt_flags & RTF_GATEWAY)
395 if ((*route)->rt_flags & RTF_GATEWAY) {
470 if (route->rt_flags & RTF_GATEWAY) {
H A Dip_icmp.c645 (struct sockaddr *)&icmpdst, NULL, RTF_GATEWAY | RTF_HOST,
H A Dip_output.c604 if (ro->ro_rt->rt_flags & RTF_GATEWAY)
1288 if (ro_fwd->ro_rt->rt_flags & RTF_GATEWAY)
H A Dip_input.c2192 if (rt->rt_flags & RTF_GATEWAY)
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Droute.c872 if (rt->rt_flags & RTF_GATEWAY) {
881 flags |= RTF_GATEWAY | RTF_DYNAMIC;
997 if (!(flags & RTF_GATEWAY)) {
1303 if ((flags & RTF_GATEWAY) && !gateway)
1304 panic("rtrequest: RTF_GATEWAY but no gateway");
1580 if (((rt->rt_flags & (RTF_HOST|RTF_GATEWAY|RTF_LLINFO)) ==
1581 (RTF_HOST|RTF_GATEWAY)) && (dst->sa_len == gate->sa_len) &&
1597 if (rt->rt_flags & RTF_GATEWAY) {
1700 if ((rt->rt_flags & RTF_GATEWAY) && rt->rt_gwroute != NULL &&
H A Droute.h179 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
H A Dif_fddisubr.c152 if (rt->rt_flags & RTF_GATEWAY) {
H A Drtsock.c574 if ((rt->rt_flags & RTF_GATEWAY) && !gate)
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6.c938 if ((ifp && ifp->if_type !=IFT_PPP) && ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
1135 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
1178 if ((rt->rt_flags & RTF_GATEWAY))
1740 if ((rt->rt_flags & (RTF_GATEWAY | RTF_LLINFO)) != RTF_LLINFO) {
1992 if (rt->rt_flags & RTF_GATEWAY) {
H A Din6_rmx.c229 if ((rt2->rt_flags & (RTF_CLONING|RTF_HOST|RTF_GATEWAY))
H A Dip6_forward.c444 if (rt->rt_flags & RTF_GATEWAY)
H A Dicmp6.c2398 (struct sockaddr *)&sgw, NULL, RTF_GATEWAY | RTF_HOST,
2517 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) {
2543 if (rt->rt_flags & RTF_GATEWAY) {
2583 if (!(rt_router->rt_flags & RTF_GATEWAY) &&
H A Dnd6_rtr.c517 RTF_GATEWAY, &newrt); local
618 RTF_GATEWAY, &oldrt); local
H A Dip6_input.c676 (RTF_HOST|RTF_GATEWAY)) == RTF_HOST &&
H A Dipsec.c2955 if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) {
3472 if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) {
H A Dip6_output.c657 if (ro->ro_rt->rt_flags & RTF_GATEWAY)
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dnetboot.c579 flags |= RTF_GATEWAY;

Completed in 196 milliseconds