sr_ihdr 895 net/ipv6/exthdrs.c struct ipv6_sr_hdr *sr_phdr, *sr_ihdr; sr_ihdr 898 net/ipv6/exthdrs.c sr_ihdr = (struct ipv6_sr_hdr *)opt; sr_ihdr 899 net/ipv6/exthdrs.c plen = (sr_ihdr->hdrlen + 1) << 3; sr_ihdr 902 net/ipv6/exthdrs.c memcpy(sr_phdr, sr_ihdr, sizeof(struct ipv6_sr_hdr)); sr_ihdr 904 net/ipv6/exthdrs.c hops = sr_ihdr->first_segment + 1; sr_ihdr 905 net/ipv6/exthdrs.c memcpy(sr_phdr->segments + 1, sr_ihdr->segments + 1, sr_ihdr 909 net/ipv6/exthdrs.c *addr_p = &sr_ihdr->segments[sr_ihdr->segments_left]; sr_ihdr 911 net/ipv6/exthdrs.c if (sr_ihdr->hdrlen > hops * 2) { sr_ihdr 915 net/ipv6/exthdrs.c tlvs_length = (sr_ihdr->hdrlen - hops * 2) << 3; sr_ihdr 917 net/ipv6/exthdrs.c (char *)sr_ihdr + tlvs_offset, tlvs_length);