Home
last modified time | relevance | path

Searched refs:tos (Results 126 - 150 of 653) sorted by relevance

12345678910>>...27

/third_party/musl/porting/liteos_m/kernel/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/lwip/src/include/lwip/prot/
H A Dip4.h120 #define IPH_TOS_SET(hdr, tos) (hdr)->_tos = (tos)
/third_party/musl/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh183 nolearning noudpcsum tos inherit ttl 100
191 nolearning noudpcsum tos inherit ttl 100
207 nolearning noudpcsum tos inherit ttl 100
354 nolearning noudpcsum tos inherit ttl 100
362 nolearning noudpcsum tos inherit ttl 100
370 nolearning noudpcsum tos inherit ttl 100
H A Dmirror_gre_bound.sh21 # | | : tos=inherit : tos=inherit | |
37 # | tos=inherit tos=inherit |
125 ttl 100 tos inherit dev ul
130 ttl 100 tos inherit dev ul allow-localremote
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh183 nolearning noudpcsum tos inherit ttl 100
191 nolearning noudpcsum tos inherit ttl 100
207 nolearning noudpcsum tos inherit ttl 100
354 nolearning noudpcsum tos inherit ttl 100
362 nolearning noudpcsum tos inherit ttl 100
370 nolearning noudpcsum tos inherit ttl 100
H A Dmirror_gre_bound.sh21 # | | : tos=inherit : tos=inherit | |
37 # | tos=inherit tos=inherit |
126 ttl 100 tos inherit dev ul
131 ttl 100 tos inherit dev ul allow-localremote
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c557 if (ipv4_usr_mask->tos) { in otx2_prepare_ipv4_flow()
558 pkt->tos = ipv4_usr_hdr->tos; in otx2_prepare_ipv4_flow()
559 pmask->tos = ipv4_usr_mask->tos; in otx2_prepare_ipv4_flow()
610 if (ipv4_l4_mask->tos) { in otx2_prepare_ipv4_flow()
611 pkt->tos = ipv4_l4_hdr->tos; in otx2_prepare_ipv4_flow()
612 pmask->tos = ipv4_l4_mask->tos; in otx2_prepare_ipv4_flow()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_tunnel_key.c374 u8 tos, ttl; in tunnel_key_init() local
434 tos = 0; in tunnel_key_init()
436 tos = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_TOS]); in tunnel_key_init()
449 metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl, in tunnel_key_init()
460 metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, in tunnel_key_init()
752 if (key->tos && nla_put_u8(skb, TCA_TUNNEL_KEY_ENC_TOS, key->tos)) in tunnel_key_dump()
/kernel/linux/linux-6.6/net/sched/
H A Dact_tunnel_key.c375 u8 tos, ttl; in tunnel_key_init() local
438 tos = 0; in tunnel_key_init()
440 tos = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_TOS]); in tunnel_key_init()
453 metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl, in tunnel_key_init()
464 metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, in tunnel_key_init()
758 if (key->tos && nla_put_u8(skb, TCA_TUNNEL_KEY_ENC_TOS, key->tos)) in tunnel_key_dump()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dnip_sockglue.c88 inet->tos = val; in do_nip_setsockopt()
137 val = inet->tos; in do_nip_getsockopt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh_fib.c39 fib_params->tos = ip4h->tos; in fill_fib_params_v4()
/kernel/linux/linux-5.10/net/bridge/netfilter/
H A Debt_ip.c50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh_fib.c39 fib_params->tos = ip4h->tos; in fill_fib_params_v4()
/kernel/linux/linux-6.6/net/bridge/netfilter/
H A Debt_ip.c50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_cm.h301 u8 tos; member
348 u8 tos; member
375 u8 tos; member
/kernel/linux/linux-5.10/net/ipv6/
H A Dsit.c712 &iph->saddr, iph->tos); in ipip6_rcv()
858 u8 tos = tunnel->parms.iph.tos; in ipip6_tunnel_xmit() local
872 if (tos == 1) in ipip6_tunnel_xmit()
873 tos = ipv6_get_dsfield(iph6); in ipip6_tunnel_xmit()
936 RT_TOS(tos), RT_SCOPE_UNIVERSE, IPPROTO_IPV6, in ipip6_tunnel_xmit()
1024 tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6)); in ipip6_tunnel_xmit()
1033 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ipip6_tunnel_xmit()
1112 RT_TOS(iph->tos), in ipip6_tunnel_bind_dev()
[all...]
H A Dfib6_rules.c380 rule6->tclass = frh->tos; in fib6_rule_configure()
413 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare()
434 frh->tos = rule6->tclass; in fib6_rule_fill()
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_fragment.c71 static u8 ip4_frag_ecn(u8 tos) in ip4_frag_ecn() argument
73 return 1 << (tos & INET_ECN_MASK); in ip4_frag_ecn()
178 iph->tos, head->dev); in ip_expire()
293 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); in ip_frag_queue()
438 iph->tos |= ecn; in ip_frag_reasm()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c52 if (fltr->ip_mask.tos && fltr->ip_mask.tos != U8_MAX) in iavf_validate_fdir_fltr_masks()
319 if (fltr->ip_mask.tos == U8_MAX) { in iavf_fill_fdir_ip4_hdr()
320 iph->tos = fltr->ip_data.tos; in iavf_fill_fdir_ip4_hdr()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_fragment.c71 static u8 ip4_frag_ecn(u8 tos) in ip4_frag_ecn() argument
73 return 1 << (tos & INET_ECN_MASK); in ip4_frag_ecn()
179 iph->tos, head->dev); in ip_expire()
299 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); in ip_frag_queue()
446 iph->tos |= ecn; in ip_frag_reasm()
H A Dip_tunnel_core.c52 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit()
76 iph->tos = tos; in iptunnel_xmit()
234 .tos = 0, in iptunnel_pmtud_build_icmp()
706 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP_TOS]); in ip_tun_build_state()
847 nla_put_u8(skb, LWTUNNEL_IP_TOS, tun_info->key.tos) || in ip_tun_fill_encap_info()
985 tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP6_TC]); in ip6_tun_build_state()
1009 nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.tos) || in ip6_tun_fill_encap_info()
1137 parms->iph.tos = nla_get_u8(data[IFLA_IPTUN_TOS]); in ip_tunnel_netlink_parms()
50 iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) iptunnel_xmit() argument
/third_party/toybox/toys/pending/
H A Dtraceroute.c56 long tos;
564 perror_exit("IP_TOS %ld failed ", TT.tos); in traceroute_main()
571 } else if (setsockopt(TT.snd_sock, IPPROTO_IPV6, IPV6_TCLASS, &TT.tos, in traceroute_main()
572 sizeof(TT.tos)) < 0) perror_exit("IPV6_TCLASS %ld failed ", TT.tos); in traceroute_main()
/kernel/linux/linux-5.10/net/rds/
H A Dib.c309 iinfo->tos = conn->c_tos; in rds_ib_conn_info_visitor()
346 iinfo6->tos = conn->c_tos; in rds6_ib_conn_info_visitor()
528 static u8 rds_ib_get_tos_map(u8 tos) in rds_ib_get_tos_map() argument
534 return tos; in rds_ib_get_tos_map()
/kernel/linux/linux-6.6/net/rds/
H A Dib.c309 iinfo->tos = conn->c_tos; in rds_ib_conn_info_visitor()
346 iinfo6->tos = conn->c_tos; in rds6_ib_conn_info_visitor()
528 static u8 rds_ib_get_tos_map(u8 tos) in rds_ib_get_tos_map() argument
534 return tos; in rds_ib_get_tos_map()

Completed in 27 milliseconds

12345678910>>...27