Home
last modified time | relevance | path

Searched refs:tos (Results 426 - 450 of 665) sorted by relevance

1...<<11121314151617181920>>...27

/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c334 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 Ddpaa2-ethtool.c388 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 Dnft_tunnel.c493 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 Dnf_log_syslog.c326 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 Drecv.c785 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 Dvxlan_bridge_1q_ipv6.sh180 tos inherit ttl 100
188 tos inherit ttl 100
H A Dvxlan_bridge_1q.sh166 nolearning noudpcsum tos inherit ttl 100
174 nolearning noudpcsum tos inherit ttl 100
/kernel/linux/linux-6.6/net/dccp/
H A Dipv4.c514 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 Dpktgen.c341 __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 Dioctl.c3072 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 Dpktgen.c350 __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 Dioctl.c3230 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 Dip_gre.c606 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 Dipmr.c220 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 Dconntrack.c163 /* 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 Dip_gre.c612 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 Dipmr.c221 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 Dcls_flower.c1083 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 DSkPathOpsDebug.cpp2173 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 Doal_netbuf.h61 uint8_t tos; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_tx.c219 switch (ip->tos & 0xfc) { in libipw_classify()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls.h308 u8 tos; member
/kernel/linux/linux-5.10/include/net/
H A Dvxlan.h219 u8 tos; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c85 if (cfg->tos != 1) { in mlxsw_sp_nve_vxlan_can_offload()
H A Dspectrum_ipip.c243 bool inherit_tos = tunnel->parms.iph.tos & 0x1; in mlxsw_sp_ipip_can_offload_gre4()

Completed in 51 milliseconds

1...<<11121314151617181920>>...27