Searched refs:tos (Results 76 - 100 of 303) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
68 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" false
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
72 fib4_trap_check $ns "192.0.2.0/24 dev dummy2 tos 0 metric 1024" true
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
76 fib4_trap_check $ns "192.0.2.0/24 dev dummy3 tos 0 metric 1024" false
79 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" true
98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
99 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" false
102 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos
[all...]
H A Dgre_inner_v6_multipath.sh24 # | 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 Dgre_inner_v4_multipath.sh24 # | 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 Dip6gre_inner_v6_multipath.sh24 # | 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 Dip6gre_inner_v4_multipath.sh24 # | 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 Dvxlan_asymmetric_ipv6.sh173 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/rds/
H A Drdma_transport.c47 #define TOS_TO_SL(tos) ((tos) & 0xF)
/linux-master/include/net/
H A Dflow.h94 __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 Dip.h82 __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 Dxfrm_output.c296 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 Dnf_queue.c135 rt_info->tos = iph->tos;
H A Dxt_ecn.c66 return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c494 iph->tos = cm_node->tos;
524 ip6h->priority = cm_node->tos >> 4;
525 ip6h->flow_lbl[0] = cm_node->tos << 4;
2177 ah_info.tc_tos = cm_node->tos;
2254 cm_node->tos = cm_info->tos;
2257 if (listener->tos != cm_info->tos)
2260 listener->tos, cm_inf
[all...]
/linux-master/net/ipv6/
H A Dfib6_rules.c357 if (!inet_validate_dscp(frh->tos)) {
359 "Invalid dsfield (tos): ECN bits must be 0");
362 rule6->dscp = inet_dsfield_to_dscp(frh->tos);
416 if (frh->tos && inet_dscp_to_dsfield(rule6->dscp) != frh->tos)
437 frh->tos = inet_dscp_to_dsfield(rule6->dscp);
H A Dsit.c716 &iph->saddr, iph->tos);
860 u8 tos = tunnel->parms.iph.tos; local
874 if (tos == 1)
875 tos = ipv6_get_dsfield(iph6);
938 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6,
1026 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6));
1035 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl,
1114 RT_TOS(iph->tos),
[all...]
/linux-master/net/ipv4/
H A Dip_fragment.c71 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 Dip_input.c312 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 Dip_tunnel_core.c52 __u8 tos, __u8 ttl, __be16 df, bool xnet)
76 iph->tos = tos;
235 .tos = 0,
707 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP_TOS]);
854 nla_put_u8(skb, LWTUNNEL_IP_TOS, tun_info->key.tos) ||
993 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP6_TC]);
1024 nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.tos) ||
1153 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/sched/
H A Dact_tunnel_key.c375 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 Dud_header.c129 { STRUCT_FIELD(ip4, tos),
289 iph.tos = header->ip4.tos;
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.h227 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 Dvcap_tc.c396 if (mt.mask->tos) {
398 mt.key->tos,
399 mt.mask->tos);
/linux-master/samples/bpf/
H A Dxdp_adjust_tail_kern.c108 iph->tos = 0;
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan_fdb_veto.sh45 ttl 20 tos inherit local $LOCAL_IP dstport 4789
/linux-master/include/uapi/linux/netfilter_ipv6/
H A Dip6_tables.h82 __u8 tos; member in struct:ip6t_ip6

Completed in 393 milliseconds

1234567891011>>