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