/linux-master/drivers/infiniband/core/ |
H A D | cma_priv.h | 94 u8 tos; member in struct:rdma_id_private
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | q_in_vni_veto.sh | 41 "$VXPORT" nolearning noudpcsum tos inherit ttl 100
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.h | 85 u8 tos; member in union:iavf_fdir_ip::__anon18
|
/linux-master/net/ipv4/ |
H A D | udp_tunnel_core.c | 154 __be32 src, __be32 dst, __u8 tos, __u8 ttl, 172 iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet); 212 __be16 sport, __be16 dport, u8 tos, 234 fl4.flowi4_tos = RT_TOS(tos); 153 udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, bool xnet, bool nocheck) argument 207 udp_tunnel_dst_lookup(struct sk_buff *skb, struct net_device *dev, struct net *net, int oif, __be32 *saddr, const struct ip_tunnel_key *key, __be16 sport, __be16 dport, u8 tos, struct dst_cache *dst_cache) argument
|
H A D | icmp.c | 429 inet->tos = ip_hdr(skb)->tos; 444 fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos); 481 __be32 saddr, u8 tos, u32 mark, 496 fl4->flowi4_tos = RT_TOS(tos); 544 RT_TOS(tos), rt2->dst.dev); 598 u8 tos; local 712 tos = icmp_pointers[type].error ? (RT_TOS(iph->tos) | 714 iph->tos; 477 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) argument [all...] |
H A D | ip_output.c | 151 u8 tos) 164 iph->tos = tos; 457 __u8 tos) 496 RT_TOS(tos), 512 *((__be16 *)iph) = htons((4 << 12) | (5 << 8) | (tos & 0xff)); 549 return __ip_queue_xmit(sk, skb, fl, READ_ONCE(inet_sk(sk)->tos)); 1323 cork->tos = ipc->tos; 1446 iph->tos 149 ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk, __be32 saddr, __be32 daddr, struct ip_options_rcu *opt, u8 tos) argument 456 __ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl, __u8 tos) argument [all...] |
H A D | route.c | 503 __u8 tos = RT_FL_TOS(fl4); local 505 fl4->flowi4_tos = tos & IPTOS_RT_MASK; 506 if (tos & RTO_ONLINK) 512 int oif, __u8 tos, u8 prot, u32 mark, 520 tos = ip_sock_rt_tos(sk); 526 flowi4_init_output(fl4, oif, mark, tos & IPTOS_RT_MASK, scope, 539 __u8 tos = iph->tos; local 541 __build_flow_key(net, fl4, sk, iph, oif, tos, prot, mark, 0); 832 __u8 tos local 510 __build_flow_key(const struct net *net, struct flowi4 *fl4, const struct sock *sk, const struct iphdr *iph, int oif, __u8 tos, u8 prot, u32 mark, int flow_flags) argument 1689 ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct in_device *in_dev, u32 *itag) argument 1720 ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, int our) argument 1788 __mkroute_input(struct sk_buff *skb, const struct fib_result *res, struct in_device *in_dev, __be32 daddr, __be32 saddr, u32 tos) argument 2136 ip_mkroute_input(struct sk_buff *skb, struct fib_result *res, struct in_device *in_dev, __be32 daddr, __be32 saddr, u32 tos, struct flow_keys *hkeys) argument 2159 ip_route_use_hint(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, const struct sk_buff *hint) argument 2224 ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct fib_result *res) argument 2438 ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct fib_result *res) argument 2488 ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev) argument [all...] |
H A D | netfilter.c | 46 fl4.flowi4_tos = RT_TOS(iph->tos);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh_res.sh | 23 # | tos=inherit | tos=inherit | | 48 # | tos=inherit tos=inherit | 93 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 97 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 140 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 144 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
|
H A D | gre_multipath_nh.sh | 23 # | tos=inherit | tos=inherit | | 48 # | tos=inherit tos=inherit | 93 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 97 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 139 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 143 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
|
H A D | ip6gre_lib.sh | 27 # | tos=inherit | | 54 # | tos=inherit | 87 # | | tos=inherit | | 137 # | | tos=inherit | | 194 tunnel_create g1a ip6gre 2001:db8:3::1 2001:db8:3::2 tos inherit \ 230 tunnel_create g2a ip6gre 2001:db8:3::2 2001:db8:3::1 tos inherit \ 271 tunnel_create g1a ip6gre 2001:db8:3::1 2001:db8:3::2 tos inherit \ 311 tunnel_create g2a ip6gre 2001:db8:3::2 2001:db8:3::1 tos inherit \
|
H A D | fib_offload_lib.sh | 67 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...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_tunnel_ipip.sh | 22 # | tos=inherit | 71 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit 168 len=48,tos=$outer_tos,proto=47,p=$payload -q & 233 tunnel_create g1 gre 192.0.2.65 192.0.2.66 tos inherit key 233
|
H A D | devlink_trap_tunnel_ipip6.sh | 22 # | tos=inherit | 71 tunnel_create g1 ip6gre 2001:db8:3::1 2001:db8:3::2 tos inherit \ 169 tos=$outer_tos,next=47,p=$payload -q & 233 tunnel_create g1 ip6gre 2001:db8:3::1 2001:db8:3::2 tos inherit \
|
/linux-master/tools/testing/selftests/net/ |
H A D | nat6to4.c | 97 .tos = (ip6->priority << 4) + (ip6->flow_lbl[0] >> 4), // u8 231 .priority = ip4->tos >> 4, // __u8:4 232 .flow_lbl = {(ip4->tos & 0xF) << 4, 0, 0}, // __u8[3]
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 226 tmp = match.key->tos & match.mask->tos; 227 ext->tos |= tmp & (~msk->tos); 228 msk->tos |= match.mask->tos; 446 ext->tos |= match.key->tos & match.mask->tos; 448 msk->tos | [all...] |
/linux-master/net/rds/ |
H A D | connection.c | 87 u8 tos, int dev_if) 95 conn->c_tos == tos && 164 gfp_t gfp, u8 tos, 176 conn = rds_conn_lookup(net, head, laddr, faddr, trans, tos, dev_if); 210 conn->c_tos = tos; 315 tos, dev_if); 350 struct rds_transport *trans, u8 tos, 353 return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 0, dev_if); 361 u8 tos, gfp_t gfp, int dev_if) 363 return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 82 rds_conn_lookup(struct net *net, struct hlist_head *head, const struct in6_addr *laddr, const struct in6_addr *faddr, struct rds_transport *trans, u8 tos, int dev_if) argument 160 __rds_conn_create(struct net *net, const struct in6_addr *laddr, const struct in6_addr *faddr, struct rds_transport *trans, gfp_t gfp, u8 tos, int is_outgoing, int dev_if) argument 347 rds_conn_create(struct net *net, const struct in6_addr *laddr, const struct in6_addr *faddr, struct rds_transport *trans, u8 tos, gfp_t gfp, int dev_if) argument 357 rds_conn_create_outgoing(struct net *net, const struct in6_addr *laddr, const struct in6_addr *faddr, struct rds_transport *trans, u8 tos, gfp_t gfp, int dev_if) argument [all...] |
H A D | ib.c | 309 iinfo->tos = conn->c_tos; 346 iinfo6->tos = conn->c_tos; 528 static u8 rds_ib_get_tos_map(u8 tos) argument 534 return tos;
|
/linux-master/drivers/net/ |
H A D | bareudp.c | 162 ((struct iphdr *)oiph)->tos); 296 __u8 tos, ttl; local 307 sport, bareudp->port, key->tos, 317 tos = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb); 339 tos, ttl, df, sport, bareudp->port, 372 key, sport, bareudp->port, key->tos, 381 prio = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb); 490 info->key.tos, 504 sport, bareudp->port, info->key.tos, [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 286 list[i].h_u.ipv4_hdr.tos = hdr->l3_key.tos; 287 list[i].m_u.ipv4_hdr.tos = hdr->l3_mask.tos; 309 hdr->l3_key.tos, 312 hdr->l3_mask.tos, 537 list[i].h_u.ipv4_hdr.tos = headers->l3_key.tos; 538 list[i].m_u.ipv4_hdr.tos = headers->l3_mask.tos; [all...] |
/linux-master/net/netfilter/ |
H A D | xt_dscp.c | 57 return ((ip_hdr(skb)->tos & info->tos_mask) == 82 .name = "tos", 90 .name = "tos",
|
/linux-master/samples/bpf/ |
H A D | tcbpf1_kern.c | 22 #define TOS_OFF (ETH_HLEN + offsetof(struct iphdr, tos))
|
/linux-master/net/ipv4/netfilter/ |
H A D | ipt_rpfilter.c | 78 flow.flowi4_tos = iph->tos & IPTOS_RT_MASK;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 557 if (ipv4_usr_mask->tos) { 558 pkt->tos = ipv4_usr_hdr->tos; 559 pmask->tos = ipv4_usr_mask->tos; 610 if (ipv4_l4_mask->tos) { 611 pkt->tos = ipv4_l4_hdr->tos; 612 pmask->tos = ipv4_l4_mask->tos; [all...] |
/linux-master/net/bridge/netfilter/ |
H A D | ebt_ip.c | 50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos))
|