Searched refs:tos (Results 101 - 125 of 303) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2832 seq_printf(s, "%d ", rule->packet.tos);
2833 seq_printf(s, "mask 0x%x\n", rule->mask.tos);
/linux-master/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c635 &fs->h_u.usr_ip4_spec.tos,
636 &fs->m_u.usr_ip4_spec.tos,
637 sizeof(fs->h_u.usr_ip4_spec.tos));
1383 VALIDATE_MASK(l4_mask->tos)) {
/linux-master/net/ipv4/
H A Dfib_frontend.c296 .flowi4_tos = ip_hdr(skb)->tos & IPTOS_RT_MASK,
336 /* Given (packet source, input interface) and optional (dst, oif, tos):
345 u8 tos, int oif, struct net_device *dev,
360 fl4.flowi4_tos = tos;
422 u8 tos, int oif, struct net_device *dev,
451 return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev, itag);
747 "Invalid dsfield (tos): ECN bits must be 0");
344 __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, u8 tos, int oif, struct net_device *dev, int rpf, struct in_device *idev, u32 *itag) argument
421 fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, u8 tos, int oif, struct net_device *dev, struct in_device *idev, u32 *itag) argument
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d_ipv6.sh143 tos inherit ttl 100
651 local tos=$1; shift
656 flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass
661 log_test "VXLAN: ECN encap: $q->$tos"
687 -t udp tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(:
H A Dvxlan_bridge_1q_ipv6.sh180 tos inherit ttl 100
188 tos inherit ttl 100
H A Dvxlan_bridge_1q.sh166 nolearning noudpcsum tos inherit ttl 100
174 nolearning noudpcsum tos inherit ttl 100
H A Dvxlan_bridge_1d.sh138 nolearning noudpcsum tos inherit ttl 100
530 local tos=$1; shift
535 flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass
540 log_test "VXLAN: ECN encap: $q->$tos"
564 -t udp tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(:
H A Dmirror_gre_topo_lib.sh23 # | | : tos=inherit : tos=inherit |
32 # | tos=inherit tos=inherit |
64 ttl 100 tos inherit
67 ttl 100 tos inherit allow-localremote
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 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 Dgre_multipath.sh21 # | tos=inherit | tos=inherit | |
46 # | tos=inherit tos=inherit |
85 tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1
89 tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1
123 tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2
127 tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2
H A Dip6gre_custom_multipath_hash.sh26 # | tos=inherit | |
64 # | tos=inherit |
106 tunnel_create g1 ip6gre 2001:db8:3::1 2001:db8:3::2 tos inherit \
189 tunnel_create g2 ip6gre 2001:db8:3::2 2001:db8:3::1 tos inherit \
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
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c245 switch (ip->tos & 0xfc) {
/linux-master/drivers/nvme/host/
H A Dfabrics.h109 * @tos: type of service
138 int tos; member in struct:nvmf_ctrl_options
/linux-master/drivers/net/wireguard/
H A Dreceive.c389 INET_ECN_decapsulate(skb, PACKET_CB(skb)->ds, ip_hdr(skb)->tos);
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic_if.h280 u8 tos; member in struct:cnic_sock
/linux-master/include/rdma/
H A Dib_verbs.h1945 u8 tos; member in struct:ib_flow_ipv4_filter
/linux-master/drivers/infiniband/hw/irdma/
H A Dverbs.c1261 udp_info->tos = attr->ah_attr.grh.traffic_class;
1270 iwqp->sc_qp.vsi->dscp_map[irdma_tos2dscp(udp_info->tos)];
1272 ctx_info->user_pri = rt_tos2priority(udp_info->tos);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h893 u8 tos; member in struct:c4iw_ep
/linux-master/net/bridge/
H A Dbr_multicast.c993 iph->tos = 0xc0;
/linux-master/drivers/net/ppp/
H A Dpptp.c246 iph->tos = 0;
/linux-master/tools/testing/selftests/net/
H A Drtnetlink.sh267 run_cmd ip route get 127.0.0.1 from 127.0.0.1 oif lo tos 0x10 mark 0x1
268 run_cmd ip route get ::1 from ::1 iif lo oif lo tos 0x10 mark 0x1

Completed in 348 milliseconds

1234567891011>>