/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | os_intfs.c | 334 dscp = ip_hdr(skb)->tos & 0xfc; in rtw_classify8021d() 373 dscp = piphdr->tos & 0xfc; in rtw_recv_select_queue()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 388 if (uip_mask->tos || uip_mask->ip_ver) in dpaa2_eth_prep_uip_rule() 442 if (l4_mask->tos) in dpaa2_eth_prep_l4_rule()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_tunnel.c | 493 info.key.tos = nla_get_u8(tb[NFTA_TUNNEL_KEY_TOS]); in nft_tunnel_obj_init() 685 nla_put_u8(skb, NFTA_TUNNEL_KEY_TOS, info->key.tos) || in nft_tunnel_obj_dump()
|
H A D | nf_log_syslog.c | 326 iph_totlen(skb, ih), ih->tos & IPTOS_TOS_MASK, in dump_ipv4_packet() 327 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); in dump_ipv4_packet()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | recv.c | 785 minfo.tos = inc->i_conn->c_tos; in rds_inc_info_copy() 814 minfo6.tos = inc->i_conn->c_tos; in rds6_inc_info_copy()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1q_ipv6.sh | 180 tos inherit ttl 100 188 tos inherit ttl 100
|
H A D | vxlan_bridge_1q.sh | 166 nolearning noudpcsum tos inherit ttl 100 174 nolearning noudpcsum tos inherit ttl 100
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | ipv4.c | 514 inet_sk(sk)->tos); in dccp_v4_send_response() 560 inet_sk(ctl_sk)->tos); in dccp_v4_ctl_send_reset()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | pktgen.c | 341 __u8 tos; /* six MSB of (former) IPv4 TOS member 628 if (pkt_dev->tos) in pktgen_if_show() 629 seq_printf(seq, " tos: 0x%02x\n", pkt_dev->tos); in pktgen_if_show() 1657 if (!strcmp(name, "tos")) { in pktgen_if_write() 1665 pkt_dev->tos = tmp_value; in pktgen_if_write() 1666 sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos); in pktgen_if_write() 1668 sprintf(pg_result, "ERROR: tos must be 00-ff"); in pktgen_if_write() 2806 iph->tos in fill_packet_ipv4() [all...] |
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | ioctl.c | 3072 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create() 3073 match->key.ip.tos = v4_spec->tos; in ethtool_rx_flow_rule_create() 3074 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create() 3125 match->key.ip.tos = v6_spec->tclass; in ethtool_rx_flow_rule_create() 3126 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | pktgen.c | 350 __u8 tos; /* six MSB of (former) IPv4 TOS member 652 if (pkt_dev->tos) in pktgen_if_show() 653 seq_printf(seq, " tos: 0x%02x\n", pkt_dev->tos); in pktgen_if_show() 1764 if (!strcmp(name, "tos")) { in pktgen_if_write() 1772 pkt_dev->tos = tmp_value; in pktgen_if_write() 1773 sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos); in pktgen_if_write() 1775 sprintf(pg_result, "ERROR: tos must be 00-ff"); in pktgen_if_write() 2945 iph->tos in fill_packet_ipv4() [all...] |
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | ioctl.c | 3230 if (v4_m_spec->tos) { in ethtool_rx_flow_rule_create() 3231 match->key.ip.tos = v4_spec->tos; in ethtool_rx_flow_rule_create() 3232 match->mask.ip.tos = v4_m_spec->tos; in ethtool_rx_flow_rule_create() 3283 match->key.ip.tos = v6_spec->tclass; in ethtool_rx_flow_rule_create() 3284 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_gre.c | 606 key->tos & ~INET_ECN_MASK, 0, skb->mark, in gre_fill_metadata_dst() 896 RT_TOS(t->parms.iph.tos), in ipgre_open() 1168 parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]); in ipgre_netlink_parms() 1509 nla_put_u8(skb, IFLA_GRE_TOS, p->iph.tos) || in ipgre_fill_info()
|
H A D | ipmr.c | 220 frh->tos = 0; in ipmr_rule_fill() 1762 iph->tos = old_iph->tos; in ip_encap() 1845 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit() 1853 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit() 2053 .flowi4_tos = RT_TOS(iph->tos), in ipmr_rt_fib_lookup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 163 /* Only tos and ttl are involved in flow_match_ip structure, which 183 tmp = FIELD_PREP(NFP_IPV6_TCLASS_MASK, match.key->tos); in get_mangled_tos_ttl() 189 tmp = FIELD_PREP(NFP_IPV4_TOS_MASK, match.key->tos); in get_mangled_tos_ttl() 204 match.key->tos = FIELD_GET(NFP_IPV6_TCLASS_MASK, tmp); in get_mangled_tos_ttl() 209 match.key->tos = FIELD_GET(NFP_IPV4_TOS_MASK, tmp); in get_mangled_tos_ttl()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_gre.c | 612 key->tos & ~INET_ECN_MASK, dev_net(dev), 0, in gre_fill_metadata_dst() 900 RT_TOS(t->parms.iph.tos), in ipgre_open() 1169 parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]); in ipgre_netlink_parms() 1510 nla_put_u8(skb, IFLA_GRE_TOS, p->iph.tos) || in ipgre_fill_info()
|
H A D | ipmr.c | 221 frh->tos = 0; in ipmr_rule_fill() 1787 iph->tos = old_iph->tos; in ip_encap() 1871 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit() 1879 RT_TOS(iph->tos), vif->link); in ipmr_queue_xmit() 2083 .flowi4_tos = RT_TOS(iph->tos), in ipmr_rt_fib_lookup()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_flower.c | 1083 fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)); in fl_set_key_ip() 2601 if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) || in fl_dump_key_ip()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsDebug.cpp | 2173 double tos = test->oppPtTStart()->fT; in DebugCheckOverlap() 2174 SkASSERT(between(0, tos, 1)); in DebugCheckOverlap() 2177 SkASSERT(tos != toe); in DebugCheckOverlap() 2178 if (tos > toe) { in DebugCheckOverlap() 2180 swap(tos, toe); in DebugCheckOverlap() 2212 SkASSERT(toe < los || loe < tos); in DebugCheckOverlap()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_netbuf.h | 61 uint8_t tos;
member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_tx.c | 219 switch (ip->tos & 0xfc) { in libipw_classify()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls.h | 308 u8 tos; member
|
/kernel/linux/linux-5.10/include/net/ |
H A D | vxlan.h | 219 u8 tos; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve_vxlan.c | 85 if (cfg->tos != 1) { in mlxsw_sp_nve_vxlan_can_offload()
|
H A D | spectrum_ipip.c | 243 bool inherit_tos = tunnel->parms.iph.tos & 0x1; in mlxsw_sp_ipip_can_offload_gre4()
|