/include/net/ |
D | dsfield.h | 18 return iph->tos; in ipv4_get_dsfield() 34 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield() 35 check += iph->tos; in ipv4_change_dsfield() 40 iph->tos = dsfield; in ipv4_change_dsfield()
|
D | route.h | 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)) argument 140 __be32 saddr, u8 tos, int oif) in ip_route_output() argument 144 .flowi4_tos = tos, in ip_route_output() 155 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument 157 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports() 168 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument 174 fl4->flowi4_tos = tos; in ip_route_output_gre() 180 u8 tos, struct net_device *dev, 183 u8 tos, struct net_device *devin); [all …]
|
D | erspan.h | 161 static inline u8 tos_to_cos(u8 tos) in tos_to_cos() argument 165 dscp = tos >> 2; in tos_to_cos() 182 u8 tos; in erspan_build_header() local 185 tos = is_ipv4 ? ip_hdr(skb)->tos : in erspan_build_header() 206 ershdr->cos = tos_to_cos(tos); in erspan_build_header() 279 u8 tos; in erspan_build_header_v2() local 281 tos = is_ipv4 ? ip_hdr(skb)->tos : in erspan_build_header_v2() 300 ershdr->cos = tos_to_cos(tos); in erspan_build_header_v2()
|
D | inet_ecn.h | 55 inet_sk(sk)->tos |= INET_ECN_ECT_0; in INET_ECN_xmit() 62 inet_sk(sk)->tos &= ~INET_ECN_MASK; in INET_ECN_dontxmit() 79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() 99 iph->tos |= INET_ECN_CE; in IP_ECN_set_ce() 107 if ((iph->tos & INET_ECN_MASK) != INET_ECN_ECT_0) in IP_ECN_set_ect1() 113 iph->tos ^= INET_ECN_MASK; in IP_ECN_set_ect1() 119 iph->tos &= ~INET_ECN_MASK; in IP_ECN_clear() 278 inner = ip_hdr(skb)->tos; in IP_ECN_decapsulate() 287 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP_ECN_decapsulate() 297 inner = ip_hdr(skb)->tos; in IP6_ECN_decapsulate()
|
D | dst_metadata.h | 157 __u8 tos, __u8 ttl, in __ip_tun_set_dst() argument 170 saddr, daddr, tos, ttl, in __ip_tun_set_dst() 182 return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst() 188 __u8 tos, __u8 ttl, in __ipv6_tun_set_dst() argument 212 info->key.tos = tos; in __ipv6_tun_set_dst()
|
D | ip_tunnels.h | 52 u8 tos; /* TOS for IPv4, TC for IPv6 */ member 172 u8 tos, u8 ttl, __be32 label, in ip_tunnel_key_init() argument 181 key->tos = tos; in ip_tunnel_key_init() 243 __be32 key, __u8 tos, int oif, in ip_tunnel_init_flow() argument 250 fl4->flowi4_tos = tos; in ip_tunnel_init_flow() 380 return iph->tos; in ip_tunnel_get_dsfield() 401 static inline u8 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph, in ip_tunnel_ecn_encap() argument 406 return INET_ECN_encapsulate(tos, inner); in ip_tunnel_ecn_encap() 420 u8 tos, u8 ttl, __be16 df, bool xnet);
|
D | flow.h | 99 __u32 mark, __u8 tos, __u8 scope, in flowi4_init_output() argument 108 fl4->flowi4_tos = tos; in flowi4_init_output() 123 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument 127 fl4->flowi4_tos = tos; in flowi4_update_output()
|
D | ip.h | 80 __s16 tos; member 87 *ipcm = (struct ipcm_cookie) { .tos = -1 }; in ipcm_init() 213 __u8 tos); 242 return __ip_queue_xmit(sk, skb, fl, inet_sk(sk)->tos); in ip_queue_xmit() 252 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos() 257 return (ipc->tos != -1) ? RT_CONN_FLAGS_TOS(sk, ipc->tos) : RT_CONN_FLAGS(sk); in get_rtconn_flags() 273 u8 tos; member
|
D | inet_sock.h | 160 __s16 tos; member 216 __u8 tos; member
|
D | udp_tunnel.h | 142 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
|
D | flow_dissector.h | 203 __u8 tos; member
|
D | ip_fib.h | 212 u8 tos; member 410 u8 tos, int oif, struct net_device *dev,
|
/include/uapi/linux/ |
D | in_route.h | 31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) argument
|
D | ip.h | 24 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK) argument 31 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK) argument 96 __u8 tos; member
|
D | rds.h | 158 __u8 tos; member 181 __u8 tos; member 192 __u8 tos; member 225 __u8 tos; member 252 __u8 tos; member 268 __u8 tos; member
|
D | fib_rules.h | 23 __u8 tos; member
|
D | ethtool.h | 763 __u8 tos; member 779 __u8 tos; member 797 __u8 tos; member
|
/include/trace/events/ |
D | fib6.h | 25 __field( __u8, tos ) 45 __entry->tos = ip6_tclass(flp->flowlabel); 85 __entry->tos, __entry->scope, __entry->flags,
|
D | fib.h | 26 __field( __u8, tos ) 48 __entry->tos = flp->flowi4_tos; 97 __entry->tos, __entry->scope, __entry->flags,
|
/include/uapi/linux/netfilter_bridge/ |
D | ebt_ip.h | 39 __u8 tos; member
|
/include/linux/ |
D | netfilter_ipv4.h | 15 u_int8_t tos; member
|
/include/rdma/ |
D | iw_cm.h | 96 u8 tos; member
|
D | rdma_cm.h | 355 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
|
D | ib_pack.h | 241 u8 tos; member
|
/include/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 82 __u8 tos; member
|