Lines Matching defs:tos
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))
146 __be32 saddr, u8 tos, int oif)
150 .flowi4_tos = tos,
161 __u8 proto, __u8 tos, int oif)
163 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos,
174 __be32 gre_key, __u8 tos, int oif)
180 fl4->flowi4_tos = tos;
186 u8 tos, struct net_device *dev,
189 u8 tos, struct net_device *devin);
191 u8 tos, struct net_device *devin,
195 u8 tos, struct net_device *devin,
199 u8 tos, struct net_device *devin)
204 err = ip_route_input_noref(skb, dst, src, tos, devin);
262 static inline char rt_tos2priority(u8 tos)
264 return ip_tos2prio[IPTOS_TOS(tos)>>1];
292 u32 tos, int oif, u8 protocol,
301 flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE,
307 __be32 dst, __be32 src, u32 tos,
315 ip_route_connect_init(fl4, dst, src, tos, oif, protocol,
323 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr);