Lines Matching refs:inner
84 ip_ecn_ingress(mode, outer, inner)
87 const u_int8_t *inner;
89 if (!outer || !inner)
92 *outer = *inner;
106 * modify inner ECN (TOS) field on egress operation (tunnel decapsulation).
109 ip_ecn_egress(mode, outer, inner)
112 u_int8_t *inner;
114 if (!outer || !inner)
120 *inner |= IPTOS_CE;
130 ip6_ecn_ingress(mode, outer, inner)
133 const u_int32_t *inner;
137 if (!outer || !inner)
140 inner8 = (ntohl(*inner) >> 20) & 0xff;
147 ip6_ecn_egress(mode, outer, inner)
150 u_int32_t *inner;
154 if (!outer || !inner)
158 inner8 = (ntohl(*inner) >> 20) & 0xff;
160 *inner &= ~htonl(0xff << 20);
161 *inner |= htonl((u_int32_t)inner8 << 20);