Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/
Din_route.h31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) macro
/Linux-v6.6/include/net/
Droute.h40 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
41 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE))
53 return RT_TOS(inet_sk(sk)->tos); in ip_sock_rt_tos()
Dip.h261 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos()
/Linux-v6.6/net/ipv4/netfilter/
Dnf_dup_ipv4.c35 fl4.flowi4_tos = RT_TOS(iph->tos); in nf_dup_ipv4_route()
/Linux-v6.6/net/ipv4/
Dnetfilter.c46 fl4.flowi4_tos = RT_TOS(iph->tos); in ip_route_me_harder()
Dicmp.c443 fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); in icmp_reply()
495 fl4->flowi4_tos = RT_TOS(tos); in icmp_route_lookup()
543 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup()
711 tos = icmp_pointers[type].error ? (RT_TOS(iph->tos) | in __icmp_send()
Dip_tunnel.c297 RT_TOS(iph->tos), dev_net(dev), in ip_tunnel_bind_dev()
586 tunnel_id_to_key32(key->tun_id), RT_TOS(tos), in ip_md_tunnel_xmit()
749 tunnel->parms.o_key, RT_TOS(tos), in ip_tunnel_xmit()
Dipmr.c1870 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit()
1878 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit()
2082 .flowi4_tos = RT_TOS(iph->tos), in ipmr_rt_fib_lookup()
Dip_gre.c897 RT_TOS(t->parms.iph.tos), in ipgre_open()
Dip_output.c1615 RT_TOS(arg->tos), in ip_send_unicast_reply()
Droute.c1286 .flowi4_tos = RT_TOS(iph->tos), in ip_rt_get_source()
2915 fl4.flowi4_tos = RT_TOS(tos); in ip_route_output_tunnel()
/Linux-v6.6/net/netfilter/
Dnft_flow_offload.c238 fl.u.ip4.flowi4_tos = RT_TOS(ip_hdr(pkt->skb)->tos); in nft_flow_route()
/Linux-v6.6/net/core/
Dlwt_bpf.c207 fl4.flowi4_tos = RT_TOS(iph->tos); in bpf_lwt_xmit_reroute()
Dfilter.c2353 .flowi4_tos = RT_TOS(ip4h->tos), in __bpf_redirect_neigh_v4()
/Linux-v6.6/drivers/net/ipvlan/
Dipvlan_core.c423 .flowi4_tos = RT_TOS(ip4h->tos), in ipvlan_process_v4_outbound()
/Linux-v6.6/net/ipv6/
Dsit.c937 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6, in ipip6_tunnel_xmit()
1113 RT_TOS(iph->tos), in ipip6_tunnel_bind_dev()
Dip6_tunnel.c612 0, 0, 0, IPPROTO_IPIP, RT_TOS(eiph->tos), 0); in ip4ip6_err()
623 IPPROTO_IPIP, RT_TOS(eiph->tos), 0); in ip4ip6_err()
/Linux-v6.6/net/bridge/
Dbr_netfilter_hooks.c383 RT_TOS(iph->tos), 0); in br_nf_pre_routing_finish()
/Linux-v6.6/net/sctp/
Dprotocol.c438 fl4->flowi4_tos = RT_TOS(tos); in sctp_v4_get_dst()
/Linux-v6.6/drivers/net/
Dvrf.c555 fl4.flowi4_tos = RT_TOS(ip4h->tos); in vrf_process_v4_outbound()
Dgeneve.c818 fl4->flowi4_tos = RT_TOS(tos); in geneve_get_v4_rt()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c2242 fl4.flowi4_tos = RT_TOS(tos); in vxlan_get_route()