Home | History | Annotate | Download | only in proto

Lines Matching refs:eh

164 #define IPV6_EXTHDR_LEN(eh)	((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3)
182 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h;
184 while (IPV6_EXTHDR(eh->nexthdr)) {
185 if (eh->nexthdr == IPV6_EXTHDR_NONE)
187 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT)
189 else if (eh->nexthdr == IPV6_EXTHDR_AUTH)
190 hlen = (eh->hdrlen + 2) << 2;
192 hlen = IPV6_EXTHDR_LEN(eh);
195 eh = (struct ipv6_exthdr *)(h + len);
198 *proto = eh->nexthdr;