Searched refs:tos (Results 176 - 200 of 303) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c129 iph->tos = 0;
H A Den_tc.c2328 outer_ecn_key = match.key->tos & INET_ECN_MASK;
2329 outer_ecn_mask = match.mask->tos & INET_ECN_MASK;
2334 inner_ecn_key = match.key->tos & INET_ECN_MASK;
2335 inner_ecn_mask = match.mask->tos & INET_ECN_MASK;
2349 "Matching on tos ecn bits without also matching enc_tos ecn bits isn't supported");
2351 "Matching on tos ecn bits without also matching enc_tos ecn bits isn't supported");
2357 "Partial match on tos ecn bits with match on enc_tos ecn bits isn't supported");
2359 "Partial match on tos ecn bits with match on enc_tos ecn bits isn't supported");
2382 "Match on tos enc_tos ecn = CE while match on tos ec
[all...]
/linux-master/net/rds/
H A Drds.h576 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 Dtc_encap_actions.c102 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/net/ipv4/
H A Draw.c25 * 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 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
H A Dping.c708 u8 tos, scope; local
771 tos = get_rttos(&ipc, inet);
782 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope,
H A Dip_gre.c633 key->tos & ~INET_ECN_MASK, dev_net(dev), 0,
933 RT_TOS(t->parms.iph.tos),
1204 parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]);
1547 nla_put_u8(skb, IFLA_GRE_TOS, p->iph.tos) ||
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c104 if ((match.mask->tos & 0x3) != 0) {
110 acl_h->l3_dscp = match.key->tos >> 2;
111 acl_m->l3_dscp = match.mask->tos >> 2;
H A Ddpaa2-ethtool.c388 if (uip_mask->tos || uip_mask->ip_ver)
442 if (l4_mask->tos)
/linux-master/include/uapi/linux/
H A Dethtool.h1027 * @tos: Type-of-service
1036 __u8 tos; member in struct:ethtool_tcpip4_spec
1044 * @tos: Type-of-service
1052 __u8 tos; member in struct:ethtool_ah_espip4_spec
1062 * @tos: Type-of-service
1070 __u8 tos; member in struct:ethtool_usrip4_spec
/linux-master/net/openvswitch/
H A Dflow.c403 key->ip.tos = ipv6_get_dsfield(nh);
708 key->ip.tos = nh->tos;
/linux-master/net/core/
H A Dflow_dissector.c452 ip->tos = key->tos;
873 key_ip->tos = iph->tos;
891 key_ip->tos = ipv6_get_dsfield(iph);
H A Dselftests.c137 ihdr->tos = 0;
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c768 match.mask->tos) {
769 NL_SET_ERR_MSG_MOD(extack, "tos not supported");
776 flow_spec->tos = match.key->tos;
777 flow_mask->tos = match.mask->tos;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1678 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 Dice_fdir.c948 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos);
963 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos);
978 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos);
987 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos);
1245 a->ip.v4.tos == b->ip.v4.tos)
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c361 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 Dsockopt.c749 val = READ_ONCE(inet_sk(sk)->tos);
1421 return mptcp_put_int_option(msk, optval, optlen, READ_ONCE(inet_sk(sk)->tos));
1495 __ip_sock_set_tos(ssk, inet_sk(sk)->tos);
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_tx.c219 switch (ip->tos & 0xfc) {
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c85 if (cfg->tos != 1) {
/linux-master/include/net/
H A Dvxlan.h221 u8 tos; member in struct:vxlan_config
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c170 iph->tos = 0;
H A Dicmps-discard.c170 iph->tos = 0;
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh293 -t ip tos=18 -q
302 -t ip tos=20 -q

Completed in 707 milliseconds

1234567891011>>