Home
last modified time | relevance | path

Searched refs:INET_ECN_MASK (Results 1 – 17 of 17) sorted by relevance

/linux/include/net/
A Dinet_ecn.h18 INET_ECN_MASK = 3, enumerator
48 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate()
63 inet_sk(sk)->tos &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
65 inet6_sk(sk)->tclass &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce()
111 iph->tos ^= INET_ECN_MASK; in IP_ECN_set_ect1()
117 iph->tos &= ~INET_ECN_MASK; in IP_ECN_clear()
122 dscp &= ~INET_ECN_MASK; in ipv4_copy_dscp()
158 to = from ^ htonl(INET_ECN_MASK << 20); in IP6_ECN_set_ect1()
168 dscp &= ~INET_ECN_MASK; in ipv6_copy_dscp()
[all …]
/linux/net/sched/
A Dact_ctinfo.c37 ~INET_ECN_MASK; in tcf_ctinfo_dscp_set()
41 dscp = ipv4_get_dsfield(ip_hdr(skb)) & ~INET_ECN_MASK; in tcf_ctinfo_dscp_set()
45 INET_ECN_MASK, in tcf_ctinfo_dscp_set()
54 dscp = ipv6_get_dsfield(ipv6_hdr(skb)) & ~INET_ECN_MASK; in tcf_ctinfo_dscp_set()
58 INET_ECN_MASK, in tcf_ctinfo_dscp_set()
A Dsch_dsmark.c222 & ~INET_ECN_MASK; in dsmark_enqueue()
232 & ~INET_ECN_MASK; in dsmark_enqueue()
A Dsch_cake.c1580 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv()
1600 ipv6_change_dsfield(ipv6_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv()
/linux/samples/bpf/
A Dhbm_kern.h121 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
125 pkti->ecn = iph.tos & INET_ECN_MASK; in hbm_get_pkt_info()
/linux/net/ipv6/
A Dtcp_ipv6.c549 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v6_send_synack()
550 (np->tclass & INET_ECN_MASK) : in tcp_v6_send_synack()
1010 tclass & ~INET_ECN_MASK, priority); in tcp_v6_send_response()
1369 newnp->tclass = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v6_syn_recv_sock()
A Dip6_input.c194 (ipv6_get_dsfield(hdr) & INET_ECN_MASK), in ip6_rcv_core()
A Dreassembly.c65 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
A Dip6_tunnel.c714 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; in ip4ip6_dscp_ecn_decapsulate()
717 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); in ip4ip6_dscp_ecn_decapsulate()
/linux/net/ipv4/
A Dip_input.c478 IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK), in ip_rcv_core()
A Dip_fragment.c73 return 1 << (tos & INET_ECN_MASK); in ip4_frag_ecn()
A Dip_sockglue.c582 val &= ~INET_ECN_MASK; in __ip_sock_set_tos()
583 val |= inet_sk(sk)->tos & INET_ECN_MASK; in __ip_sock_set_tos()
A Dtcp_ipv4.c1005 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v4_send_synack()
1006 (inet_sk(sk)->tos & INET_ECN_MASK) : in tcp_v4_send_synack()
1591 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v4_syn_recv_sock()
A Dip_output.c1695 inet_sk(sk)->tos = arg->tos & ~INET_ECN_MASK; in ip_send_unicast_reply()
A Dtcp_input.c342 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) { in __tcp_ecn_check_ce()
/linux/net/ipv6/netfilter/
A Dnf_conntrack_reasm.c131 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
/linux/net/xfrm/
A Dxfrm_output.c346 dsfield &= ~INET_ECN_MASK; in xfrm6_tunnel_encap_add()

Completed in 59 milliseconds