Searched refs:ipv6_exthdr (Results 1 – 6 of 6) sorted by relevance
185 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3)187 BWL_PRE_PACKED_STRUCT struct ipv6_exthdr { struct204 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() argument217 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len()229 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len_check()232 if (plen < sizeof(struct ipv6_exthdr)) { in ipv6_exthdr_len_check()237 while ((plen >= len + sizeof(struct ipv6_exthdr)) && IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len_check()254 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len_check()258 if (plen >= len + sizeof(struct ipv6_exthdr)) { in ipv6_exthdr_len_check()
193 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3)195 BWL_PRE_PACKED_STRUCT struct ipv6_exthdr { struct211 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() argument224 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len()
206 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3)208 BWL_PRE_PACKED_STRUCT struct ipv6_exthdr { struct224 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() argument237 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len()