Searched refs:INET_ECN_MASK (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.10/include/net/ |
D | inet_ecn.h | 17 INET_ECN_MASK = 3, enumerator 24 return (dsfield & INET_ECN_MASK) == INET_ECN_CE; in INET_ECN_is_ce() 29 return (dsfield & INET_ECN_MASK) == INET_ECN_NOT_ECT; in INET_ECN_is_not_ect() 47 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate() 48 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate() 62 inet_sk(sk)->tos &= ~INET_ECN_MASK; in INET_ECN_dontxmit() 64 inet6_sk(sk)->tclass &= ~INET_ECN_MASK; in INET_ECN_dontxmit() 68 (label) &= ~htonl(INET_ECN_MASK << 20); \ 79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() 107 if ((iph->tos & INET_ECN_MASK) != INET_ECN_ECT_0) in IP_ECN_set_ect1() [all …]
|
/Linux-v5.10/net/sched/ |
D | act_ctinfo.c | 37 ~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()
|
D | sch_dsmark.c | 221 & ~INET_ECN_MASK; in dsmark_enqueue() 231 & ~INET_ECN_MASK; in dsmark_enqueue()
|
D | sch_cake.c | 1576 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv() 1596 ipv6_change_dsfield(ipv6_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv()
|
/Linux-v5.10/samples/bpf/ |
D | hbm_kern.h | 123 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info() 127 pkti->ecn = iph.tos & INET_ECN_MASK; in hbm_get_pkt_info()
|
/Linux-v5.10/net/ipv6/ |
D | ip6_input.c | 194 (ipv6_get_dsfield(hdr) & INET_ECN_MASK), in ip6_rcv_core()
|
D | tcp_ipv6.c | 531 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v6_send_synack() 532 (np->tclass & INET_ECN_MASK) : in tcp_v6_send_synack() 973 tclass & ~INET_ECN_MASK, priority); in tcp_v6_send_response() 1328 newnp->tclass = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v6_syn_recv_sock()
|
D | reassembly.c | 65 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
|
D | ip6_tunnel.c | 746 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; in ip4ip6_dscp_ecn_decapsulate() 749 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); in ip4ip6_dscp_ecn_decapsulate()
|
/Linux-v5.10/net/ipv4/ |
D | ip_input.c | 477 IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK), in ip_rcv_core()
|
D | ip_fragment.c | 73 return 1 << (tos & INET_ECN_MASK); in ip4_frag_ecn()
|
D | ip_sockglue.c | 582 val &= ~INET_ECN_MASK; in __ip_sock_set_tos() 583 val |= inet_sk(sk)->tos & INET_ECN_MASK; in __ip_sock_set_tos()
|
D | tcp_ipv4.c | 987 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v4_send_synack() 988 (inet_sk(sk)->tos & INET_ECN_MASK) : in tcp_v4_send_synack() 1549 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v4_syn_recv_sock()
|
D | ip_output.c | 1708 inet_sk(sk)->tos = arg->tos & ~INET_ECN_MASK; in ip_send_unicast_reply()
|
D | tcp_input.c | 341 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) { in __tcp_ecn_check_ce()
|
/Linux-v5.10/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 135 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
|
/Linux-v5.10/net/xfrm/ |
D | xfrm_output.c | 269 dsfield &= ~INET_ECN_MASK; in xfrm6_tunnel_encap_add()
|