447: */
448: ip = mtod(m, struct ip *);
449: IP6_EXTHDR_GET(uh, struct udphdr *, m, iphlen, sizeof(struct udphdr));
604:
605: ip6 = mtod(m, struct ip6_hdr *);
606:
1204: */
1205: ui = mtod(m, struct udpiphdr *);
1206: ui->ui_pr = IPPROTO_UDP;
1551: len = m->m_len - off;
1552: data = mtod(m, char *) + off;
1553: inp = sotoinpcb(so);
1607: iphdrlen = off - sizeof(struct udphdr);
1608: memmove(mtod(m, char *) + skip, mtod(m, void *), iphdrlen);
1609: m_adj(m, skip);
1610:
1611: ip = mtod(m, struct ip *);
1612: ip->ip_len = htons(ntohs(ip->ip_len) - skip);