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

/xnu-2782.1.97/tools/lldbmacros/
H A Droutedefines.py2 RTF_GATEWAY = 0x2 variable
H A Dnet.py644 if (rt.rt_flags & RTF_GATEWAY):
/xnu-2782.1.97/bsd/net/
H A Droute.c146 * be done without rt_lock: RTF_GATEWAY, RTF_HOST, RTF_DYNAMIC,
1390 if (rt->rt_flags & RTF_GATEWAY) {
1401 flags |= RTF_GATEWAY | RTF_DYNAMIC;
1532 if (!(flags & RTF_GATEWAY)) {
1960 if ((flags & RTF_GATEWAY) && !gateway) {
1961 panic("rtrequest: RTF_GATEWAY but no gateway");
2160 if ((rt->rt_flags & RTF_GATEWAY) && rt->rt_gwroute != NULL)
2373 if (rt->rt_flags & RTF_GATEWAY) {
2392 if (((rt->rt_flags & (RTF_HOST|RTF_GATEWAY|RTF_LLINFO)) ==
2393 RTF_GATEWAY)
[all...]
H A Droute.h227 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
H A Dif_utun_crypto_ipsec.c788 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
877 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
H A Dif_llreach.c456 if ((rt->rt_flags & RTF_GATEWAY) &&
H A Drtsock.c603 if ((rt->rt_flags & RTF_GATEWAY) &&
H A Dpf.c7746 if (ro->ro_rt->rt_flags & RTF_GATEWAY)
/xnu-2782.1.97/bsd/netinet6/
H A Dscope6.c259 VERIFY(rt->rt_flags & RTF_GATEWAY);
H A Dip6_forward.c579 if (rt->rt_flags & RTF_GATEWAY)
H A Dicmp6.c2539 (struct sockaddr *)&sgw, NULL, RTF_GATEWAY | RTF_HOST,
2665 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) {
2691 if (rt->rt_flags & RTF_GATEWAY) {
2739 if (!(rt_router->rt_flags & RTF_GATEWAY) &&
H A Din6_rmx.c292 RTF_GATEWAY)) == RTF_CLONING &&
H A Dnd6.c1769 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
2039 if (rt->rt_flags & RTF_GATEWAY)
2966 if ((rt->rt_flags & (RTF_GATEWAY | RTF_LLINFO)) != RTF_LLINFO) {
3256 if (rt->rt_flags & RTF_GATEWAY) {
H A Dip6_input.c868 (rin6.ro_rt->rt_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST &&
H A Dipsec.c3113 if (ro4->ro_rt->rt_flags & RTF_GATEWAY)
3752 if (ro6->ro_rt->rt_flags & RTF_GATEWAY)
H A Dnd6_rtr.c783 RTF_GATEWAY, &newrt, ifscope);
878 (struct sockaddr *)&mask, RTF_GATEWAY, &oldrt, ifscope);
H A Dip6_output.c1161 } else if ((rt->rt_flags & RTF_GATEWAY)) {
/xnu-2782.1.97/bsd/kern/
H A Dnetboot.c573 flags |= RTF_GATEWAY;
/xnu-2782.1.97/bsd/netinet/
H A Dip_output.c822 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
1668 if (ro_fwd->ro_rt->rt_flags & RTF_GATEWAY)
3269 (rt->rt_flags & RTF_GATEWAY)) {
3294 !(ro->ro_rt->rt_flags & RTF_GATEWAY) &&
H A Din_arp.c683 if (rt->rt_flags & RTF_GATEWAY)
935 if (rt->rt_flags & RTF_GATEWAY) {
H A Dip_icmp.c616 (struct sockaddr *)&icmpdst, NULL, RTF_GATEWAY | RTF_HOST,
H A Dip_input.c2752 if (rt->rt_flags & RTF_GATEWAY)

Completed in 177 milliseconds