Lines Matching defs:isrh
130 struct ipv6_sr_hdr *isrh;
175 isrh = (void *)hdr + sizeof(*hdr);
176 memcpy(isrh, osrh, hdrlen);
178 isrh->nexthdr = proto;
180 hdr->daddr = isrh->segments[isrh->first_segment];
184 if (sr_has_hmac(isrh)) {
185 err = seg6_push_hmac(net, &hdr->saddr, isrh);
203 struct ipv6_sr_hdr *isrh;
226 isrh = (void *)hdr + sizeof(*hdr);
227 memcpy(isrh, osrh, hdrlen);
229 isrh->nexthdr = hdr->nexthdr;
232 isrh->segments[0] = hdr->daddr;
233 hdr->daddr = isrh->segments[isrh->first_segment];
236 if (sr_has_hmac(isrh)) {
239 err = seg6_push_hmac(net, &hdr->saddr, isrh);