/linux-master/net/rds/ |
H A D | rdma_transport.c | 47 #define TOS_TO_SL(tos) ((tos) & 0xF)
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 494 iph->tos = cm_node->tos; 524 ip6h->priority = cm_node->tos >> 4; 525 ip6h->flow_lbl[0] = cm_node->tos << 4; 2176 ah_info.tc_tos = cm_node->tos; 2253 cm_node->tos = cm_info->tos; 2256 if (listener->tos != cm_info->tos) 2259 listener->tos, cm_inf [all...] |
/linux-master/include/net/ |
H A D | flow.h | 94 __u32 mark, __u8 tos, __u8 scope, 104 fl4->flowi4_tos = tos; 93 flowi4_init_output(struct flowi4 *fl4, int oif, __u32 mark, __u8 tos, __u8 scope, __u8 proto, __u8 flags, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, kuid_t uid) argument
|
H A D | ip.h | 82 __s16 tos; member in struct:ipcm_cookie 89 *ipcm = (struct ipcm_cookie) { .tos = -1 }; 160 struct ip_options_rcu *opt, u8 tos); 215 __u8 tos); 261 return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(READ_ONCE(inet->tos)); 277 u8 tos; member in struct:ip_reply_arg
|
/linux-master/net/xfrm/ |
H A D | xfrm_output.c | 296 top_iph->tos = 0; 298 top_iph->tos = XFRM_MODE_SKB_CB(skb)->tos; 299 top_iph->tos = INET_ECN_encapsulate(top_iph->tos, 300 XFRM_MODE_SKB_CB(skb)->tos); 343 dsfield = XFRM_MODE_SKB_CB(skb)->tos; 344 dsfield = INET_ECN_encapsulate(dsfield, XFRM_MODE_SKB_CB(skb)->tos);
|
/linux-master/net/netfilter/ |
H A D | nf_queue.c | 135 rt_info->tos = iph->tos;
|
H A D | xt_ecn.c | 66 return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | gre_inner_v6_multipath.sh | 24 # | tos=inherit | | 62 # | tos=inherit | 99 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 179 tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4
|
H A D | gre_inner_v4_multipath.sh | 24 # | tos=inherit | | 62 # | tos=inherit | 99 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 179 tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4
|
H A D | ip6gre_inner_v6_multipath.sh | 24 # | tos=inherit | | 61 # | tos=inherit | 98 tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 178 tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4
|
H A D | ip6gre_inner_v4_multipath.sh | 24 # | tos=inherit | | 61 # | tos=inherit | 98 tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 178 tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4
|
H A D | vxlan_asymmetric_ipv6.sh | 173 nolearning udp6zerocsumrx udp6zerocsumtx tos inherit ttl 100 181 nolearning udp6zerocsumrx udp6zerocsumtx tos inherit ttl 100 322 nolearning udp6zerocsumrx udp6zerocsumtx tos inherit ttl 100 330 nolearning udp6zerocsumrx udp6zerocsumtx tos inherit ttl 100
|
/linux-master/net/ipv4/ |
H A D | ip_input.c | 312 ip_hdr(hint)->tos == iph->tos; 328 err = ip_route_use_hint(skb, iph->daddr, iph->saddr, iph->tos, 366 iph->tos, dev); 503 IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK),
|
H A D | ip_fragment.c | 71 static u8 ip4_frag_ecn(u8 tos) argument 73 return 1 << (tos & INET_ECN_MASK); 179 iph->tos, head->dev); 299 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); 447 iph->tos |= ecn;
|
H A D | ip_tunnel_core.c | 52 __u8 tos, __u8 ttl, __be16 df, bool xnet) 76 iph->tos = tos; 234 .tos = 0, 706 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP_TOS]); 847 nla_put_u8(skb, LWTUNNEL_IP_TOS, tun_info->key.tos) || 985 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP6_TC]); 1009 nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.tos) || 1137 parms->iph.tos = nla_get_u8(data[IFLA_IPTUN_TOS]); 50 iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) argument
|
/linux-master/net/ipv6/ |
H A D | fib6_rules.c | 353 if (!inet_validate_dscp(frh->tos)) { 355 "Invalid dsfield (tos): ECN bits must be 0"); 358 rule6->dscp = inet_dsfield_to_dscp(frh->tos); 412 if (frh->tos && inet_dscp_to_dsfield(rule6->dscp) != frh->tos) 433 frh->tos = inet_dscp_to_dsfield(rule6->dscp);
|
H A D | sit.c | 715 &iph->saddr, iph->tos); 859 u8 tos = tunnel->parms.iph.tos; local 873 if (tos == 1) 874 tos = ipv6_get_dsfield(iph6); 937 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6, 1025 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); 1034 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, 1113 RT_TOS(iph->tos), [all...] |
/linux-master/net/sched/ |
H A D | act_tunnel_key.c | 375 u8 tos, ttl; local 438 tos = 0; 440 tos = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_TOS]); 453 metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl, 464 metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, 758 if (key->tos && nla_put_u8(skb, TCA_TUNNEL_KEY_ENC_TOS, key->tos))
|
/linux-master/drivers/infiniband/core/ |
H A D | ud_header.c | 129 { STRUCT_FIELD(ip4, tos), 289 iph.tos = header->ip4.tos;
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | cmsg.h | 227 u8 tos; member in struct:nfp_fl_set_tun 357 u8 tos; member in struct:nfp_flower_ip_ext 423 u8 tos; member in struct:nfp_flower_tun_ip_ext 436 * | Reserved | tos | ttl | 472 * | Reserved | tos | ttl | 496 * | tun_flags | tos | ttl | 537 * | tun_flags | tos | ttl |
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.c | 396 if (mt.mask->tos) { 398 mt.key->tos, 399 mt.mask->tos);
|
/linux-master/net/psample/ |
H A D | psample.c | 255 if (tun_key->tos && 256 nla_put_u8(skb, PSAMPLE_TUNNEL_KEY_ATTR_TOS, tun_key->tos)) 337 if (tun_key->tos)
|
/linux-master/samples/bpf/ |
H A D | xdp_adjust_tail_kern.c | 108 iph->tos = 0;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.h | 107 u8 tos; member in struct:ice_fdir_v4
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | vxlan_fdb_veto.sh | 45 ttl 20 tos inherit local $LOCAL_IP dstport 4789
|