Searched refs:tos (Results 26 - 50 of 303) sorted by relevance

1234567891011>>

/linux-master/include/trace/events/
H A Dfib.h26 __field( __u8, tos )
47 __entry->tos = flp->flowi4_tos;
93 TP_printk("table %u oif %d iif %d proto %u %pI4/%u -> %pI4/%u tos %d scope %d flags %x ==> dev %s gw %pI4/%pI6c err %d",
96 __entry->tos, __entry->scope, __entry->flags,
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh92 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789
109 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789
126 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789
144 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \
163 ttl 20 tos inherit dstport 4789
180 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789
198 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 dev dummy1
216 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \
234 ttl 20 tos 20 local $LOCAL_IP_1 dstport 4789
241 log_test "vxlan device with static tos"
[all...]
H A Dmirror_gre.sh21 ttl 100 tos inherit allow-localremote \
48 ttl 100 tos inherit allow-localremote
140 ip link set dev $tundev type $type tos 0x10
144 ip link set dev $tundev type $type tos inherit
H A Dextack.sh43 dstport 4789 nolearning noudpcsum tos inherit ttl 100
56 dstport 4789 nolearning noudpcsum tos inherit ttl 100
95 dstport 4789 tos inherit ttl 100
123 dstport 4789 tos inherit ttl 100
H A Dsch_red_core.sh436 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
451 $h3_mac tos=0x01
492 $h3_mac tos=0x01
519 $h3_mac tos=0x01
523 backlog=$(build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01)
531 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
588 $h3_mac tos=0x01
593 build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01 >/dev/null
602 build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01 >/dev/null
/linux-master/include/uapi/linux/
H A Dfib_rules.h23 __u8 tos; member in struct:fib_rule_hdr
/linux-master/tools/testing/selftests/net/forwarding/
H A Dipip_lib.sh25 # | tos=inherit | |
50 # | tos=inherit |
80 # | | tos=inherit | |
132 # | | tos=inherit | |
182 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit "$@"
217 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 \
253 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \
292 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \
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 Dmirror_gre_bound.sh21 # | | : tos=inherit : tos=inherit | |
37 # | tos=inherit tos=inherit |
126 ttl 100 tos inherit dev ul
131 ttl 100 tos inherit dev ul allow-localremote
/linux-master/net/ipv4/
H A Dxfrm4_policy.c21 int tos, int oif,
30 fl4->flowi4_tos = tos;
43 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, argument
50 return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark);
20 __xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, int tos, int oif, const xfrm_address_t *saddr, const xfrm_address_t *daddr, u32 mark) argument
H A Dip_tunnel.c296 RT_TOS(iph->tos), dev_net(dev),
425 &iph->saddr, iph->tos);
594 u8 tos, ttl; local
604 tos = key->tos;
605 if (tos == 1) {
607 tos = inner_iph->tos;
609 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph);
612 tunnel_id_to_key32(key->tun_id), RT_TOS(tos),
694 u8 tos, ttl; local
[all...]
H A Dfib_rules.c229 if (!inet_validate_dscp(frh->tos)) {
231 "Invalid dsfield (tos): ECN bits must be 0");
235 if (frh->tos & ~IPTOS_TOS_MASK) {
236 NL_SET_ERR_MSG(extack, "Invalid tos");
239 rule4->dscp = inet_dsfield_to_dscp(frh->tos);
323 if (frh->tos && inet_dscp_to_dsfield(rule4->dscp) != frh->tos)
347 frh->tos = inet_dscp_to_dsfield(rule4->dscp);
H A Dah4.c132 top_iph->tos = iph->tos;
191 iph->tos = top_iph->tos;
206 top_iph->tos = 0;
248 top_iph->tos = iph->tos;
384 iph->tos = 0;
/linux-master/include/rdma/
H A Diw_cm.h70 u8 tos; member in struct:iw_cm_id
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32_parse.h48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF;
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF;
116 f->val.tos = (ntohl(val) >> 20) & 0x000000FF;
117 f->mask.tos = (ntohl(mask) >> 20) & 0x000000FF;
/linux-master/arch/x86/events/amd/
H A Dbrs.c163 /* tos = top of stack, i.e., last valid entry written */
287 u32 i, nr = 0, num, tos, start; local
311 * tos = most recent entry index = msr.off - 1
313 * start < tos and that we have to read from start to tos
316 tos = amd_brs_get_tos(&cfg);
318 num = tos - start + 1;
325 u32 brs_idx = tos - i;
/linux-master/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h119 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
120 TP_ARGS(iwdev, tos, user_pri),
122 __field(u8, tos)
126 __entry->tos = tos;
131 __entry->tos,
137 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
138 TP_ARGS(iwdev, tos, user_pri));
141 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
142 TP_ARGS(iwdev, tos, user_pr
[all...]
H A Dcm.h260 u8 tos; member in struct:irdma_cm_listener
318 u8 tos; member in struct:irdma_cm_node
339 u8 tos; member in struct:irdma_cm_info
388 static inline u8 irdma_tos2dscp(u8 tos) argument
391 return (u8)FIELD_GET(IRDMA_DSCP_VAL, tos);
/linux-master/include/net/
H A Dip_tunnels.h52 u8 tos; /* TOS for IPv4, TC for IPv6 */ member in struct:ip_tunnel_key
184 u8 tos, u8 ttl, __be32 label,
193 key->tos = tos;
255 __be32 key, __u8 tos,
270 fl4->flowi4_tos = tos;
446 return iph->tos;
478 static inline u8 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph, argument
483 return INET_ECN_encapsulate(tos, inner);
497 u8 tos, u
182 ip_tunnel_key_init(struct ip_tunnel_key *key, __be32 saddr, __be32 daddr, u8 tos, u8 ttl, __be32 label, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags) argument
252 ip_tunnel_init_flow(struct flowi4 *fl4, int proto, __be32 daddr, __be32 saddr, __be32 key, __u8 tos, struct net *net, int oif, __u32 mark, __u32 tun_inner_hash, __u8 flow_flags) argument
[all...]
/linux-master/arch/x86/events/intel/
H A Dlbr.c209 u64 tos; local
211 rdmsrl(x86_pmu.lbr_tos, tos);
212 return tos;
364 u64 tos = task_ctx->tos; local
370 lbr_idx = (tos - i) & mask;
375 lbr_idx = (tos - i) & mask;
382 wrmsrl(x86_pmu.lbr_tos, tos);
421 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL);
457 u64 tos; local
732 u64 tos = intel_pmu_lbr_tos(); local
767 u64 tos = intel_pmu_lbr_tos(); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c239 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK;
290 ip->tos = tun_key->tos;
355 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK;
395 ip->tos = tun_key->tos;
511 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label);
561 ip6_flow_hdr(ip6h, tun_key->tos, 0);
626 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label);
665 ip6_flow_hdr(ip6h, tun_key->tos,
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1087 fsp->h_u.tcp_ip4_spec.tos = rule->ip_data.tos;
1092 fsp->m_u.tcp_ip4_spec.tos = rule->ip_mask.tos;
1099 fsp->h_u.ah_ip4_spec.tos = rule->ip_data.tos;
1103 fsp->m_u.ah_ip4_spec.tos = rule->ip_mask.tos;
1109 fsp->h_u.usr_ip4_spec.tos = rule->ip_data.tos;
[all...]
/linux-master/samples/bpf/
H A Dxdp_fwd_kern.c72 fib_params.tos = iph->tos;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh_fib.c39 fib_params->tos = ip4h->tos;
/linux-master/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c35 fl4.flowi4_tos = RT_TOS(iph->tos);

Completed in 420 milliseconds

1234567891011>>