/linux/include/uapi/linux/ |
A D | in_route.h | 31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) macro
|
/linux/net/ipv4/netfilter/ |
A D | nf_dup_ipv4.c | 35 fl4.flowi4_tos = RT_TOS(iph->tos); in nf_dup_ipv4_route()
|
/linux/net/ipv4/ |
A D | netfilter.c | 46 fl4.flowi4_tos = RT_TOS(iph->tos); in ip_route_me_harder()
|
A D | icmp.c | 447 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 D | ip_tunnel.c | 297 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 D | route.c | 528 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 D | ipmr.c | 1843 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 D | ip_gre.c | 895 RT_TOS(t->parms.iph.tos), in ipgre_open()
|
A D | ip_output.c | 1684 RT_TOS(arg->tos), in ip_send_unicast_reply()
|
/linux/include/net/ |
A D | route.h | 43 #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 D | ip.h | 246 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun.c | 508 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 D | lwt_bpf.c | 209 fl4.flowi4_tos = RT_TOS(iph->tos); in bpf_lwt_xmit_reroute()
|
A D | filter.c | 2329 .flowi4_tos = RT_TOS(ip4h->tos), in __bpf_redirect_neigh_v4()
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan_core.c | 424 .flowi4_tos = RT_TOS(ip4h->tos), in ipvlan_process_v4_outbound()
|
/linux/drivers/net/ppp/ |
A D | pptp.c | 158 RT_TOS(0), sk->sk_bound_dev_if); in pptp_xmit()
|
/linux/net/ipv6/ |
A D | sit.c | 945 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6, in ipip6_tunnel_xmit() 1120 RT_TOS(iph->tos), in ipip6_tunnel_bind_dev()
|
A D | ip6_tunnel.c | 614 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 D | ip6_output.c | 1292 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(prio), in ip6_dst_lookup_tunnel()
|
/linux/drivers/net/ |
A D | geneve.c | 801 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 D | vrf.c | 555 fl4.flowi4_tos = RT_TOS(ip4h->tos); in vrf_process_v4_outbound()
|
A D | vxlan.c | 2417 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 D | br_netfilter_hooks.c | 382 RT_TOS(iph->tos), 0); in br_nf_pre_routing_finish()
|