/linux-master/net/rds/ |
H A D | rds.h | 576 u8 (*get_tos_map)(u8 tos); 768 u8 tos, gfp_t gfp, 774 u8 tos, gfp_t gfp, int dev_if);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 102 flow4.flowi4_tos = encap->key.tos; 110 flow6.flowlabel = ip6_make_flowinfo(encap->key.tos, 294 ip6_flow_hdr(ip, key->tos, key->label);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-flower.c | 101 if ((match.mask->tos & 0x3) != 0) { 107 acl_h->l3_dscp = match.key->tos >> 2; 108 acl_m->l3_dscp = match.mask->tos >> 2;
|
H A D | dpaa2-ethtool.c | 388 if (uip_mask->tos || uip_mask->ip_ver) 442 if (l4_mask->tos)
|
/linux-master/include/uapi/linux/ |
H A D | ethtool.h | 972 * @tos: Type-of-service 981 __u8 tos; member in struct:ethtool_tcpip4_spec 989 * @tos: Type-of-service 997 __u8 tos; member in struct:ethtool_ah_espip4_spec 1007 * @tos: Type-of-service 1015 __u8 tos; member in struct:ethtool_usrip4_spec
|
/linux-master/net/ipv4/ |
H A D | raw.c | 25 * Alan Cox : Use ttl/tos 489 u8 tos, scope; local 584 tos = get_rttos(&ipc, inet); 609 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope,
|
H A D | fib_frontend.c | 296 .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
|
H A D | ping.c | 708 u8 tos, scope; local 771 tos = get_rttos(&ipc, inet); 782 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope,
|
H A D | ip_gre.c | 617 key->tos & ~INET_ECN_MASK, dev_net(dev), 0, 905 RT_TOS(t->parms.iph.tos), 1176 parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]); 1517 nla_put_u8(skb, IFLA_GRE_TOS, p->iph.tos) ||
|
/linux-master/net/core/ |
H A D | flow_dissector.c | 452 ip->tos = key->tos; 865 key_ip->tos = iph->tos; 883 key_ip->tos = ipv6_get_dsfield(iph);
|
H A D | selftests.c | 137 ihdr->tos = 0;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 760 match.mask->tos) { 761 NL_SET_ERR_MSG_MOD(extack, "tos not supported"); 768 flow_spec->tos = match.key->tos; 769 flow_mask->tos = match.mask->tos;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1678 fs->h_u.tcp_ip6_spec.tclass = dfs->val.tos; 1679 fs->m_u.tcp_ip6_spec.tclass = dfs->mask.tos; 1693 fs->h_u.tcp_ip4_spec.tos = dfs->val.tos; 1694 fs->m_u.tcp_ip4_spec.tos = dfs->mask.tos;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.c | 926 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); 941 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); 956 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); 965 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); 1219 a->ip.v4.tos == b->ip.v4.tos)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 2329 outer_ecn_key = match.key->tos & INET_ECN_MASK; 2330 outer_ecn_mask = match.mask->tos & INET_ECN_MASK; 2335 inner_ecn_key = match.key->tos & INET_ECN_MASK; 2336 inner_ecn_mask = match.mask->tos & INET_ECN_MASK; 2350 "Matching on tos ecn bits without also matching enc_tos ecn bits isn't supported"); 2352 "Matching on tos ecn bits without also matching enc_tos ecn bits isn't supported"); 2358 "Partial match on tos ecn bits with match on enc_tos ecn bits isn't supported"); 2360 "Partial match on tos ecn bits with match on enc_tos ecn bits isn't supported"); 2383 "Match on tos enc_tos ecn = CE while match on tos ec [all...] |
H A D | en_fs_ethtool.c | 577 if (l4_mask->tos) 597 if (l3_mask->l4_4_bytes || l3_mask->tos ||
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | wmm.c | 361 mwifiex_wmm_convert_tos_to_ac(struct mwifiex_adapter *adapter, u32 tos) argument 375 if (tos >= ARRAY_SIZE(tos_to_ac)) 378 return tos_to_ac[tos];
|
/linux-master/net/mptcp/ |
H A D | sockopt.c | 726 val = READ_ONCE(inet_sk(sk)->tos); 1356 return mptcp_put_int_option(msk, optval, optlen, READ_ONCE(inet_sk(sk)->tos)); 1430 __ip_sock_set_tos(ssk, inet_sk(sk)->tos);
|
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_tx.c | 219 switch (ip->tos & 0xfc) {
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve_vxlan.c | 85 if (cfg->tos != 1) {
|
/linux-master/include/net/ |
H A D | vxlan.h | 221 u8 tos; member in struct:vxlan_config
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 170 iph->tos = 0;
|
H A D | icmps-discard.c | 170 iph->tos = 0;
|
/linux-master/drivers/staging/rtl8723bs/os_dep/ |
H A D | os_intfs.c | 334 dscp = ip_hdr(skb)->tos & 0xfc; 373 dscp = piphdr->tos & 0xfc;
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower.sh | 293 -t ip tos=18 -q 302 -t ip tos=20 -q
|