Lines Matching refs:inner
46 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
120 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) in ipv4_copy_dscp() argument
123 ipv4_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv4_copy_dscp()
166 static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) in ipv6_copy_dscp() argument
169 ipv6_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv6_copy_dscp()
234 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
236 if (INET_ECN_is_not_ect(inner)) { in __INET_ECN_decapsulate()
253 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument
258 rc = __INET_ECN_decapsulate(outer, inner, &set_ce); in INET_ECN_decapsulate()
272 __u8 inner; in IP_ECN_decapsulate() local
276 inner = ip_hdr(skb)->tos; in IP_ECN_decapsulate()
279 inner = ipv6_get_dsfield(ipv6_hdr(skb)); in IP_ECN_decapsulate()
285 return INET_ECN_decapsulate(skb, oiph->tos, inner); in IP_ECN_decapsulate()
291 __u8 inner; in IP6_ECN_decapsulate() local
295 inner = ip_hdr(skb)->tos; in IP6_ECN_decapsulate()
298 inner = ipv6_get_dsfield(ipv6_hdr(skb)); in IP6_ECN_decapsulate()
304 return INET_ECN_decapsulate(skb, ipv6_get_dsfield(oipv6h), inner); in IP6_ECN_decapsulate()