Searched refs:tos (Results 51 - 75 of 303) sorted by relevance

1234567891011>>

/linux-master/drivers/infiniband/core/
H A Dcma_priv.h94 u8 tos; member in struct:rdma_id_private
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dq_in_vni_veto.sh41 "$VXPORT" nolearning noudpcsum tos inherit ttl 100
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.h85 u8 tos; member in union:iavf_fdir_ip::__anon18
/linux-master/net/ipv4/
H A Dudp_tunnel_core.c154 __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 Dicmp.c429 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 Dip_output.c151 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 Droute.c503 __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 Dnetfilter.c46 fl4.flowi4_tos = RT_TOS(iph->tos);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dgre_multipath_nh_res.sh23 # | 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 Dgre_multipath_nh.sh23 # | 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 Dip6gre_lib.sh27 # | 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 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...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_ipip.sh22 # | 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 Ddevlink_trap_tunnel_ipip6.sh22 # | 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 Dnat6to4.c97 .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 Dmatch.c226 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 Dconnection.c87 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 Dib.c309 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 Dbareudp.c162 ((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 Dice_tc_lib.c286 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 Dxt_dscp.c57 return ((ip_hdr(skb)->tos & info->tos_mask) ==
82 .name = "tos",
90 .name = "tos",
/linux-master/samples/bpf/
H A Dtcbpf1_kern.c22 #define TOS_OFF (ETH_HLEN + offsetof(struct iphdr, tos))
/linux-master/net/ipv4/netfilter/
H A Dipt_rpfilter.c78 flow.flowi4_tos = iph->tos & IPTOS_RT_MASK;
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c557 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 Debt_ip.c50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos))

Completed in 185 milliseconds

1234567891011>>