/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 146 __be32 saddr, u8 tos, int oif) in ip_route_output() argument 150 .flowi4_tos = tos, in ip_route_output() 161 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument 163 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports() 174 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument 180 fl4->flowi4_tos = tos; in ip_route_output_gre() 186 u8 tos, struct net_device *dev, 189 u8 tos, struct net_device *devin); [all …]
|
D | inet_ecn.h | 56 inet_sk(sk)->tos |= INET_ECN_ECT_0; in INET_ECN_xmit() 63 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() 101 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() 111 iph->tos ^= INET_ECN_MASK; in IP_ECN_set_ect1() 117 iph->tos &= ~INET_ECN_MASK; in IP_ECN_clear() 276 inner = ip_hdr(skb)->tos; in IP_ECN_decapsulate() 285 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP_ECN_decapsulate() 295 inner = ip_hdr(skb)->tos; in IP6_ECN_decapsulate()
|
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 | 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() 383 return iph->tos; in ip_tunnel_get_dsfield() 404 static inline u8 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph, in ip_tunnel_ecn_encap() argument 409 return INET_ECN_encapsulate(tos, inner); in ip_tunnel_ecn_encap() 423 u8 tos, u8 ttl, __be16 df, bool xnet);
|
D | flow.h | 97 __u32 mark, __u8 tos, __u8 scope, in flowi4_init_output() argument 106 fl4->flowi4_tos = tos; in flowi4_init_output() 121 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument 125 fl4->flowi4_tos = tos; in flowi4_update_output()
|
D | ip.h | 81 __s16 tos; member 88 *ipcm = (struct ipcm_cookie) { .tos = -1 }; in ipcm_init() 159 struct ip_options_rcu *opt, u8 tos); 214 __u8 tos); 249 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos); in get_rttos() 254 return (ipc->tos != -1) ? RT_CONN_FLAGS_TOS(sk, ipc->tos) : RT_CONN_FLAGS(sk); in get_rtconn_flags() 270 u8 tos; member
|
D | inet_sock.h | 172 __s16 tos; member 227 __u8 tos; member
|
D | ip_fib.h | 212 u8 tos; member 225 u8 tos; member 439 u8 tos, int oif, struct net_device *dev,
|
D | flow_dissector.h | 220 __u8 tos; member
|
D | udp_tunnel.h | 151 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
|
/include/uapi/linux/ |
D | in_route.h | 31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK) argument
|
D | ip.h | 25 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK) argument 32 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK) argument 97 __u8 tos; member
|
D | rds.h | 160 __u8 tos; member 183 __u8 tos; member 194 __u8 tos; member 227 __u8 tos; member 254 __u8 tos; member 270 __u8 tos; member
|
D | fib_rules.h | 23 __u8 tos; member
|
D | ethtool.h | 865 __u8 tos; member 881 __u8 tos; member 899 __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 | 70 u8 tos; member
|
D | rdma_cm.h | 311 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
|
D | ib_pack.h | 214 u8 tos; member
|
/include/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 82 __u8 tos; member
|