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

1234567891011>>

/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/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c101 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 Ddpaa2-ethtool.c388 if (uip_mask->tos || uip_mask->ip_ver)
442 if (l4_mask->tos)
/linux-master/include/uapi/linux/
H A Dethtool.h972 * @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 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.c617 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 Dflow_dissector.c452 ip->tos = key->tos;
865 key_ip->tos = iph->tos;
883 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.c760 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 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.c926 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 Den_tc.c2329 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 Den_fs_ethtool.c577 if (l4_mask->tos)
597 if (l3_mask->l4_4_bytes || l3_mask->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.c726 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 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/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c334 dscp = ip_hdr(skb)->tos & 0xfc;
373 dscp = piphdr->tos & 0xfc;
/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 281 milliseconds

1234567891011>>