pkt-line: share buffer/descriptor reading implementation