Searched refs:tos (Results 1 - 25 of 303) sorted by path

1234567891011>>

/linux-master/include/uapi/linux/
H A Dfib_rules.h23 __u8 tos; member in struct:fib_rule_hdr
H A Din_route.h31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debt_ip.h39 __u8 tos; member in struct:ebt_ip_info
/linux-master/net/bridge/netfilter/
H A Debt_ip.c50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos))
H A Debt_log.c107 pr_cont(" IP SRC=%pI4 IP DST=%pI4, IP tos=0x%02X, IP proto=%d",
108 &ih->saddr, &ih->daddr, ih->tos, ih->protocol);
/linux-master/net/ipv4/netfilter/
H A Dipt_ECN.c30 if ((iph->tos & IPT_ECN_IP_MASK) != (einfo->ip_ect & IPT_ECN_IP_MASK)) {
35 oldtos = iph->tos;
36 iph->tos &= ~IPT_ECN_IP_MASK;
37 iph->tos |= (einfo->ip_ect & IPT_ECN_IP_MASK);
38 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
/linux-master/net/netfilter/
H A Dxt_dscp.c57 return ((ip_hdr(skb)->tos & info->tos_mask) ==
82 .name = "tos",
90 .name = "tos",
H A Dxt_ecn.c66 return ((ip_hdr(skb)->tos & XT_ECN_IP_MASK) == einfo->ip_ect) ^
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre.sh21 ttl 100 tos inherit allow-localremote \
48 ttl 100 tos inherit allow-localremote
140 ip link set dev $tundev type $type tos 0x10
144 ip link set dev $tundev type $type tos inherit
/linux-master/tools/testing/selftests/net/forwarding/
H A Dipip_lib.sh25 # | tos=inherit | |
50 # | tos=inherit |
80 # | | tos=inherit | |
132 # | | tos=inherit | |
182 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit "$@"
217 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 \
253 tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \
292 tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \
H A Dmirror_gre_lag_lacp.sh28 # | tos=inherit | |
147 ttl 100 tos inherit
/linux-master/arch/x86/events/amd/
H A Dbrs.c163 /* tos = top of stack, i.e., last valid entry written */
287 u32 i, nr = 0, num, tos, start; local
311 * tos = most recent entry index = msr.off - 1
313 * start < tos and that we have to read from start to tos
316 tos = amd_brs_get_tos(&cfg);
318 num = tos - start + 1;
325 u32 brs_idx = tos - i;
/linux-master/arch/x86/events/intel/
H A Dlbr.c209 u64 tos; local
211 rdmsrl(x86_pmu.lbr_tos, tos);
212 return tos;
364 u64 tos = task_ctx->tos; local
370 lbr_idx = (tos - i) & mask;
375 lbr_idx = (tos - i) & mask;
382 wrmsrl(x86_pmu.lbr_tos, tos);
421 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL);
457 u64 tos; local
732 u64 tos = intel_pmu_lbr_tos(); local
767 u64 tos = intel_pmu_lbr_tos(); local
[all...]
/linux-master/arch/x86/events/
H A Dperf_event.h968 int tos; member in struct:x86_perf_task_context
/linux-master/arch/x86/include/asm/
H A Dirq_stack.h37 * @tos:
38 * The @tos variable holds a pointer to the top of the irq stack and
42 * Note, that (tos) is both in input and output constraints to ensure
58 * As documented already above the @tos variable is required to be in
70 * - tos:
83 register void *tos asm("r11"); \
85 tos = ((void *)(stack)); \
88 "movq %%rsp, (%[tos]) \n" \
89 "movq %[tos], %%rsp \n" \
95 : "+r" (tos), ASM_CALL_CONSTRAIN
[all...]
/linux-master/arch/x86/kernel/fpu/
H A Dregset.c288 u32 tos = (fxsave->swd >> 11) & 7; local
296 st = FPREG_ADDR(fxsave, (i - tos) & 7);
/linux-master/drivers/infiniband/core/
H A Dcma.c2657 id->tos = id_priv->tos;
2722 dev_id_priv->tos = id_priv->tos;
2765 void rdma_set_service_type(struct rdma_cm_id *id, int tos) argument
2771 id_priv->tos = (u8) tos;
2950 path_rec.qos_class = cpu_to_be16((u16) id_priv->tos);
3223 static int iboe_tos_to_sl(struct net_device *ndev, int tos) argument
3226 int prio = rt_tos2priority(tos);
3279 u8 tos; local
[all...]
H A Dcma_configfs.c152 u8 tos; local
158 tos = cma_get_default_roce_tos(cma_dev, group->port_num);
161 return sysfs_emit(buf, "%u\n", tos);
170 u8 tos; local
172 ret = kstrtou8(buf, 0, &tos);
180 ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos);
H A Dcma_priv.h94 u8 tos; member in struct:rdma_id_private
H A Dcma_trace.h30 __field(u32, tos)
37 __entry->tos = id_priv->tos;
44 TP_printk("cm.id=%u src=%pISpc dst=%pISpc tos=%u",
45 __entry->cm_id, __entry->srcaddr, __entry->dstaddr, __entry->tos
105 __field(u32, tos)
113 __entry->tos = id_priv->tos;
121 TP_printk("cm.id=%u src=%pISpc dst=%pISpc tos=%u qp_num=%u",
122 __entry->cm_id, __entry->srcaddr, __entry->dstaddr, __entry->tos,
[all...]
H A Dud_header.c129 { STRUCT_FIELD(ip4, tos),
289 iph.tos = header->ip4.tos;
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c2326 qp->qp1_hdr.ip4.tos = 0;
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dcm.c796 DSCP_V(ep->tos >> 2) |
2012 DSCP_V(ep->tos >> 2) |
2073 bool clear_mpa_v1, enum chip_type adapter_type, u8 tos)
2103 n, pdev, rt_tos2priority(tos));
2124 n, pdev, rt_tos2priority(tos));
2206 raddr->sin_port, ep->com.cm_id->tos);
2216 ep->com.cm_id->tos,
2228 ep->com.cm_id->tos);
2239 ep->tos = ep->com.cm_id->tos;
2071 import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip, struct dst_entry *dst, struct c4iw_dev *cdev, bool clear_mpa_v1, enum chip_type adapter_type, u8 tos) argument
2525 u8 tos; local
3924 build_cpl_pass_accept_req(struct sk_buff *skb, int stid , u8 tos) argument
[all...]
H A Diw_cxgb4.h893 u8 tos; member in struct:c4iw_ep
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c494 iph->tos = cm_node->tos;
524 ip6h->priority = cm_node->tos >> 4;
525 ip6h->flow_lbl[0] = cm_node->tos << 4;
2176 ah_info.tc_tos = cm_node->tos;
2253 cm_node->tos = cm_info->tos;
2256 if (listener->tos != cm_info->tos)
2259 listener->tos, cm_inf
[all...]

Completed in 355 milliseconds

1234567891011>>