Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A Din_route.h31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) macro
/linux/net/ipv4/netfilter/
A Dnf_dup_ipv4.c35 fl4.flowi4_tos = RT_TOS(iph->tos); in nf_dup_ipv4_route()
/linux/net/ipv4/
A Dnetfilter.c46 fl4.flowi4_tos = RT_TOS(iph->tos); in ip_route_me_harder()
A Dicmp.c447 fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); in icmp_reply()
499 fl4->flowi4_tos = RT_TOS(tos); in icmp_route_lookup()
547 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup()
715 tos = icmp_pointers[type].error ? (RT_TOS(iph->tos) | in __icmp_send()
A Dip_tunnel.c297 RT_TOS(iph->tos), tunnel->parms.link, in ip_tunnel_bind_dev()
572 tunnel_id_to_key32(key->tun_id), RT_TOS(tos), in ip_md_tunnel_xmit()
729 tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link, in ip_tunnel_xmit()
A Droute.c528 u8 tos = RT_TOS(iph->tos); in build_skb_flow_key()
819 u8 tos = RT_TOS(iph->tos); in ip_do_redirect()
1067 RT_TOS(iph->tos), protocol, mark, 0); in ipv4_update_pmtu()
1156 RT_TOS(iph->tos), protocol, 0, 0); in ipv4_redirect()
1270 .flowi4_tos = RT_TOS(iph->tos), in ip_rt_get_source()
2893 fl4.flowi4_tos = RT_TOS(tos); in ip_route_output_tunnel()
A Dipmr.c1843 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit()
1851 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit()
2051 .flowi4_tos = RT_TOS(iph->tos), in ipmr_rt_fib_lookup()
A Dip_gre.c895 RT_TOS(t->parms.iph.tos), in ipgre_open()
A Dip_output.c1684 RT_TOS(arg->tos), in ip_send_unicast_reply()
/linux/include/net/
A Droute.h43 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
44 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE))
A Dip.h246 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun.c508 attr.fl.fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_tc_tun_create_header_ipv6()
622 attr.fl.fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_tc_tun_update_header_ipv6()
/linux/net/core/
A Dlwt_bpf.c209 fl4.flowi4_tos = RT_TOS(iph->tos); in bpf_lwt_xmit_reroute()
A Dfilter.c2329 .flowi4_tos = RT_TOS(ip4h->tos), in __bpf_redirect_neigh_v4()
/linux/drivers/net/ipvlan/
A Dipvlan_core.c424 .flowi4_tos = RT_TOS(ip4h->tos), in ipvlan_process_v4_outbound()
/linux/drivers/net/ppp/
A Dpptp.c158 RT_TOS(0), sk->sk_bound_dev_if); in pptp_xmit()
/linux/net/ipv6/
A Dsit.c945 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6, in ipip6_tunnel_xmit()
1120 RT_TOS(iph->tos), in ipip6_tunnel_bind_dev()
A Dip6_tunnel.c614 0, 0, 0, IPPROTO_IPIP, RT_TOS(eiph->tos), 0); in ip4ip6_err()
625 IPPROTO_IPIP, RT_TOS(eiph->tos), 0); in ip4ip6_err()
A Dip6_output.c1292 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(prio), in ip6_dst_lookup_tunnel()
/linux/drivers/net/
A Dgeneve.c801 fl4->flowi4_tos = RT_TOS(tos); in geneve_get_v4_rt()
855 fl6->flowlabel = ip6_make_flowinfo(RT_TOS(prio), in geneve_get_v6_dst()
A Dvrf.c555 fl4.flowi4_tos = RT_TOS(ip4h->tos); in vrf_process_v4_outbound()
A Dvxlan.c2417 fl4.flowi4_tos = RT_TOS(tos); in vxlan_get_route()
2474 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tos), label); in vxlan6_get_route()
/linux/net/bridge/
A Dbr_netfilter_hooks.c382 RT_TOS(iph->tos), 0); in br_nf_pre_routing_finish()

Completed in 92 milliseconds