Lines Matching refs:tos
45 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
46 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument
138 __be32 saddr, u8 tos, int oif) in ip_route_output() argument
142 .flowi4_tos = tos, in ip_route_output()
153 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument
155 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports()
166 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument
172 fl4->flowi4_tos = tos; in ip_route_output_gre()
178 u8 tos, struct net_device *dev,
181 u8 tos, struct net_device *devin);
183 u8 tos, struct net_device *devin,
187 u8 tos, struct net_device *devin) in ip_route_input() argument
192 err = ip_route_input_noref(skb, dst, src, tos, devin); in ip_route_input()
246 static inline char rt_tos2priority(u8 tos) in rt_tos2priority() argument
248 return ip_tos2prio[IPTOS_TOS(tos)>>1]; in rt_tos2priority()
276 u32 tos, int oif, u8 protocol, in ip_route_connect_init() argument
285 flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE, in ip_route_connect_init()
291 __be32 dst, __be32 src, u32 tos, in ip_route_connect() argument
299 ip_route_connect_init(fl4, dst, src, tos, oif, protocol, in ip_route_connect()
307 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect()