Lines Matching refs:off
78 size_t off;
87 off = 0;
117 off += etherhs;
120 len = off + sizeof (struct ip);
125 iphp = (struct ip *)(mp->b_rptr + off);
139 off += iphs;
144 len = off + sizeof (struct tcphdr);
149 thp = (struct tcphdr *)(mp->b_rptr + off);
156 off += ths;
165 len = off + sizeof (struct udphdr);
170 uhp = (struct udphdr *)(mp->b_rptr + off);
175 off += sizeof (struct udphdr);
184 len = off + sizeof (struct sctp_hdr);
189 shp = (struct sctp_hdr *)(mp->b_rptr + off);
194 off += sizeof (struct sctp_hdr);
200 if (MBLKL(mp) < off)
201 (void) pullupmsg(mp, off);
207 *offp = off;