tos               238 arch/x86/events/intel/lbr.c 	u64 tos;
tos               240 arch/x86/events/intel/lbr.c 	rdmsrl(x86_pmu.lbr_tos, tos);
tos               241 arch/x86/events/intel/lbr.c 	return tos;
tos               345 arch/x86/events/intel/lbr.c 	u64 tos;
tos               353 arch/x86/events/intel/lbr.c 	tos = task_ctx->tos;
tos               361 arch/x86/events/intel/lbr.c 	    rdlbr_from(tos)) {
tos               368 arch/x86/events/intel/lbr.c 		lbr_idx = (tos - i) & mask;
tos               377 arch/x86/events/intel/lbr.c 		lbr_idx = (tos - i) & mask;
tos               384 arch/x86/events/intel/lbr.c 	wrmsrl(x86_pmu.lbr_tos, tos);
tos               392 arch/x86/events/intel/lbr.c 	u64 tos, from;
tos               401 arch/x86/events/intel/lbr.c 	tos = intel_pmu_lbr_tos();
tos               403 arch/x86/events/intel/lbr.c 		lbr_idx = (tos - i) & mask;
tos               413 arch/x86/events/intel/lbr.c 	task_ctx->tos = tos;
tos               539 arch/x86/events/intel/lbr.c 	u64 tos = intel_pmu_lbr_tos();
tos               543 arch/x86/events/intel/lbr.c 		unsigned long lbr_idx = (tos - i) & mask;
tos               577 arch/x86/events/intel/lbr.c 	u64 tos = intel_pmu_lbr_tos();
tos               589 arch/x86/events/intel/lbr.c 		unsigned long lbr_idx = (tos - i) & mask;
tos               714 arch/x86/events/perf_event.h 	int tos;
tos               189 arch/x86/kernel/fpu/regset.c 	u32 tos = (fxsave->swd >> 11) & 7;
tos               197 arch/x86/kernel/fpu/regset.c 			st = FPREG_ADDR(fxsave, (i - tos) & 7);
tos               910 arch/x86/kernel/kprobes/core.c 	unsigned long *tos = stack_addr(regs);
tos               921 arch/x86/kernel/kprobes/core.c 		*tos &= ~(X86_EFLAGS_TF | X86_EFLAGS_IF);
tos               922 arch/x86/kernel/kprobes/core.c 		*tos |= kcb->kprobe_old_flags;
tos               934 arch/x86/kernel/kprobes/core.c 		*tos = orig_ip + (*tos - copy_ip);
tos               938 arch/x86/kernel/kprobes/core.c 		*tos = orig_ip + (*tos - copy_ip);
tos               948 arch/x86/kernel/kprobes/core.c 			*tos = orig_ip + (*tos - copy_ip);
tos               216 drivers/crypto/chelsio/chtls/chtls.h 	u8 tos;
tos               954 drivers/crypto/chelsio/chtls/chtls_cm.c 	       DSCP_V(csk->tos >> 2) |
tos              1085 drivers/crypto/chelsio/chtls/chtls_cm.c 	csk->tos = PASS_OPEN_TOS_G(ntohl(req->tos_stid));
tos              2441 drivers/infiniband/core/cma.c 	id->tos = id_priv->tos;
tos              2496 drivers/infiniband/core/cma.c 	dev_id_priv->tos = id_priv->tos;
tos              2515 drivers/infiniband/core/cma.c void rdma_set_service_type(struct rdma_cm_id *id, int tos)
tos              2520 drivers/infiniband/core/cma.c 	id_priv->tos = (u8) tos;
tos              2605 drivers/infiniband/core/cma.c 		path_rec.qos_class = cpu_to_be16((u16) id_priv->tos);
tos              2831 drivers/infiniband/core/cma.c static int iboe_tos_to_sl(struct net_device *ndev, int tos)
tos              2836 drivers/infiniband/core/cma.c 	prio = rt_tos2priority(tos);
tos              2859 drivers/infiniband/core/cma.c 	u8 tos = id_priv->tos_set ? id_priv->tos : default_roce_tos;
tos              2893 drivers/infiniband/core/cma.c 	route->path_rec->sl = iboe_tos_to_sl(ndev, tos);
tos              2894 drivers/infiniband/core/cma.c 	route->path_rec->traffic_class = tos;
tos              3881 drivers/infiniband/core/cma.c 	cm_id->tos = id_priv->tos;
tos               150 drivers/infiniband/core/cma_configfs.c 	u8 tos;
tos               156 drivers/infiniband/core/cma_configfs.c 	tos = cma_get_default_roce_tos(cma_dev, group->port_num);
tos               159 drivers/infiniband/core/cma_configfs.c 	return sprintf(buf, "%u\n", tos);
tos               168 drivers/infiniband/core/cma_configfs.c 	u8 tos;
tos               170 drivers/infiniband/core/cma_configfs.c 	ret = kstrtou8(buf, 0, &tos);
tos               178 drivers/infiniband/core/cma_configfs.c 	ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos);
tos                86 drivers/infiniband/core/cma_priv.h 	u8			tos;
tos               129 drivers/infiniband/core/ud_header.c 	{ STRUCT_FIELD(ip4, tos),
tos               289 drivers/infiniband/core/ud_header.c 	iph.tos		= header->ip4.tos;
tos               126 drivers/infiniband/core/uverbs_std_types_flow_action.c 		.tos = 0xff,
tos              1920 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		qp->qp1_hdr.ip4.tos = 0;
tos               336 drivers/infiniband/hw/cxgb3/iwch_cm.c 				 __be16 peer_port, u8 tos)
tos               343 drivers/infiniband/hw/cxgb3/iwch_cm.c 				   tos, 0);
tos               450 drivers/infiniband/hw/cxgb3/iwch_cm.c 	opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10);
tos              1288 drivers/infiniband/hw/cxgb3/iwch_cm.c 	opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10);
tos              1396 drivers/infiniband/hw/cxgb3/iwch_cm.c 	child_ep->tos = G_PASS_OPEN_TOS(ntohl(req->tos_tid));
tos              1949 drivers/infiniband/hw/cxgb3/iwch_cm.c 	ep->tos = IPTOS_LOWDELAY;
tos               189 drivers/infiniband/hw/cxgb3/iwch_cm.h 	u8 tos;
tos               796 drivers/infiniband/hw/cxgb4/cm.c 	       DSCP_V(ep->tos >> 2) |
tos              2009 drivers/infiniband/hw/cxgb4/cm.c 		DSCP_V(ep->tos >> 2) |
tos              2070 drivers/infiniband/hw/cxgb4/cm.c 		     bool clear_mpa_v1, enum chip_type adapter_type, u8 tos)
tos              2100 drivers/infiniband/hw/cxgb4/cm.c 					n, pdev, rt_tos2priority(tos));
tos              2121 drivers/infiniband/hw/cxgb4/cm.c 					n, pdev, rt_tos2priority(tos));
tos              2203 drivers/infiniband/hw/cxgb4/cm.c 					  raddr->sin_port, ep->com.cm_id->tos);
tos              2213 drivers/infiniband/hw/cxgb4/cm.c 					   ep->com.cm_id->tos,
tos              2225 drivers/infiniband/hw/cxgb4/cm.c 			ep->com.cm_id->tos);
tos              2236 drivers/infiniband/hw/cxgb4/cm.c 	ep->tos = ep->com.cm_id->tos;
tos              2445 drivers/infiniband/hw/cxgb4/cm.c 	       DSCP_V(ep->tos >> 2) |
tos              2528 drivers/infiniband/hw/cxgb4/cm.c 	u8 tos;
tos              2543 drivers/infiniband/hw/cxgb4/cm.c 		tos = parent_ep->com.cm_id->tos;
tos              2545 drivers/infiniband/hw/cxgb4/cm.c 		tos = PASS_OPEN_TOS_G(ntohl(req->tos_stid));
tos              2558 drivers/infiniband/hw/cxgb4/cm.c 				      local_port, peer_port, tos);
tos              2566 drivers/infiniband/hw/cxgb4/cm.c 				tos,
tos              2583 drivers/infiniband/hw/cxgb4/cm.c 			parent_ep->com.dev->rdev.lldi.adapter_type, tos);
tos              2643 drivers/infiniband/hw/cxgb4/cm.c 	child_ep->tos = tos;
tos              3396 drivers/infiniband/hw/cxgb4/cm.c 					  raddr->sin_port, cm_id->tos);
tos              3419 drivers/infiniband/hw/cxgb4/cm.c 					   raddr6->sin6_port, cm_id->tos,
tos              3429 drivers/infiniband/hw/cxgb4/cm.c 			ep->com.dev->rdev.lldi.adapter_type, cm_id->tos);
tos              3440 drivers/infiniband/hw/cxgb4/cm.c 	ep->tos = cm_id->tos;
tos              3923 drivers/infiniband/hw/cxgb4/cm.c static void build_cpl_pass_accept_req(struct sk_buff *skb, int stid , u8 tos)
tos              3981 drivers/infiniband/hw/cxgb4/cm.c 				    PASS_OPEN_TOS_V(tos));
tos              4134 drivers/infiniband/hw/cxgb4/cm.c 		 ntohs(tcph->source), iph->tos);
tos              4138 drivers/infiniband/hw/cxgb4/cm.c 			      tcph->source, iph->tos);
tos              4183 drivers/infiniband/hw/cxgb4/cm.c 	build_cpl_pass_accept_req(skb, stid, iph->tos);
tos               905 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	u8 tos;
tos               448 drivers/infiniband/hw/i40iw/i40iw_cm.c 		iph->tos = cm_node->tos;
tos               475 drivers/infiniband/hw/i40iw/i40iw_cm.c 		ip6h->priority = cm_node->tos >> 4;
tos               476 drivers/infiniband/hw/i40iw/i40iw_cm.c 		ip6h->flow_lbl[0] = cm_node->tos << 4;
tos              2177 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_node->tos = cm_info->tos;
tos              2180 drivers/infiniband/hw/i40iw/i40iw_cm.c 		if (listener->tos != cm_info->tos)
tos              2183 drivers/infiniband/hw/i40iw/i40iw_cm.c 				     listener->tos, cm_info->tos);
tos              2184 drivers/infiniband/hw/i40iw/i40iw_cm.c 		cm_node->tos = max(listener->tos, cm_info->tos);
tos              2185 drivers/infiniband/hw/i40iw/i40iw_cm.c 		cm_node->user_pri = rt_tos2priority(cm_node->tos);
tos              2187 drivers/infiniband/hw/i40iw/i40iw_cm.c 			    cm_node->tos, cm_node->user_pri);
tos              3166 drivers/infiniband/hw/i40iw/i40iw_cm.c 		cm_info.tos = iph->tos;
tos              3174 drivers/infiniband/hw/i40iw/i40iw_cm.c 		cm_info.tos = (ip6h->priority << 4) | (ip6h->flow_lbl[0] >> 4);
tos              3421 drivers/infiniband/hw/i40iw/i40iw_cm.c 	tcp_info.tos = cm_node->tos;
tos              3875 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_info.tos = cm_id->tos;
tos              3876 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_info.user_pri = rt_tos2priority(cm_id->tos);
tos              3878 drivers/infiniband/hw/i40iw/i40iw_cm.c 		    __func__, cm_id->tos, cm_info.user_pri);
tos              4007 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_listen_node->tos = cm_id->tos;
tos              4008 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_listen_node->user_pri = rt_tos2priority(cm_id->tos);
tos               301 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 tos;
tos               348 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 tos;
tos               375 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 tos;
tos              2849 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 		       LS_64(tcp->tos, I40IWQPC_TOS) |
tos               700 drivers/infiniband/hw/i40iw/i40iw_type.h 	u8 tos;
tos              3137 drivers/infiniband/hw/mlx4/qp.c 		sqp->ud_header.ip4.tos =
tos              2611 drivers/infiniband/hw/mlx5/main.c #define LAST_IPV4_FIELD tos
tos              2798 drivers/infiniband/hw/mlx5/main.c 			ib_spec->ipv4.mask.tos, ib_spec->ipv4.val.tos);
tos               471 drivers/infiniband/hw/qedr/qedr_roce_cm.c 		udh->ip4.tos = htonl(grh->flow_label);
tos                69 drivers/infiniband/sw/rxe/rxe_icrc.c 		ip4h->tos = 0xff;
tos               291 drivers/infiniband/sw/rxe/rxe_net.c 			     __u8 tos, __u8 ttl, __be16 df, bool xnet)
tos               310 drivers/infiniband/sw/rxe/rxe_net.c 	iph->tos	=	tos;
tos               415 drivers/net/dsa/bcm_sf2_cfp.c 	core_writel(priv, ip.key->tos << IPTOS_SHIFT |
tos               242 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 		   (fsp->h_u.tcp_ip4_spec.tos ||
tos              5699 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	u8	tos;
tos              3487 drivers/net/ethernet/broadcom/cnic.c 	l4kwqe3->tos = csk->tos;
tos              3614 drivers/net/ethernet/broadcom/cnic.c 	csk1->tos = DEF_TOS;
tos               349 drivers/net/ethernet/broadcom/cnic_defs.h 	u8 tos;
tos               353 drivers/net/ethernet/broadcom/cnic_defs.h 	u8 tos;
tos              4320 drivers/net/ethernet/broadcom/cnic_defs.h 	u8 tos;
tos              4324 drivers/net/ethernet/broadcom/cnic_defs.h 	u8 tos;
tos               279 drivers/net/ethernet/broadcom/cnic_if.h 	u8	tos;
tos              1155 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	uint32_t tos:TOS_BITWIDTH;              /* TOS/Traffic Type */
tos               257 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	    unsupported(fconf, TOS_F, fs->val.tos, fs->mask.tos) ||
tos               643 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	fwr->ttyp = f->fs.val.tos;
tos               644 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	fwr->ttypm = f->fs.mask.tos;
tos               805 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	if (fs->val.tos && !fs->mask.tos)
tos               806 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		fs->mask.tos |= ~0;
tos               929 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		ntuple_mask |= (u64)fs->mask.tos << tp->tos_shift;
tos               975 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	if (tp->tos_shift >= 0 && fs->mask.tos)
tos               976 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		ntuple |= (u64)(fs->val.tos) << tp->tos_shift;
tos               173 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 		fs->val.tos = match.key->tos;
tos               174 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 		fs->mask.tos = match.mask->tos;
tos                48 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->val.tos  = (ntohl(val)  >> 16) & 0x000000FF;
tos                49 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF;
tos               116 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->val.tos  = (ntohl(val)  >> 20) & 0x000000FF;
tos               117 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->mask.tos = (ntohl(mask) >> 20) & 0x000000FF;
tos                94 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 		__be16 peer_port, u8 tos)
tos               102 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 				   tos, 0);
tos               123 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c 		 __be16 peer_port, u8 tos, __u32 sin6_scope_id)
tos               310 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 	if (uip_mask->tos || uip_mask->ip_ver)
tos               364 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 	if (l4_mask->tos)
tos               341 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c 		if (l4ip4_m->tos)
tos               354 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c 		if (l3ip4_m->tos)
tos               972 drivers/net/ethernet/freescale/gianfar_ethtool.c 	gfar_set_attribute(value->tos, mask->tos, RQFCR_PID_TOS, tab);
tos               986 drivers/net/ethernet/freescale/gianfar_ethtool.c 	gfar_set_attribute(value->tos, mask->tos, RQFCR_PID_TOS, tab);
tos              5174 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (!tcp_ip4_spec->tos)
tos              5189 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (!usr_ip4_spec->tos)
tos              5396 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples.ip_tos = fs->h_u.tcp_ip4_spec.tos;
tos              5397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples_mask.ip_tos = fs->m_u.tcp_ip4_spec.tos;
tos              5414 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples.ip_tos = fs->h_u.usr_ip4_spec.tos;
tos              5415 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples_mask.ip_tos = fs->m_u.usr_ip4_spec.tos;
tos              5821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->h_u.tcp_ip4_spec.tos = rule->tuples.ip_tos;
tos              5822 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->m_u.tcp_ip4_spec.tos =
tos              5840 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->h_u.usr_ip4_spec.tos = rule->tuples.ip_tos;
tos              5841 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->m_u.usr_ip4_spec.tos =
tos              4142 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (tcp_ip4_spec->tos)
tos              4174 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (usr_ip4_spec->tos)
tos              1946 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	fsp->h_u.tcp_ip4_spec.tos = 0;
tos              1947 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	fsp->m_u.tcp_ip4_spec.tos = 0xff;
tos              1337 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (cmd->fs.m_u.tcp_ip4_spec.tos)
tos              1349 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (l3_mask->l4_4_bytes || l3_mask->tos || l3_mask->proto ||
tos               224 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	fl4.flowi4_tos = tun_key->tos;
tos               280 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip->tos = tun_key->tos;
tos               344 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label);
tos               399 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	ip6_flow_hdr(ip6h, tun_key->tos, 0);
tos               518 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	if (l4_mask->tos)
tos               538 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	if (l3_mask->l4_4_bytes || l3_mask->tos ||
tos               153 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	iph->tos = 0;
tos              1737 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.mask->tos & 0x3);
tos              1739 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.key->tos & 0x3);
tos              1742 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.mask->tos >> 2);
tos              1744 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.key->tos  >> 2);
tos              2068 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.mask->tos & 0x3);
tos              2070 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.key->tos & 0x3);
tos              2073 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.mask->tos >> 2);
tos              2075 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			 match.key->tos  >> 2);
tos              2090 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 		if (match.mask->tos || match.mask->ttl)
tos               314 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 				       match.key->tos & 0x3,
tos               315 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 				       match.mask->tos & 0x3);
tos               318 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 				       match.key->tos >> 2,
tos               319 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 				       match.mask->tos >> 2);
tos               238 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	bool inherit_tos = tunnel->parms.iph.tos & 0x1;
tos                56 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c 	if (cfg->tos != 1) {
tos               408 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u8 tos;
tos              3975 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return !fib4_entry->tos;
tos              4414 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	fib4_entry->tos = fen_info->tos;
tos              4455 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		    fib4_entry->tos == fen_info->tos &&
tos              4689 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (fib4_entry->tos > new4_entry->tos)
tos              4692 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		    fib4_entry->tos < new4_entry->tos)
tos              4712 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		    fib4_entry->tos != new4_entry->tos ||
tos               337 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	bool inherit_tos = tparm.iph.tos & 0x1;
tos              2579 drivers/net/ethernet/micrel/ksz884x.c 	int tos;
tos              2599 drivers/net/ethernet/micrel/ksz884x.c 	for (tos = 0; tos < DIFFSERV_ENTRIES; tos++)
tos              2600 drivers/net/ethernet/micrel/ksz884x.c 		sw->diffserv[tos] = 0;
tos               455 drivers/net/ethernet/netronome/nfp/flower/action.c 	set_tun->tos = ip_tun->key.tos;
tos               577 drivers/net/ethernet/netronome/nfp/flower/action.c 	case round_down(offsetof(struct iphdr, tos), 4):
tos               587 drivers/net/ethernet/netronome/nfp/flower/action.c 		set_ip_ttl_tos->ipv4_tos_mask |= tos_word_mask->tos;
tos               588 drivers/net/ethernet/netronome/nfp/flower/action.c 		set_ip_ttl_tos->ipv4_tos &= ~tos_word_mask->tos;
tos               589 drivers/net/ethernet/netronome/nfp/flower/action.c 		set_ip_ttl_tos->ipv4_tos |= tos_word->tos & tos_word_mask->tos;
tos               222 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	u8 tos;
tos               330 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	u8 tos;
tos               391 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	u8 tos;
tos               170 drivers/net/ethernet/netronome/nfp/flower/match.c 		ext->tos = match.key->tos;
tos               172 drivers/net/ethernet/netronome/nfp/flower/match.c 		msk->tos = match.mask->tos;
tos               312 drivers/net/ethernet/netronome/nfp/flower/match.c 		ext->tos = match.key->tos;
tos               314 drivers/net/ethernet/netronome/nfp/flower/match.c 		msk->tos = match.mask->tos;
tos               570 drivers/net/ethernet/netronome/nfp/flower/offload.c 			merge->ipv4.ip_ext.tos |= ipv4_ttl_tos->ipv4_tos_mask;
tos               588 drivers/net/ethernet/netronome/nfp/flower/offload.c 			merge->ipv6.ip_ext.tos |= ipv6_tc_hl_fl->ipv6_tc_mask;
tos              1154 drivers/net/ethernet/sfc/ethtool.c 		if (ip_mask->tos)
tos              1194 drivers/net/ethernet/sfc/ethtool.c 		if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver ||
tos              1089 drivers/net/ethernet/sfc/falcon/ethtool.c 		if (ip_mask->tos)
tos              1129 drivers/net/ethernet/sfc/falcon/ethtool.c 		if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver ||
tos               182 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	ihdr->tos = 0;
tos              7094 drivers/net/ethernet/sun/niu.c 	fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >>
tos              7096 drivers/net/ethernet/sun/niu.c 	fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >>
tos              7367 drivers/net/ethernet/sun/niu.c 	tp->key[2] |= ((u64)fsp->h_u.tcp_ip4_spec.tos <<
tos              7369 drivers/net/ethernet/sun/niu.c 	tp->key_mask[2] |= ((u64)fsp->m_u.tcp_ip4_spec.tos <<
tos              7470 drivers/net/ethernet/sun/niu.c 							     uspec->tos,
tos              7471 drivers/net/ethernet/sun/niu.c 							     umask->tos);
tos              1362 drivers/net/ethernet/sun/sunvnet_common.c 			fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos);
tos               279 drivers/net/geneve.c 						     ((struct iphdr *)oiph)->tos);
tos               782 drivers/net/geneve.c 	__u8 tos;
tos               793 drivers/net/geneve.c 	tos = info->key.tos;
tos               794 drivers/net/geneve.c 	if ((tos == 1) && !geneve->collect_md) {
tos               795 drivers/net/geneve.c 		tos = ip_tunnel_get_dsfield(ip_hdr(skb), skb);
tos               798 drivers/net/geneve.c 	fl4->flowi4_tos = RT_TOS(tos);
tos               842 drivers/net/geneve.c 	prio = info->key.tos;
tos               883 drivers/net/geneve.c 	__u8 tos, ttl;
tos               897 drivers/net/geneve.c 		tos = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb);
tos               902 drivers/net/geneve.c 		tos = ip_tunnel_ecn_encap(fl4.flowi4_tos, ip_hdr(skb), skb);
tos               930 drivers/net/geneve.c 			    tos, ttl, df, sport, geneve->info.key.tp_dst,
tos               958 drivers/net/geneve.c 		prio = ip_tunnel_ecn_encap(key->tos, ip_hdr(skb), skb);
tos              1243 drivers/net/geneve.c 	return !(info->key.tun_id || info->key.tun_flags || info->key.tos ||
tos              1417 drivers/net/geneve.c 		info->key.tos = nla_get_u8(data[IFLA_GENEVE_TOS]);
tos              1715 drivers/net/geneve.c 	    nla_put_u8(skb, IFLA_GENEVE_TOS, info->key.tos) ||
tos               597 drivers/net/gtp.c 				    pktinfo.iph->tos,
tos               424 drivers/net/ipvlan/ipvlan_core.c 		.flowi4_tos = RT_TOS(ip4h->tos),
tos                55 drivers/net/ipvlan/ipvlan_l3s.c 					   ip4h->tos, sdev);
tos               232 drivers/net/ppp/pptp.c 	iph->tos      = 0;
tos               354 drivers/net/slip/slhc.c 	 || ip->tos != cs->cs_ip.tos
tos               261 drivers/net/vrf.c 	fl4.flowi4_tos = RT_TOS(ip4h->tos);
tos              1641 drivers/net/vxlan.c 					     ((struct iphdr *)oiph)->tos);
tos              2220 drivers/net/vxlan.c 				      struct sk_buff *skb, int oif, u8 tos,
tos              2232 drivers/net/vxlan.c 	if (tos && !info)
tos              2242 drivers/net/vxlan.c 	fl4.flowi4_tos = RT_TOS(tos);
tos              2272 drivers/net/vxlan.c 					  struct sk_buff *skb, int oif, u8 tos,
tos              2287 drivers/net/vxlan.c 	if (tos && !info)
tos              2299 drivers/net/vxlan.c 	fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tos), label);
tos              2430 drivers/net/vxlan.c 	__u8 tos, ttl;
tos              2464 drivers/net/vxlan.c 		tos = vxlan->cfg.tos;
tos              2465 drivers/net/vxlan.c 		if (tos == 1)
tos              2466 drivers/net/vxlan.c 			tos = ip_tunnel_get_dsfield(old_iph, skb);
tos              2498 drivers/net/vxlan.c 		tos = info->key.tos;
tos              2514 drivers/net/vxlan.c 		rt = vxlan_get_route(vxlan, dev, sock4, skb, ifindex, tos,
tos              2549 drivers/net/vxlan.c 		tos = ip_tunnel_ecn_encap(RT_TOS(tos), old_iph, skb);
tos              2557 drivers/net/vxlan.c 				    dst->sin.sin_addr.s_addr, tos, ttl, df,
tos              2566 drivers/net/vxlan.c 		ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos,
tos              2589 drivers/net/vxlan.c 		tos = ip_tunnel_ecn_encap(RT_TOS(tos), old_iph, skb);
tos              2599 drivers/net/vxlan.c 				     &dst->sin6.sin6_addr, tos, ttl,
tos              2933 drivers/net/vxlan.c 		rt = vxlan_get_route(vxlan, dev, sock4, skb, 0, info->key.tos,
tos              2945 drivers/net/vxlan.c 		ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos,
tos              3762 drivers/net/vxlan.c 		conf->tos  = nla_get_u8(data[IFLA_VXLAN_TOS]);
tos              4119 drivers/net/vxlan.c 	    nla_put_u8(skb, IFLA_VXLAN_TOS, vxlan->cfg.tos) ||
tos               284 drivers/net/wireless/ath/ath6kl/wmi.c 	ip_pri = ip_hdr->tos >> 5;
tos               219 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	switch (ip->tos & 0xfc) {
tos               358 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_wmm_convert_tos_to_ac(struct mwifiex_adapter *adapter, u32 tos)
tos               372 drivers/net/wireless/marvell/mwifiex/wmm.c 	if (tos >= ARRAY_SIZE(tos_to_ac))
tos               375 drivers/net/wireless/marvell/mwifiex/wmm.c 	return tos_to_ac[tos];
tos               636 drivers/nvme/host/fabrics.c 	opts->tos = -1; /* < 0 == use transport default */
tos               868 drivers/nvme/host/fabrics.c 			opts->tos = token;
tos               113 drivers/nvme/host/fabrics.h 	int			tos;
tos              1569 drivers/nvme/host/rdma.c 	if (ctrl->opts->tos >= 0)
tos              1570 drivers/nvme/host/rdma.c 		rdma_set_service_type(queue->cm_id, ctrl->opts->tos);
tos              1311 drivers/nvme/host/tcp.c 	if (nctrl->opts->tos >= 0) {
tos              1312 drivers/nvme/host/tcp.c 		opt = nctrl->opts->tos;
tos              1446 drivers/nvme/target/tcp.c 		int tos = inet->rcv_tos;
tos              1449 drivers/nvme/target/tcp.c 				(char *)&tos, sizeof(tos));
tos              3535 drivers/s390/net/qeth_core_main.c 	u8 tos;
tos              3542 drivers/s390/net/qeth_core_main.c 			tos = ipv4_get_dsfield(ip_hdr(skb));
tos              3545 drivers/s390/net/qeth_core_main.c 			tos = ipv6_get_dsfield(ipv6_hdr(skb));
tos              3551 drivers/s390/net/qeth_core_main.c 			return ~tos >> 6 & 3;
tos              3552 drivers/s390/net/qeth_core_main.c 		if (tos & IPTOS_MINCOST)
tos              3554 drivers/s390/net/qeth_core_main.c 		if (tos & IPTOS_RELIABILITY)
tos              3556 drivers/s390/net/qeth_core_main.c 		if (tos & IPTOS_THROUGHPUT)
tos              3558 drivers/s390/net/qeth_core_main.c 		if (tos & IPTOS_LOWDELAY)
tos               588 drivers/scsi/cxgbi/libcxgbi.c 				      __be16 sport, __be16 dport, u8 tos,
tos               594 drivers/scsi/cxgbi/libcxgbi.c 				   dport, sport, IPPROTO_TCP, tos, ifindex);
tos               331 drivers/scsi/scsi_transport_iscsi.c iscsi_iface_net_attr(ipv4_iface, tos, ISCSI_NET_PARAM_IPV4_TOS);
tos               378 drivers/staging/rtl8188eu/core/rtw_xmit.c 		pattrib->priority = ip_hdr.tos >> 5;
tos               239 drivers/staging/rtl8188eu/os_dep/os_intfs.c 		dscp = ip_hdr(skb)->tos & 0xfc;
tos               275 drivers/staging/rtl8188eu/os_dep/os_intfs.c 		dscp = piphdr->tos & 0xfc;
tos               248 drivers/staging/rtl8192e/rtllib_tx.c 	switch (ip->tos & 0xfc) {
tos               270 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c 	switch (ip->tos & 0xfc) {
tos                79 drivers/staging/rtl8712/xmit_linux.c 		UserPriority = ip_hdr.tos >> 5;
tos               669 drivers/staging/rtl8723bs/core/rtw_xmit.c 		UserPriority = ip_hdr.tos >> 5;
tos               388 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		dscp = ip_hdr(skb)->tos & 0xfc;
tos               427 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			dscp = piphdr->tos & 0xfc;
tos               234 drivers/target/iscsi/cxgbit/cxgbit.h 	u8 tos;
tos              1171 drivers/target/iscsi/cxgbit/cxgbit_cm.c 		DSCP_V(csk->tos >> 2) |
tos              1319 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	csk->tos = PASS_OPEN_TOS_G(ntohl(req->tos_stid));
tos                15 include/linux/netfilter_ipv4.h 	u_int8_t tos;
tos                18 include/net/dsfield.h 	return iph->tos;
tos                34 include/net/dsfield.h 	dsfield = (iph->tos & mask) | value;
tos                35 include/net/dsfield.h 	check += iph->tos;
tos                40 include/net/dsfield.h 	iph->tos = dsfield;
tos               143 include/net/dst_metadata.h 						    __u8 tos, __u8 ttl,
tos               156 include/net/dst_metadata.h 			   saddr, daddr, tos, ttl,
tos               168 include/net/dst_metadata.h 	return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl,
tos               174 include/net/dst_metadata.h 						      __u8 tos, __u8 ttl,
tos               198 include/net/dst_metadata.h 	info->key.tos = tos;
tos               146 include/net/erspan.h static inline u8 tos_to_cos(u8 tos)
tos               150 include/net/erspan.h 	dscp = tos >> 2;
tos               167 include/net/erspan.h 	u8 tos;
tos               170 include/net/erspan.h 	tos = is_ipv4 ? ip_hdr(skb)->tos :
tos               191 include/net/erspan.h 	ershdr->cos = tos_to_cos(tos);
tos               264 include/net/erspan.h 	u8 tos;
tos               266 include/net/erspan.h 	tos = is_ipv4 ? ip_hdr(skb)->tos :
tos               285 include/net/erspan.h 	ershdr->cos = tos_to_cos(tos);
tos                99 include/net/flow.h 				      __u32 mark, __u8 tos, __u8 scope,
tos               108 include/net/flow.h 	fl4->flowi4_tos = tos;
tos               122 include/net/flow.h static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos,
tos               126 include/net/flow.h 	fl4->flowi4_tos = tos;
tos               201 include/net/flow_dissector.h 	__u8	tos;
tos                54 include/net/inet_ecn.h 	inet_sk(sk)->tos |= INET_ECN_ECT_0;
tos                61 include/net/inet_ecn.h 	inet_sk(sk)->tos &= ~INET_ECN_MASK;
tos                78 include/net/inet_ecn.h 	u32 ecn = (iph->tos + 1) & INET_ECN_MASK;
tos                98 include/net/inet_ecn.h 	iph->tos |= INET_ECN_CE;
tos               106 include/net/inet_ecn.h 	if ((iph->tos & INET_ECN_MASK) != INET_ECN_ECT_0)
tos               112 include/net/inet_ecn.h 	iph->tos ^= INET_ECN_MASK;
tos               118 include/net/inet_ecn.h 	iph->tos &= ~INET_ECN_MASK;
tos               276 include/net/inet_ecn.h 		inner = ip_hdr(skb)->tos;
tos               282 include/net/inet_ecn.h 	return INET_ECN_decapsulate(skb, oiph->tos, inner);
tos               291 include/net/inet_ecn.h 		inner = ip_hdr(skb)->tos;
tos               159 include/net/inet_sock.h 	__s16			tos;
tos               215 include/net/inet_sock.h 	__u8			tos;
tos                76 include/net/ip.h 	__s16			tos;
tos                83 include/net/ip.h 	*ipcm = (struct ipcm_cookie) { .tos = -1 };
tos               208 include/net/ip.h 		    __u8 tos);
tos               237 include/net/ip.h 	return __ip_queue_xmit(sk, skb, fl, inet_sk(sk)->tos);
tos               247 include/net/ip.h 	return (ipc->tos != -1) ? RT_TOS(ipc->tos) : RT_TOS(inet->tos);
tos               252 include/net/ip.h 	return (ipc->tos != -1) ? RT_CONN_FLAGS_TOS(sk, ipc->tos) : RT_CONN_FLAGS(sk);
tos               268 include/net/ip.h 	u8  	    tos;
tos               212 include/net/ip_fib.h 	u8 tos;
tos               410 include/net/ip_fib.h 			u8 tos, int oif, struct net_device *dev,
tos                52 include/net/ip_tunnels.h 	u8			tos;		/* TOS for IPv4, TC for IPv6 */
tos               172 include/net/ip_tunnels.h 				      u8 tos, u8 ttl, __be32 label,
tos               181 include/net/ip_tunnels.h 	key->tos = tos;
tos               243 include/net/ip_tunnels.h 				       __be32 key, __u8 tos, int oif,
tos               250 include/net/ip_tunnels.h 	fl4->flowi4_tos = tos;
tos               378 include/net/ip_tunnels.h 		return iph->tos;
tos               397 include/net/ip_tunnels.h static inline u8 ip_tunnel_ecn_encap(u8 tos, const struct iphdr *iph,
tos               402 include/net/ip_tunnels.h 	return INET_ECN_encapsulate(tos, inner);
tos               416 include/net/ip_tunnels.h 		   u8 tos, u8 ttl, __be16 df, bool xnet);
tos                43 include/net/route.h #define RT_CONN_FLAGS(sk)   (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
tos                44 include/net/route.h #define RT_CONN_FLAGS_TOS(sk,tos)   (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE))
tos               140 include/net/route.h 					     __be32 saddr, u8 tos, int oif)
tos               144 include/net/route.h 		.flowi4_tos = tos,
tos               155 include/net/route.h 						   __u8 proto, __u8 tos, int oif)
tos               157 include/net/route.h 	flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos,
tos               168 include/net/route.h 						 __be32 gre_key, __u8 tos, int oif)
tos               174 include/net/route.h 	fl4->flowi4_tos = tos;
tos               180 include/net/route.h 			  u8 tos, struct net_device *dev,
tos               183 include/net/route.h 			 u8 tos, struct net_device *devin);
tos               185 include/net/route.h 		       u8 tos, struct net_device *devin,
tos               189 include/net/route.h 				 u8 tos, struct net_device *devin)
tos               194 include/net/route.h 	err = ip_route_input_noref(skb, dst, src, tos, devin);
tos               252 include/net/route.h static inline char rt_tos2priority(u8 tos)
tos               254 include/net/route.h 	return ip_tos2prio[IPTOS_TOS(tos)>>1];
tos               282 include/net/route.h 					 u32 tos, int oif, u8 protocol,
tos               291 include/net/route.h 	flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE,
tos               297 include/net/route.h 					      __be32 dst, __be32 src, u32 tos,
tos               305 include/net/route.h 	ip_route_connect_init(fl4, dst, src, tos, oif, protocol,
tos               313 include/net/route.h 		flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr);
tos               142 include/net/udp_tunnel.h 			 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
tos               215 include/net/vxlan.h 	u8			tos;
tos               322 include/net/xfrm.h 					       int tos, int oif,
tos               641 include/net/xfrm.h 	u8 tos;
tos              1625 include/net/xfrm.h struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif,
tos               241 include/rdma/ib_pack.h 	u8	tos;
tos              1898 include/rdma/ib_verbs.h 	u8	tos;
tos                96 include/rdma/iw_cm.h 	u8  tos;
tos               355 include/rdma/rdma_cm.h void rdma_set_service_type(struct rdma_cm_id *id, int tos);
tos                26 include/trace/events/fib.h 		__field(	__u8,	tos		)
tos                48 include/trace/events/fib.h 		__entry->tos = flp->flowi4_tos;
tos                97 include/trace/events/fib.h 		  __entry->tos, __entry->scope, __entry->flags,
tos                25 include/trace/events/fib6.h 		__field(	__u8,	tos		)
tos                45 include/trace/events/fib6.h 		__entry->tos = ip6_tclass(flp->flowlabel);
tos                85 include/trace/events/fib6.h 		  __entry->tos, __entry->scope, __entry->flags,
tos              3511 include/uapi/linux/bpf.h 		__u8	tos;		/* AF_INET  */
tos               763 include/uapi/linux/ethtool.h 	__u8    tos;
tos               779 include/uapi/linux/ethtool.h 	__u8    tos;
tos               797 include/uapi/linux/ethtool.h 	__u8    tos;
tos                23 include/uapi/linux/fib_rules.h 	__u8		tos;
tos                31 include/uapi/linux/in_route.h #define RT_TOS(tos)	((tos)&IPTOS_TOS_MASK)
tos                24 include/uapi/linux/ip.h #define IPTOS_TOS(tos)		((tos)&IPTOS_TOS_MASK)
tos                31 include/uapi/linux/ip.h #define IPTOS_PREC(tos)		((tos)&IPTOS_PREC_MASK)
tos                96 include/uapi/linux/ip.h 	__u8	tos;
tos                39 include/uapi/linux/netfilter_bridge/ebt_ip.h 	__u8  tos;
tos                82 include/uapi/linux/netfilter_ipv6/ip6_tables.h 	__u8 tos;
tos               158 include/uapi/linux/rds.h 	__u8		tos;
tos               181 include/uapi/linux/rds.h 	__u8		tos;
tos               192 include/uapi/linux/rds.h 	__u8		tos;
tos               225 include/uapi/linux/rds.h 	__u8		tos;
tos               252 include/uapi/linux/rds.h 	__u8		tos;
tos               268 include/uapi/linux/rds.h 	__u8		tos;
tos               935 include/uapi/rdma/ib_user_verbs.h 	__u8	tos;
tos               255 net/bridge/br_multicast.c 	iph->tos = 0xc0;
tos               368 net/bridge/br_netfilter_hooks.c 		if ((err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos, dev))) {
tos               382 net/bridge/br_netfilter_hooks.c 					     RT_TOS(iph->tos), 0);
tos                50 net/bridge/netfilter/ebt_ip.c 	    NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos))
tos               108 net/bridge/netfilter/ebt_log.c 			&ih->saddr, &ih->daddr, ih->tos, ih->protocol);
tos              2957 net/core/ethtool.c 		if (v4_m_spec->tos) {
tos              2958 net/core/ethtool.c 			match->key.ip.tos = v4_spec->tos;
tos              2959 net/core/ethtool.c 			match->mask.ip.tos = v4_m_spec->tos;
tos              3010 net/core/ethtool.c 			match->key.ip.tos = v6_spec->tclass;
tos              3011 net/core/ethtool.c 			match->mask.ip.tos = v6_m_spec->tclass;
tos              1076 net/core/fib_rules.c 	if (frh->dst_len || frh->src_len || frh->tos || frh->table ||
tos              3863 net/core/filter.c 	to->tunnel_tos = info->key.tos;
tos              3979 net/core/filter.c 	info->key.tos = from->tunnel_tos;
tos              4308 net/core/filter.c 				inet->tos = val;
tos              4440 net/core/filter.c 			*((int *)optval) = (int)inet->tos;
tos              4642 net/core/filter.c 	fl4.flowi4_tos = params->tos & IPTOS_RT_MASK;
tos               383 net/core/flow_dissector.c 		ip->tos = key->tos;
tos               740 net/core/flow_dissector.c 	key_ip->tos = iph->tos;
tos               757 net/core/flow_dissector.c 	key_ip->tos = ipv6_get_dsfield(iph);
tos                97 net/core/lwt_bpf.c 					   iph->tos, dev);
tos               209 net/core/lwt_bpf.c 		fl4.flowi4_tos = RT_TOS(iph->tos);
tos               440 net/core/netpoll.c 		iph->tos      = 0;
tos               341 net/core/pktgen.c 	__u8 tos;            /* six MSB of (former) IPv4 TOS
tos               628 net/core/pktgen.c 	if (pkt_dev->tos)
tos               629 net/core/pktgen.c 		seq_printf(seq, "     tos: 0x%02x\n", pkt_dev->tos);
tos              1665 net/core/pktgen.c 			pkt_dev->tos = tmp_value;
tos              1666 net/core/pktgen.c 			sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos);
tos              2806 net/core/pktgen.c 	iph->tos = pkt_dev->tos;
tos               130 net/decnet/dn_rules.c 	if (frh->tos) {
tos               209 net/decnet/dn_rules.c 	frh->tos = 0;
tos              1471 net/ipv4/af_inet.c 			(iph->tos ^ iph2->tos) |
tos               135 net/ipv4/ah4.c 	top_iph->tos = iph->tos;
tos               194 net/ipv4/ah4.c 	iph->tos = top_iph->tos;
tos               209 net/ipv4/ah4.c 	top_iph->tos = 0;
tos               251 net/ipv4/ah4.c 	top_iph->tos = iph->tos;
tos               387 net/ipv4/ah4.c 	iph->tos = 0;
tos               305 net/ipv4/fib_frontend.c 			.flowi4_tos = RT_TOS(ip_hdr(skb)->tos),
tos               354 net/ipv4/fib_frontend.c 				 u8 tos, int oif, struct net_device *dev,
tos               370 net/ipv4/fib_frontend.c 	fl4.flowi4_tos = tos;
tos               429 net/ipv4/fib_frontend.c 			u8 tos, int oif, struct net_device *dev,
tos               455 net/ipv4/fib_frontend.c 	return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev, itag);
tos                39 net/ipv4/fib_lookup.h 		  u8 type, __be32 dst, int dst_len, u8 tos, struct fib_info *fi,
tos                37 net/ipv4/fib_rules.c 	u8			tos;
tos                51 net/ipv4/fib_rules.c 	if (r->dst_len || r->src_len || r->tos)
tos               182 net/ipv4/fib_rules.c 	if (r->tos && (r->tos != fl4->flowi4_tos))
tos               227 net/ipv4/fib_rules.c 	if (frh->tos & ~IPTOS_TOS_MASK) {
tos               272 net/ipv4/fib_rules.c 	rule4->tos = frh->tos;
tos               315 net/ipv4/fib_rules.c 	if (frh->tos && (rule4->tos != frh->tos))
tos               339 net/ipv4/fib_rules.c 	frh->tos = rule4->tos;
tos              1728 net/ipv4/fib_semantics.c 		  u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos,
tos              1743 net/ipv4/fib_semantics.c 	rtm->rtm_tos = tos;
tos                85 net/ipv4/fib_trie.c 		.tos = fa->fa_tos,
tos               102 net/ipv4/fib_trie.c 		.tos = fa->fa_tos,
tos               983 net/ipv4/fib_trie.c 					u8 tos, u32 prio, u32 tb_id)
tos               999 net/ipv4/fib_trie.c 		if (fa->fa_tos > tos)
tos              1001 net/ipv4/fib_trie.c 		if (fa->fa_info->fib_priority >= prio || fa->fa_tos < tos)
tos              1131 net/ipv4/fib_trie.c 	u8 tos = cfg->fc_tos;
tos              1149 net/ipv4/fib_trie.c 	fa = l ? fib_find_alias(&l->leaf, slen, tos, fi->fib_priority,
tos              1161 net/ipv4/fib_trie.c 	if (fa && fa->fa_tos == tos &&
tos              1181 net/ipv4/fib_trie.c 			    (fa->fa_tos != tos))
tos              1263 net/ipv4/fib_trie.c 	new_fa->fa_tos = tos;
tos              1555 net/ipv4/fib_trie.c 	u8 tos = cfg->fc_tos;
tos              1567 net/ipv4/fib_trie.c 	fa = fib_find_alias(&l->leaf, slen, tos, 0, tb->tb_id);
tos              1571 net/ipv4/fib_trie.c 	pr_debug("Deleting %08x/%d tos=%d t=%p\n", key, plen, tos, t);
tos              1579 net/ipv4/fib_trie.c 		    (fa->fa_tos != tos))
tos               429 net/ipv4/icmp.c 	inet->tos = ip_hdr(skb)->tos;
tos               444 net/ipv4/icmp.c 	fl4.flowi4_tos = RT_TOS(ip_hdr(skb)->tos);
tos               464 net/ipv4/icmp.c 					__be32 saddr, u8 tos, u32 mark,
tos               478 net/ipv4/icmp.c 	fl4->flowi4_tos = RT_TOS(tos);
tos               525 net/ipv4/icmp.c 				     RT_TOS(tos), rt2->dst.dev);
tos               579 net/ipv4/icmp.c 	u8  tos;
tos               692 net/ipv4/icmp.c 	tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) |
tos               694 net/ipv4/icmp.c 					  iph->tos;
tos               711 net/ipv4/icmp.c 	inet_sk(sk)->tos = tos;
tos               717 net/ipv4/icmp.c 	rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark,
tos               391 net/ipv4/igmp.c 	pip->tos      = 0xc0;
tos               774 net/ipv4/igmp.c 	iph->tos      = 0xc0;
tos               127 net/ipv4/inet_diag.c 		if (nla_put_u8(skb, INET_DIAG_TOS, inet->tos) < 0)
tos               174 net/ipv4/inet_timewait_sock.c 		tw->tw_tos	    = inet->tos;
tos               155 net/ipv4/ip_forward.c 		skb->priority = rt_tos2priority(iph->tos);
tos                71 net/ipv4/ip_fragment.c static u8 ip4_frag_ecn(u8 tos)
tos                73 net/ipv4/ip_fragment.c 	return 1 << (tos & INET_ECN_MASK);
tos               177 net/ipv4/ip_fragment.c 					   iph->tos, head->dev);
tos               292 net/ipv4/ip_fragment.c 	ecn = ip4_frag_ecn(ip_hdr(skb)->tos);
tos               437 net/ipv4/ip_fragment.c 	iph->tos |= ecn;
tos               580 net/ipv4/ip_gre.c 			    tunnel_id_to_key32(key->tun_id), key->tos, 0,
tos               866 net/ipv4/ip_gre.c 					 RT_TOS(t->parms.iph.tos),
tos              1128 net/ipv4/ip_gre.c 		parms->iph.tos = nla_get_u8(data[IFLA_GRE_TOS]);
tos              1483 net/ipv4/ip_gre.c 	    nla_put_u8(skb, IFLA_GRE_TOS, p->iph.tos) ||
tos               339 net/ipv4/ip_input.c 					   iph->tos, dev);
tos               462 net/ipv4/ip_input.c 		       IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK),
tos               651 net/ipv4/ip_options.c 		err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev);
tos               158 net/ipv4/ip_output.c 	iph->tos      = inet->tos;
tos               454 net/ipv4/ip_output.c 		    __u8 tos)
tos               493 net/ipv4/ip_output.c 					   RT_CONN_FLAGS_TOS(sk, tos),
tos               509 net/ipv4/ip_output.c 	*((__be16 *)iph) = htons((4 << 12) | (5 << 8) | (tos & 0xff));
tos              1275 net/ipv4/ip_output.c 	cork->tos = ipc->tos;
tos              1527 net/ipv4/ip_output.c 	iph->tos = (cork->tos != -1) ? cork->tos : inet->tos;
tos              1539 net/ipv4/ip_output.c 	skb->priority = (cork->tos != -1) ? cork->priority: sk->sk_priority;
tos              1691 net/ipv4/ip_output.c 			   RT_TOS(arg->tos),
tos              1702 net/ipv4/ip_output.c 	inet_sk(sk)->tos = arg->tos;
tos                73 net/ipv4/ip_sockglue.c 	put_cmsg(msg, SOL_IP, IP_TOS, 1, &ip_hdr(skb)->tos);
tos               316 net/ipv4/ip_sockglue.c 			ipc->tos = val;
tos               317 net/ipv4/ip_sockglue.c 			ipc->priority = rt_tos2priority(ipc->tos);
tos               748 net/ipv4/ip_sockglue.c 			val |= inet->tos & INET_ECN_MASK;
tos               750 net/ipv4/ip_sockglue.c 		if (inet->tos != val) {
tos               751 net/ipv4/ip_sockglue.c 			inet->tos = val;
tos              1388 net/ipv4/ip_sockglue.c 		val = inet->tos;
tos              1512 net/ipv4/ip_sockglue.c 			int tos = inet->rcv_tos;
tos              1513 net/ipv4/ip_sockglue.c 			put_cmsg(&msg, SOL_IP, IP_TOS, sizeof(tos), &tos);
tos               295 net/ipv4/ip_tunnel.c 				    RT_TOS(iph->tos), tunnel->parms.link,
tos               395 net/ipv4/ip_tunnel.c 					&iph->saddr, iph->tos);
tos               554 net/ipv4/ip_tunnel.c 	u8 tos, ttl;
tos               564 net/ipv4/ip_tunnel.c 	tos = key->tos;
tos               565 net/ipv4/ip_tunnel.c 	if (tos == 1) {
tos               567 net/ipv4/ip_tunnel.c 			tos = inner_iph->tos;
tos               569 net/ipv4/ip_tunnel.c 			tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph);
tos               572 net/ipv4/ip_tunnel.c 			    tunnel_id_to_key32(key->tun_id), RT_TOS(tos),
tos               604 net/ipv4/ip_tunnel.c 	tos = ip_tunnel_ecn_encap(tos, inner_iph, skb);
tos               626 net/ipv4/ip_tunnel.c 	iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl,
tos               651 net/ipv4/ip_tunnel.c 	u8 tos, ttl;
tos               719 net/ipv4/ip_tunnel.c 	tos = tnl_params->tos;
tos               720 net/ipv4/ip_tunnel.c 	if (tos & 0x1) {
tos               721 net/ipv4/ip_tunnel.c 		tos &= ~0x1;
tos               723 net/ipv4/ip_tunnel.c 			tos = inner_iph->tos;
tos               726 net/ipv4/ip_tunnel.c 			tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph);
tos               732 net/ipv4/ip_tunnel.c 			    tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link,
tos               785 net/ipv4/ip_tunnel.c 	tos = ip_tunnel_ecn_encap(tos, inner_iph, skb);
tos               814 net/ipv4/ip_tunnel.c 	iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl,
tos               847 net/ipv4/ip_tunnel.c 	t->parms.iph.tos = p->iph.tos;
tos                48 net/ipv4/ip_tunnel_core.c 		   __u8 tos, __u8 ttl, __be16 df, bool xnet)
tos                72 net/ipv4/ip_tunnel_core.c 	iph->tos	=	tos;
tos               266 net/ipv4/ip_tunnel_core.c 		tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP_TOS]);
tos               297 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP_TOS, tun_info->key.tos) ||
tos               375 net/ipv4/ip_tunnel_core.c 		tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP6_TC]);
tos               397 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.tos) ||
tos               445 net/ipv4/ipip.c 		parms->iph.tos = nla_get_u8(data[IFLA_IPTUN_TOS]);
tos               583 net/ipv4/ipip.c 	    nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
tos               218 net/ipv4/ipmr.c 	frh->tos     = 0;
tos              1785 net/ipv4/ipmr.c 	iph->tos	=	old_iph->tos;
tos              1868 net/ipv4/ipmr.c 					   RT_TOS(iph->tos), vif->link);
tos              1876 net/ipv4/ipmr.c 					   RT_TOS(iph->tos), vif->link);
tos              2076 net/ipv4/ipmr.c 		.flowi4_tos = RT_TOS(iph->tos),
tos                43 net/ipv4/netfilter.c 	fl4.flowi4_tos = RT_TOS(iph->tos);
tos                30 net/ipv4/netfilter/ipt_ECN.c 	if ((iph->tos & IPT_ECN_IP_MASK) != (einfo->ip_ect & IPT_ECN_IP_MASK)) {
tos                35 net/ipv4/netfilter/ipt_ECN.c 		oldtos = iph->tos;
tos                36 net/ipv4/netfilter/ipt_ECN.c 		iph->tos &= ~IPT_ECN_IP_MASK;
tos                37 net/ipv4/netfilter/ipt_ECN.c 		iph->tos |= (einfo->ip_ect & IPT_ECN_IP_MASK);
tos                38 net/ipv4/netfilter/ipt_ECN.c 		csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
tos                79 net/ipv4/netfilter/ipt_rpfilter.c 	flow.flowi4_tos = RT_TOS(iph->tos);
tos                44 net/ipv4/netfilter/iptable_mangle.c 	u_int8_t tos;
tos                54 net/ipv4/netfilter/iptable_mangle.c 	tos = iph->tos;
tos                64 net/ipv4/netfilter/iptable_mangle.c 		    iph->tos != tos) {
tos                35 net/ipv4/netfilter/nf_dup_ipv4.c 	fl4.flowi4_tos = RT_TOS(iph->tos);
tos                61 net/ipv4/netfilter/nf_log_ipv4.c 		       ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK,
tos                62 net/ipv4/netfilter/nf_log_ipv4.c 		       ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id));
tos                54 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->tos	= 0;
tos               109 net/ipv4/netfilter/nft_fib_ipv4.c 	fl4.flowi4_tos = iph->tos & DSCP_BITS;
tos               706 net/ipv4/ping.c 	u8  tos;
tos               769 net/ipv4/ping.c 	tos = get_rttos(&ipc, inet);
tos               773 net/ipv4/ping.c 		tos |= RTO_ONLINK;
tos               784 net/ipv4/ping.c 	flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos,
tos               508 net/ipv4/raw.c 	u8  tos;
tos               601 net/ipv4/raw.c 	tos = get_rtconn_flags(&ipc, sk);
tos               603 net/ipv4/raw.c 		tos |= RTO_ONLINK;
tos               626 net/ipv4/raw.c 	flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos,
tos               527 net/ipv4/route.c 			     int oif, u8 tos,
tos               535 net/ipv4/route.c 		tos = RT_CONN_FLAGS(sk);
tos               538 net/ipv4/route.c 	flowi4_init_output(fl4, oif, mark, tos,
tos               551 net/ipv4/route.c 	u8 tos = RT_TOS(iph->tos);
tos               555 net/ipv4/route.c 	__build_flow_key(net, fl4, sk, iph, oif, tos, prot, mark, 0);
tos               825 net/ipv4/route.c 	u8 tos = RT_TOS(iph->tos);
tos               831 net/ipv4/route.c 	__build_flow_key(net, &fl4, sk, iph, oif, tos, prot, mark, 0);
tos              1064 net/ipv4/route.c 			 RT_TOS(iph->tos), protocol, mark, 0);
tos              1153 net/ipv4/route.c 			 RT_TOS(iph->tos), protocol, 0, 0);
tos              1265 net/ipv4/route.c 			.flowi4_tos = RT_TOS(iph->tos),
tos              1687 net/ipv4/route.c 			  u8 tos, struct net_device *dev,
tos              1708 net/ipv4/route.c 		err = fib_validate_source(skb, saddr, 0, tos, 0, dev,
tos              1718 net/ipv4/route.c 			     u8 tos, struct net_device *dev, int our)
tos              1726 net/ipv4/route.c 	err = ip_mc_validate_source(skb, daddr, saddr, tos, dev, in_dev, &itag);
tos              1784 net/ipv4/route.c 			   __be32 daddr, __be32 saddr, u32 tos)
tos              1802 net/ipv4/route.c 	err = fib_validate_source(skb, saddr, daddr, tos, FIB_RES_OIF(*res),
tos              2010 net/ipv4/route.c 			    __be32 daddr, __be32 saddr, u32 tos,
tos              2022 net/ipv4/route.c 	return __mkroute_input(skb, res, in_dev, daddr, saddr, tos);
tos              2037 net/ipv4/route.c 			       u8 tos, struct net_device *dev,
tos              2101 net/ipv4/route.c 	fl4.flowi4_tos = tos;
tos              2133 net/ipv4/route.c 		err = fib_validate_source(skb, saddr, daddr, tos,
tos              2148 net/ipv4/route.c 	err = ip_mkroute_input(skb, res, in_dev, daddr, saddr, tos, flkeys);
tos              2156 net/ipv4/route.c 		err = fib_validate_source(skb, saddr, 0, tos, 0, dev,
tos              2246 net/ipv4/route.c 			 u8 tos, struct net_device *dev)
tos              2251 net/ipv4/route.c 	tos &= IPTOS_RT_MASK;
tos              2253 net/ipv4/route.c 	err = ip_route_input_rcu(skb, daddr, saddr, tos, dev, &res);
tos              2262 net/ipv4/route.c 		       u8 tos, struct net_device *dev, struct fib_result *res)
tos              2303 net/ipv4/route.c 						tos, dev, our);
tos              2308 net/ipv4/route.c 	return ip_route_input_slow(skb, daddr, saddr, tos, dev, res);
tos              2443 net/ipv4/route.c 	__u8 tos = RT_FL_TOS(fl4);
tos              2453 net/ipv4/route.c 	fl4->flowi4_tos = tos & IPTOS_RT_MASK;
tos              2454 net/ipv4/route.c 	fl4->flowi4_scope = ((tos & RTO_ONLINK) ?
tos               770 net/ipv4/tcp_ipv4.c 	arg.tos = ip_hdr(skb)->tos;
tos               806 net/ipv4/tcp_ipv4.c 			    int reply_flags, u8 tos)
tos               868 net/ipv4/tcp_ipv4.c 	arg.tos = tos;
tos               930 net/ipv4/tcp_ipv4.c 			ip_hdr(skb)->tos);
tos              1449 net/ipv4/tcp_ipv4.c 	newinet->rcv_tos      = ip_hdr(skb)->tos;
tos               979 net/ipv4/udp.c 	u8  tos;
tos              1098 net/ipv4/udp.c 	tos = get_rttos(&ipc, inet);
tos              1102 net/ipv4/udp.c 		tos |= RTO_ONLINK;
tos              1137 net/ipv4/udp.c 		flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos,
tos              2495 net/ipv4/udp.c 						     iph->saddr, iph->tos,
tos               174 net/ipv4/udp_tunnel.c 			 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
tos               192 net/ipv4/udp_tunnel.c 	iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet);
tos                39 net/ipv4/xfrm4_input.c 					 iph->tos, skb->dev))
tos                21 net/ipv4/xfrm4_policy.c 					    int tos, int oif,
tos                30 net/ipv4/xfrm4_policy.c 	fl4->flowi4_tos = tos;
tos                45 net/ipv4/xfrm4_policy.c static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif,
tos                52 net/ipv4/xfrm4_policy.c 	return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark);
tos                25 net/ipv4/xfrm4_state.c 	XFRM_MODE_SKB_CB(skb)->tos = iph->tos;
tos               368 net/ipv6/fib6_rules.c 	rule6->tclass = frh->tos;
tos               401 net/ipv6/fib6_rules.c 	if (frh->tos && (rule6->tclass != frh->tos))
tos               422 net/ipv6/fib6_rules.c 	frh->tos = rule6->tclass;
tos               745 net/ipv6/ip6_gre.c 		dsfield = key->tos;
tos               980 net/ipv6/ip6_gre.c 		dsfield = key->tos;
tos               613 net/ipv6/ip6_tunnel.c 				   0, 0, 0, IPPROTO_IPIP, RT_TOS(eiph->tos), 0);
tos               624 net/ipv6/ip6_tunnel.c 					   IPPROTO_IPIP, RT_TOS(eiph->tos), 0);
tos               632 net/ipv6/ip6_tunnel.c 		if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos,
tos              1262 net/ipv6/ip6_tunnel.c 		dsfield =  key->tos;
tos              1334 net/ipv6/ip6_tunnel.c 		dsfield = key->tos;
tos               205 net/ipv6/ip6mr.c 	frh->tos     = 0;
tos               676 net/ipv6/sit.c 						     &iph->saddr, iph->tos);
tos               822 net/ipv6/sit.c 	u8     tos = tunnel->parms.iph.tos;
tos               836 net/ipv6/sit.c 	if (tos == 1)
tos               837 net/ipv6/sit.c 		tos = ipv6_get_dsfield(iph6);
tos               900 net/ipv6/sit.c 			   RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6,
tos               988 net/ipv6/sit.c 	tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6));
tos               997 net/ipv6/sit.c 	iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl,
tos              1075 net/ipv6/sit.c 							  RT_TOS(iph->tos),
tos              1112 net/ipv6/sit.c 	t->parms.iph.tos = p->iph.tos;
tos              1478 net/ipv6/sit.c 		parms->iph.tos = nla_get_u8(data[IFLA_IPTUN_TOS]);
tos              1708 net/ipv6/sit.c 	    nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
tos                26 net/ipv6/xfrm6_policy.c static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif,
tos                31 net/ipv6/xfrm6_state.c 	XFRM_MODE_SKB_CB(skb)->tos = ipv6_get_dsfield(iph);
tos              1255 net/netfilter/ipvs/ip_vs_xmit.c 	iph->tos		=	dsfield;
tos               137 net/netfilter/nf_queue.c 		rt_info->tos = iph->tos;
tos               423 net/netfilter/nf_synproxy_core.c 	iph->tos	= 0;
tos                26 net/netfilter/nft_chain_route.c 	u8 tos;
tos                35 net/netfilter/nft_chain_route.c 	tos = iph->tos;
tos                44 net/netfilter/nft_chain_route.c 		    iph->tos != tos) {
tos               398 net/netfilter/nft_tunnel.c 		info.key.tos = nla_get_u8(tb[NFTA_TUNNEL_KEY_TOS]);
tos               546 net/netfilter/nft_tunnel.c 	    nla_put_u8(skb, NFTA_TUNNEL_KEY_TOS, info->key.tos) ||
tos               190 net/netfilter/utils.c 		if (!(iph->tos == rt_info->tos &&
tos                57 net/netfilter/xt_dscp.c 		return ((ip_hdr(skb)->tos & info->tos_mask) ==
tos                66 net/netfilter/xt_ecn.c 	return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^
tos               481 net/openvswitch/actions.c 		flow_key->ip.tos = nh->tos;
tos               551 net/openvswitch/actions.c 		flow_key->ip.tos = ipv6_get_dsfield(nh);
tos               258 net/openvswitch/flow.c 	key->ip.tos = ipv6_get_dsfield(nh);
tos               557 net/openvswitch/flow.c 		key->ip.tos = nh->tos;
tos                92 net/openvswitch/flow.h 			u8     tos;	    /* IP ToS. */
tos               708 net/openvswitch/flow_netlink.c 			SW_FLOW_KEY_PUT(match, tun_key.tos,
tos               816 net/openvswitch/flow_netlink.c 				    match->key->tun_key.tos ||
tos               893 net/openvswitch/flow_netlink.c 	if (output->tos &&
tos               894 net/openvswitch/flow_netlink.c 	    nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TOS, output->tos))
tos              1547 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.tos,
tos              1580 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.tos,
tos              2080 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_tos = output->ip.tos;
tos              2096 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_tclass = output->ip.tos;
tos               258 net/rds/af_rds.c 	rds_tos_t utos, tos = 0;
tos               267 net/rds/af_rds.c 			tos = rs->rs_transport->get_tos_map(utos);
tos               276 net/rds/af_rds.c 		rs->rs_tos = tos;
tos               281 net/rds/af_rds.c 		tos = rs->rs_tos;
tos               283 net/rds/af_rds.c 		if (put_user(tos, (rds_tos_t __user *)arg))
tos                87 net/rds/connection.c 					      u8 tos, int dev_if)
tos                95 net/rds/connection.c 		    conn->c_tos == tos &&
tos               164 net/rds/connection.c 						gfp_t gfp, u8 tos,
tos               176 net/rds/connection.c 	conn = rds_conn_lookup(net, head, laddr, faddr, trans, tos, dev_if);
tos               210 net/rds/connection.c 	conn->c_tos = tos;
tos               303 net/rds/connection.c 					tos, dev_if);
tos               338 net/rds/connection.c 				       struct rds_transport *trans, u8 tos,
tos               341 net/rds/connection.c 	return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 0, dev_if);
tos               349 net/rds/connection.c 						u8 tos, gfp_t gfp, int dev_if)
tos               351 net/rds/connection.c 	return __rds_conn_create(net, laddr, faddr, trans, gfp, tos, 1, dev_if);
tos               739 net/rds/connection.c 	cinfo->tos = conn->c_tos;
tos               305 net/rds/ib.c   		iinfo->tos = conn->c_tos;
tos               342 net/rds/ib.c   		iinfo6->tos = conn->c_tos;
tos               524 net/rds/ib.c   static u8 rds_ib_get_tos_map(u8 tos)
tos               530 net/rds/ib.c   	return tos;
tos                47 net/rds/rdma_transport.c #define TOS_TO_SL(tos)		((tos) & 0xF)
tos               581 net/rds/rds.h  	u8 (*get_tos_map)(u8 tos);
tos               773 net/rds/rds.h  				       u8 tos, gfp_t gfp,
tos               779 net/rds/rds.h  						u8 tos, gfp_t gfp, int dev_if);
tos               787 net/rds/recv.c 	minfo.tos = inc->i_conn->c_tos;
tos               816 net/rds/recv.c 	minfo6.tos = inc->i_conn->c_tos;
tos               270 net/rds/tcp.c  		tsinfo.tos = tc->t_cpath->cp_conn->c_tos;
tos               456 net/rds/tcp.c  static u8 rds_tcp_get_tos_map(u8 tos)
tos               230 net/sched/act_tunnel_key.c 	u8 tos, ttl;
tos               290 net/sched/act_tunnel_key.c 		tos = 0;
tos               292 net/sched/act_tunnel_key.c 			tos = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_TOS]);
tos               305 net/sched/act_tunnel_key.c 			metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl,
tos               316 net/sched/act_tunnel_key.c 			metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port,
tos               552 net/sched/act_tunnel_key.c 		if (key->tos && nla_put_u8(skb, TCA_TUNNEL_KEY_ENC_TOS, key->tos))
tos               851 net/sched/cls_flower.c 	fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos));
tos              2050 net/sched/cls_flower.c 	if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) ||
tos               419 net/sctp/protocol.c 	__u8 tos = inet_sk(sk)->tos;
tos               422 net/sctp/protocol.c 		tos = t->dscp & SCTP_DSCP_VAL_MASK;
tos               428 net/sctp/protocol.c 		fl4->flowi4_tos = RT_CONN_FLAGS_TOS(asoc->base.sk, tos);
tos               495 net/sctp/protocol.c 				     RT_CONN_FLAGS_TOS(asoc->base.sk, tos),
tos               563 net/sctp/protocol.c 	return INET_ECN_is_ce(ip_hdr(skb)->tos);
tos               977 net/sctp/protocol.c 	__u8 dscp = inet->tos;
tos                19 net/xfrm/xfrm_inout.h 	ipv6_change_dsfield(iph, 0, XFRM_MODE_SKB_CB(skb)->tos);
tos                31 net/xfrm/xfrm_inout.h 	iph->tos = XFRM_MODE_SKB_CB(skb)->tos;
tos               221 net/xfrm/xfrm_input.c 	if (INET_ECN_is_ce(XFRM_MODE_SKB_CB(skb)->tos))
tos               240 net/xfrm/xfrm_input.c 		ipv4_copy_dscp(XFRM_MODE_SKB_CB(skb)->tos, ipip_hdr(skb));
tos               259 net/xfrm/xfrm_input.c 	if (INET_ECN_is_ce(XFRM_MODE_SKB_CB(skb)->tos))
tos               213 net/xfrm/xfrm_output.c 		top_iph->tos = 0;
tos               215 net/xfrm/xfrm_output.c 		top_iph->tos = XFRM_MODE_SKB_CB(skb)->tos;
tos               216 net/xfrm/xfrm_output.c 	top_iph->tos = INET_ECN_encapsulate(top_iph->tos,
tos               217 net/xfrm/xfrm_output.c 					    XFRM_MODE_SKB_CB(skb)->tos);
tos               260 net/xfrm/xfrm_output.c 		dsfield = XFRM_MODE_SKB_CB(skb)->tos;
tos               261 net/xfrm/xfrm_output.c 	dsfield = INET_ECN_encapsulate(dsfield, XFRM_MODE_SKB_CB(skb)->tos);
tos               250 net/xfrm/xfrm_policy.c struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif,
tos               262 net/xfrm/xfrm_policy.c 	dst = afinfo->dst_lookup(net, tos, oif, saddr, daddr, mark);
tos               271 net/xfrm/xfrm_policy.c 						int tos, int oif,
tos               290 net/xfrm/xfrm_policy.c 	dst = __xfrm_dst_lookup(net, tos, oif, saddr, daddr, family, mark);
tos              2548 net/xfrm/xfrm_policy.c 	int tos;
tos              2554 net/xfrm/xfrm_policy.c 	tos = xfrm_get_tos(fl, family);
tos              2598 net/xfrm/xfrm_policy.c 			dst = xfrm_dst_lookup(xfrm[i], tos, fl->flowi_oif,
tos              3281 net/xfrm/xfrm_policy.c 	fl4->flowi4_tos = iph->tos;
tos               130 samples/bpf/hbm_kern.h 		pkti->ecn = iph.tos & INET_ECN_MASK;
tos                21 samples/bpf/tcbpf1_kern.c #define TOS_OFF (ETH_HLEN + offsetof(struct iphdr, tos))
tos                31 samples/bpf/tcp_tos_reflect_kern.c 	int tos = 0;
tos                55 samples/bpf/tcp_tos_reflect_kern.c 				tos = hdr->tos;
tos                56 samples/bpf/tcp_tos_reflect_kern.c 				if (tos != 0)
tos                58 samples/bpf/tcp_tos_reflect_kern.c 						       &tos, sizeof(tos));
tos                61 samples/bpf/tcp_tos_reflect_kern.c 				tos = ((hdr6->priority) << 4 |
tos                63 samples/bpf/tcp_tos_reflect_kern.c 				if (tos)
tos                66 samples/bpf/tcp_tos_reflect_kern.c 						       &tos, sizeof(tos));
tos               105 samples/bpf/xdp_adjust_tail_kern.c 	iph->tos = 0;
tos                72 samples/bpf/xdp_fwd_kern.c 		fib_params.tos		= iph->tos;
tos               134 samples/bpf/xdp_tx_iptunnel_kern.c 	iph->tos = 0;
tos              3511 tools/include/uapi/linux/bpf.h 		__u8	tos;		/* AF_INET  */
tos               135 tools/testing/selftests/bpf/progs/test_xdp.c 	iph->tos = 0;
tos               131 tools/testing/selftests/bpf/progs/test_xdp_loop.c 	iph->tos = 0;
tos               355 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	iph->tos = 1;
tos               167 tools/testing/selftests/bpf/test_flow_dissector.c 			      int payload_len, uint8_t tos)
tos               173 tools/testing/selftests/bpf/test_flow_dissector.c 	iph->tos = tos;
tos               265 tools/testing/selftests/net/msg_zerocopy.c 	iph->tos	= 0;