Home
last modified time | relevance | path

Searched refs:pkt_off (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv_pcap.c224 off_t pkt_off; in smbsrv_pcap_dump() local
354 pkt_off = lseek(pcap_fd, (off_t)0, SEEK_CUR); in smbsrv_pcap_dump()
391 pkt_off += len_w_hdrs; in smbsrv_pcap_dump()
392 (void) lseek(pcap_fd, pkt_off, SEEK_SET); in smbsrv_pcap_dump()
396 (void) lseek(pcap_fd, pkt_off, SEEK_SET); in smbsrv_pcap_dump()
397 (void) ftruncate(pcap_fd, pkt_off); in smbsrv_pcap_dump()
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c772 int pkt_off; /* offset into current packet */ in av1394_ir_copyout() local
792 pkt_off = (uintptr_t)kaddr % pktsz; in av1394_ir_copyout()
797 if ((pkt_off == 0) && in av1394_ir_copyout()
804 len = bs - pkt_off; in av1394_ir_copyout()
815 if (pkt_off + len == bs) { in av1394_ir_copyout()
816 kaddr += pktsz - pkt_off; in av1394_ir_copyout()
817 frame_resid -= pktsz - pkt_off; in av1394_ir_copyout()