pktinfo_t Structure

The pktinfo structure is where packet ID info can be made available for deeper analysis, if packet IDs become supported by the kernel. The pkt_addr member is a pointer to the mblk holding the packet, with b_rptr pointing at the start of the relevant protocol specified by pkt_pcap to support packet capture.

typedef struct pktinfo {
  mblk_t *pkt_addr;
  int pkt_pcap;
} pktinfo_t;