Lines Matching refs:tos
40 #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);
154 __be32 saddr, u8 tos, int oif)
158 .flowi4_tos = tos,
169 __u8 proto, __u8 tos, int oif)
171 flowi4_init_output(fl4, oif, sk ? READ_ONCE(sk->sk_mark) : 0, tos,
182 __be32 gre_key, __u8 tos, int oif)
188 fl4->flowi4_tos = tos;
194 u8 tos, struct net_device *dev,
197 u8 tos, struct net_device *devin);
199 u8 tos, struct net_device *devin,
203 u8 tos, struct net_device *devin)
208 err = ip_route_input_noref(skb, dst, src, tos, devin);
265 static inline char rt_tos2priority(u8 tos)
267 return ip_tos2prio[IPTOS_TOS(tos)>>1];