Home
last modified time | relevance | path

Searched refs:tos (Results 51 - 75 of 681) sorted by relevance

12345678910>>...28

/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/include/
H A Dtrans_udp_channel_manager.h42 uint8_t tos; member
81 int32_t UdpChannelFileTransLimit(const ChannelInfo *channel, uint8_t tos);
83 int32_t UdpChannelFileTransRecoveryLimit(uint8_t tos);
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dlbr.c289 u64 tos; in intel_pmu_lbr_tos() local
291 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
292 return tos; in intel_pmu_lbr_tos()
447 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() local
451 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
456 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
463 wrmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_restore()
502 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL); in lbr_is_reset_in_cstate()
538 u64 tos; in intel_pmu_lbr_save() local
789 u64 tos = intel_pmu_lbr_tos(); intel_pmu_lbr_read_32() local
828 u64 tos = intel_pmu_lbr_tos(); intel_pmu_lbr_read_64() local
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dlbr.c209 u64 tos; in intel_pmu_lbr_tos() local
211 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
212 return tos; in intel_pmu_lbr_tos()
364 u64 tos = task_ctx->tos; in intel_pmu_lbr_restore() local
370 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
375 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
382 wrmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_restore()
421 return !rdlbr_from(((struct x86_perf_task_context *)ctx)->tos, NULL); in lbr_is_reset_in_cstate()
457 u64 tos; in intel_pmu_lbr_save() local
713 u64 tos = intel_pmu_lbr_tos(); intel_pmu_lbr_read_32() local
748 u64 tos = intel_pmu_lbr_tos(); intel_pmu_lbr_read_64() local
[all...]
/third_party/lwip/src/core/ipv4/
H A Dip4.c817 * @param tos the TOS value to be set in the IP header
829 u8_t ttl, u8_t tos,
833 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
856 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif,
859 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif);
869 u8_t ttl, u8_t tos,
873 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0);
882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
962 IPH_TOS_SET(iphdr, tos);
828 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument
843 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument
868 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument
881 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument
1069 ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) global() argument
1111 ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint) global() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcma_configfs.c153 u8 tos; in default_roce_tos_show() local
159 tos = cma_get_default_roce_tos(cma_dev, group->port_num); in default_roce_tos_show()
162 return sprintf(buf, "%u\n", tos); in default_roce_tos_show()
171 u8 tos; in default_roce_tos_store() local
173 ret = kstrtou8(buf, 0, &tos); in default_roce_tos_store()
181 ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos); in default_roce_tos_store()
/kernel/linux/linux-6.6/include/net/
H A Ddst_metadata.h199 __u8 tos, __u8 ttl, in __ip_tun_set_dst()
212 saddr, daddr, tos, ttl, in __ip_tun_set_dst()
224 return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst()
230 __u8 tos, __u8 ttl, in __ipv6_tun_set_dst()
254 info->key.tos = tos; in __ipv6_tun_set_dst()
197 __ip_tun_set_dst(__be32 saddr, __be32 daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be16 flags, __be64 tunnel_id, int md_size) __ip_tun_set_dst() argument
228 __ipv6_tun_set_dst(const struct in6_addr *saddr, const struct in6_addr *daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be32 label, __be16 flags, __be64 tunnel_id, int md_size) __ipv6_tun_set_dst() argument
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcma_configfs.c152 u8 tos; in default_roce_tos_show() local
158 tos = cma_get_default_roce_tos(cma_dev, group->port_num); in default_roce_tos_show()
161 return sysfs_emit(buf, "%u\n", tos); in default_roce_tos_show()
170 u8 tos; in default_roce_tos_store() local
172 ret = kstrtou8(buf, 0, &tos); in default_roce_tos_store()
180 ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos); in default_roce_tos_store()
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h119 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
120 TP_ARGS(iwdev, tos, user_pri),
122 __field(u8, tos)
126 __entry->tos = tos;
131 __entry->tos,
137 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
138 TP_ARGS(iwdev, tos, user_pri));
141 TP_PROTO(struct irdma_device *iwdev, u8 tos, u8 user_pri),
142 TP_ARGS(iwdev, tos, user_pr
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_tunnel.c297 RT_TOS(iph->tos), tunnel->parms.link, in ip_tunnel_bind_dev()
412 &iph->saddr, iph->tos); in ip_tunnel_rcv()
581 u8 tos, ttl; in ip_md_tunnel_xmit() local
591 tos = key->tos; in ip_md_tunnel_xmit()
592 if (tos == 1) { in ip_md_tunnel_xmit()
594 tos = inner_iph->tos; in ip_md_tunnel_xmit()
596 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_md_tunnel_xmit()
599 tunnel_id_to_key32(key->tun_id), RT_TOS(tos), in ip_md_tunnel_xmit()
675 u8 tos, ttl; ip_tunnel_xmit() local
[all...]
H A Droute.c535 __u8 tos = RT_FL_TOS(fl4); in ip_rt_fix_tos() local
537 fl4->flowi4_tos = tos & IPTOS_RT_MASK; in ip_rt_fix_tos()
538 fl4->flowi4_scope = tos & RTO_ONLINK ? in ip_rt_fix_tos()
545 int oif, u8 tos, in __build_flow_key()
553 tos = RT_CONN_FLAGS(sk); in __build_flow_key()
556 flowi4_init_output(fl4, oif, mark, tos, in __build_flow_key()
569 u8 tos = RT_TOS(iph->tos); in build_skb_flow_key() local
573 __build_flow_key(net, fl4, sk, iph, oif, tos, prot, mark, 0); in build_skb_flow_key()
859 u8 tos in ip_do_redirect() local
542 __build_flow_key(const struct net *net, struct flowi4 *fl4, const struct sock *sk, const struct iphdr *iph, int oif, u8 tos, u8 prot, u32 mark, int flow_flags) __build_flow_key() argument
1727 ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct in_device *in_dev, u32 *itag) ip_mc_validate_source() argument
1758 ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, int our) ip_route_input_mc() argument
1828 __mkroute_input(struct sk_buff *skb, const struct fib_result *res, struct in_device *in_dev, __be32 daddr, __be32 saddr, u32 tos) __mkroute_input() argument
2054 ip_mkroute_input(struct sk_buff *skb, struct fib_result *res, struct in_device *in_dev, __be32 daddr, __be32 saddr, u32 tos, struct flow_keys *hkeys) ip_mkroute_input() argument
2077 ip_route_use_hint(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, const struct sk_buff *hint) ip_route_use_hint() argument
2142 ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct fib_result *res) ip_route_input_slow() argument
2357 ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev) ip_route_input_noref() argument
2373 ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, struct fib_result *res) ip_route_input_rcu() argument
2825 __u8 tos; ip_route_output_tunnel() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_tunnel.c297 RT_TOS(iph->tos), dev_net(dev), in ip_tunnel_bind_dev()
426 &iph->saddr, iph->tos); in ip_tunnel_rcv()
595 u8 tos, ttl; in ip_md_tunnel_xmit() local
605 tos = key->tos; in ip_md_tunnel_xmit()
606 if (tos == 1) { in ip_md_tunnel_xmit()
608 tos = inner_iph->tos; in ip_md_tunnel_xmit()
610 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_md_tunnel_xmit()
613 tunnel_id_to_key32(key->tun_id), RT_TOS(tos), in ip_md_tunnel_xmit()
695 u8 tos, ttl; ip_tunnel_xmit() local
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Din_route.h31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
/kernel/linux/linux-6.6/include/uapi/linux/
H A Din_route.h31 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Din_route.h39 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Din_route.h39 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Din_route.h26 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
/kernel/linux/linux-5.10/include/trace/events/
H A Dfib.h26 __field( __u8, tos )
48 __entry->tos = flp->flowi4_tos;
94 TP_printk("table %u oif %d iif %d proto %u %pI4/%u -> %pI4/%u tos %d scope %d flags %x ==> dev %s gw %pI4/%pI6c err %d",
97 __entry->tos, __entry->scope, __entry->flags,
H A Dfib6.h25 __field( __u8, tos )
45 __entry->tos = ip6_tclass(flp->flowlabel);
82 TP_printk("table %3u oif %d iif %d proto %u %pI6c/%u -> %pI6c/%u tos %d scope %d flags %x ==> dev %s gw %pI6c err %d",
85 __entry->tos, __entry->scope, __entry->flags,
/kernel/linux/linux-6.6/include/trace/events/
H A Dfib.h26 __field( __u8, tos )
47 __entry->tos = flp->flowi4_tos;
93 TP_printk("table %u oif %d iif %d proto %u %pI4/%u -> %pI4/%u tos %d scope %d flags %x ==> dev %s gw %pI4/%pI6c err %d",
96 __entry->tos, __entry->scope, __entry->flags,
H A Dfib6.h25 __field( __u8, tos )
45 __entry->tos = ip6_tclass(flp->flowlabel);
79 TP_printk("table %3u oif %d iif %d proto %u %pI6c/%u -> %pI6c/%u tos %d scope %d flags %x ==> dev %s gw %pI6c err %d",
82 __entry->tos, __entry->scope, __entry->flags,
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_channel_manager.c583 static void FillNotifyList(ListNode *notifyList, uint8_t tos) in FillNotifyList() argument
592 udpChannelNode->tos != tos) { in FillNotifyList()
603 static int32_t ModifyUdpChannelTos(uint8_t tos) in ModifyUdpChannelTos() argument
611 FillNotifyList(&notifyList, tos); in ModifyUdpChannelTos()
613 TRANS_LOGI(TRANS_CTRL, "no need to modify tos."); in ModifyUdpChannelTos()
620 ret = ClientIpcOnTransLimitChange(notifyNode->pkgName, notifyNode->pid, notifyNode->channelId, tos); in ModifyUdpChannelTos()
637 udpChannelNodeTemp->tos = tos; in ModifyUdpChannelTos()
648 int32_t UdpChannelFileTransLimit(const ChannelInfo *channel, uint8_t tos) in UdpChannelFileTransLimit() argument
671 UdpChannelFileTransRecoveryLimit(uint8_t tos) UdpChannelFileTransRecoveryLimit() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_topo_lib.sh23 # | | : tos=inherit : tos=inherit |
32 # | tos=inherit tos=inherit |
64 ttl 100 tos inherit
67 ttl 100 tos inherit allow-localremote
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_topo_lib.sh23 # | | : tos=inherit : tos=inherit |
32 # | tos=inherit tos=inherit |
64 ttl 100 tos inherit
67 ttl 100 tos inherit allow-localremote
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c201 fl4.flowi4_tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4()
257 ip->tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4()
367 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_tc_tun_create_header_ipv6()
422 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_create_header_ipv6()
603 match.mask->tos & 0x3); in mlx5e_tc_tun_parse()
605 match.key->tos & 0x3); in mlx5e_tc_tun_parse()
608 match.mask->tos >> 2); in mlx5e_tc_tun_parse()
610 match.key->tos >> 2); in mlx5e_tc_tun_parse()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_core.sh436 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
451 $h3_mac tos=0x01
492 $h3_mac tos=0x01
519 $h3_mac tos=0x01
523 backlog=$(build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01)
531 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
588 $h3_mac tos=0x01
593 build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01 >/dev/null
602 build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01 >/dev/null

Completed in 16 milliseconds

12345678910>>...28