Home
last modified time | relevance | path

Searched refs:RT_TOS (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_MIRROR.c53 key.tos = RT_TOS(iph->tos); in route_mirror()
66 RT_TOS(iph->tos), rt->u.dst.dev) != 0) { in route_mirror()
Dipt_REJECT.c36 key.tos = RT_TOS(iph->tos); in route_reverse()
49 RT_TOS(iph->tos), rt->u.dst.dev) != 0) { in route_reverse()
255 if (ip_route_output(&rt, iph->saddr, saddr, RT_TOS(tos), 0)) in send_unreach()
Dipt_MASQUERADE.c89 key.tos = RT_TOS((*pskb)->nh.iph->tos)|RTO_CONN; in masquerade_target()
/linux-2.4.37.9/include/linux/
Din_route.h30 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) macro
/linux-2.4.37.9/net/ipv4/
Dip_nat_dumb.c128 key.tos = RT_TOS(ciph->tos); in ip_do_nat()
Dicmp.c349 if (ip_route_output(&rt, daddr, rt->rt_spec_dst, RT_TOS(skb->nh.iph->tos), 0)) in icmp_reply()
466 if (ip_route_output(&rt, iph->saddr, saddr, RT_TOS(tos), 0)) in icmp_send()
491 if (ip_route_output(&rt, icmp_param.replyopts.faddr, saddr, RT_TOS(tos), 0)) in icmp_send()
Dipip.c420 if (ip_route_output(&rt, eiph->saddr, 0, RT_TOS(eiph->tos), 0)) { in ipip_err()
559 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipip_tunnel_xmit()
816 if (!ip_route_output(&rt, iph->daddr, iph->saddr, RT_TOS(iph->tos), tunnel->parms.link)) { in ipip_tunnel_init()
Dip_gre.c489 if (ip_route_output(&rt, eiph->saddr, 0, RT_TOS(eiph->tos), 0)) { in ipgre_err()
744 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipgre_tunnel_xmit()
1095 t->parms.iph.saddr, RT_TOS(t->parms.iph.tos), in ipgre_open()
1167 if (!ip_route_output(&rt, iph->daddr, iph->saddr, RT_TOS(iph->tos), tunnel->parms.link)) { in ipgre_tunnel_init()
Draw.c400 tos = RT_TOS(sk->protinfo.af_inet.tos) | sk->localroute; in raw_sendmsg()
Dipmr.c1152 if (ip_route_output(&rt, vif->remote, vif->local, RT_TOS(iph->tos), vif->link)) in ipmr_queue_xmit()
1156 if (ip_route_output(&rt, iph->daddr, 0, RT_TOS(iph->tos), vif->link)) in ipmr_queue_xmit()
Dip_output.c989 if (ip_route_output(&rt, daddr, rt->rt_spec_dst, RT_TOS(skb->nh.iph->tos), 0)) in ip_send_reply()
Dudp.c519 tos = RT_TOS(sk->protinfo.af_inet.tos); in udp_sendmsg()
Dtcp_ipv4.c1854 RT_TOS(sk->protinfo.af_inet.tos)|sk->localroute, in tcp_v4_reselect_saddr()
/linux-2.4.37.9/include/net/
Droute.h46 #define RT_CONN_FLAGS(sk) (RT_TOS(sk->protinfo.af_inet.tos) | sk->localroute)
/linux-2.4.37.9/net/core/
Dnetfilter.c577 key.tos = RT_TOS(iph->tos); in ip_route_me_harder()
596 RT_TOS(iph->tos), rt->u.dst.dev) != 0) { in ip_route_me_harder()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_conn.c647 if (ip_route_output(&rt, iph->daddr, 0, RT_TOS(tos), 0)) { in ip_vs_bypass_xmit()
776 if (!(rt = __ip_vs_get_out_rt(cp, RT_TOS(iph->tos)))) in ip_vs_nat_xmit()
903 if (!(rt = __ip_vs_get_out_rt(cp, RT_TOS(tos)))) in ip_vs_tunnel_xmit()
1003 if (!(rt = __ip_vs_get_out_rt(cp, RT_TOS(iph->tos)))) in ip_vs_dr_xmit()
Dip_vs_core.c952 if (!(rt = __ip_vs_get_out_rt(cp, RT_TOS(iph->tos)))) in ip_vs_in_icmp()
/linux-2.4.37.9/net/ipv6/
Dsit.c498 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipip6_tunnel_xmit()
769 if (!ip_route_output(&rt, iph->daddr, iph->saddr, RT_TOS(iph->tos), tunnel->parms.link)) { in ipip6_tunnel_init()