Searched refs:pkt_off (Results 1 – 2 of 2) sorted by relevance
224 off_t pkt_off; in smbsrv_pcap_dump() local354 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()
772 int pkt_off; /* offset into current packet */ in av1394_ir_copyout() local792 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()