/openbmc/linux/include/net/ |
H A D | inet_ecn.h | 18 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 …]
|
/openbmc/linux/net/sched/ |
H A 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()
|
H A D | sch_cake.c | 1584 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv() 1604 ipv6_change_dsfield(ipv6_hdr(skb), INET_ECN_MASK, 0); in cake_handle_diffserv()
|
/openbmc/linux/samples/bpf/ |
H A D | hbm_kern.h | 121 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 103 tos & ~INET_ECN_MASK, 0); in cxgb_find_route()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_input.c | 205 (ipv6_get_dsfield(hdr) & INET_ECN_MASK), in ip6_rcv_core()
|
H A D | tcp_ipv6.c | 551 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v6_send_synack() 552 (np->tclass & INET_ECN_MASK) : in tcp_v6_send_synack() 962 tclass & ~INET_ECN_MASK, priority); in tcp_v6_send_response() 1327 newnp->tclass = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v6_syn_recv_sock()
|
H A D | reassembly.c | 65 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
|
H A D | ipv6_sockglue.c | 596 val &= ~INET_ECN_MASK; in do_ipv6_setsockopt() 597 val |= np->tclass & INET_ECN_MASK; in do_ipv6_setsockopt()
|
H A D | ip6_tunnel.c | 712 __u8 dsfield = ipv6_get_dsfield(ipv6h) & ~INET_ECN_MASK; in ip4ip6_dscp_ecn_decapsulate() 715 ipv4_change_dsfield(ip_hdr(skb), INET_ECN_MASK, dsfield); in ip4ip6_dscp_ecn_decapsulate()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_input.c | 503 IPSTATS_MIB_NOECTPKTS + (iph->tos & INET_ECN_MASK), in ip_rcv_core()
|
H A D | ip_fragment.c | 73 return 1 << (tos & INET_ECN_MASK); in ip4_frag_ecn()
|
H A D | ip_sockglue.c | 591 val &= ~INET_ECN_MASK; in __ip_sock_set_tos() 592 val |= inet_sk(sk)->tos & INET_ECN_MASK; in __ip_sock_set_tos()
|
H A D | tcp_ipv4.c | 1034 (tcp_rsk(req)->syn_tos & ~INET_ECN_MASK) | in tcp_v4_send_synack() 1035 (inet_sk(sk)->tos & INET_ECN_MASK) : in tcp_v4_send_synack() 1611 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v4_syn_recv_sock()
|
H A D | ip_output.c | 1628 inet_sk(sk)->tos = arg->tos & ~INET_ECN_MASK; in ip_send_unicast_reply()
|
H A D | ip_gre.c | 617 key->tos & ~INET_ECN_MASK, dev_net(dev), 0, in gre_fill_metadata_dst()
|
H A D | tcp_input.c | 369 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) { in __tcp_ecn_check_ce()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 131 return 1 << (ipv6_get_dsfield(ipv6h) & INET_ECN_MASK); in ip6_frag_ecn()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 239 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK; in mlx5e_tc_tun_create_header_ipv4() 354 attr.fl.fl4.flowi4_tos = tun_key->tos & ~INET_ECN_MASK; in mlx5e_tc_tun_update_header_ipv4()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 2327 outer_ecn_key = match.key->tos & INET_ECN_MASK; in mlx5e_tc_verify_tunnel_ecn() 2328 outer_ecn_mask = match.mask->tos & INET_ECN_MASK; in mlx5e_tc_verify_tunnel_ecn() 2333 inner_ecn_key = match.key->tos & INET_ECN_MASK; in mlx5e_tc_verify_tunnel_ecn() 2334 inner_ecn_mask = match.mask->tos & INET_ECN_MASK; in mlx5e_tc_verify_tunnel_ecn() 2337 if (outer_ecn_mask != 0 && outer_ecn_mask != INET_ECN_MASK) { in mlx5e_tc_verify_tunnel_ecn() 2354 if (inner_ecn_mask && inner_ecn_mask != INET_ECN_MASK) { in mlx5e_tc_verify_tunnel_ecn()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_output.c | 346 dsfield &= ~INET_ECN_MASK; in xfrm6_tunnel_encap_add()
|
H A D | xfrm_policy.c | 3420 fl4->flowi4_tos = iph->tos & ~INET_ECN_MASK; in decode_session4()
|