Lines Matching refs:tos
49 return READ_ONCE(inet_sk(sk)->tos) & INET_DSCP_MASK; in ip_sock_rt_tos()
159 __be32 saddr, u8 tos, int oif, in ip_route_output() argument
164 .flowi4_tos = tos, in ip_route_output()
177 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument
179 flowi4_init_output(fl4, oif, sk ? READ_ONCE(sk->sk_mark) : 0, tos, in ip_route_output_ports()
190 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument
196 fl4->flowi4_tos = tos; in ip_route_output_gre()
202 u8 tos, struct net_device *dev,
205 u8 tos, struct net_device *devin);
207 u8 tos, struct net_device *devin,
211 u8 tos, struct net_device *devin) in ip_route_input() argument
216 err = ip_route_input_noref(skb, dst, src, tos, devin); in ip_route_input()
271 static inline char rt_tos2priority(u8 tos) in rt_tos2priority() argument
273 return ip_tos2prio[IPTOS_TOS(tos)>>1]; in rt_tos2priority()