From 137deb11701d70a64b555e7d6e252fca863fb92c Mon Sep 17 00:00:00 2001 From: k-nakahara Date: Fri, 8 Apr 2016 14:01:19 +0900 Subject: [PATCH 4/5] improve comment --- sys/sys/mbuf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 747cdbd..113778c 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -170,6 +170,9 @@ struct m_hdr { * be bit-wise inverted (the final step in the calculation of an IP * checksum) -- this is so we can accumulate the checksum for fragmented * packets during reassembly. + * + * Size ILP32: 36 + * LP64: 56 */ struct pkthdr { struct ifnet *rcvif; /* rcv interface */ @@ -179,7 +182,7 @@ struct pkthdr { uint32_t csum_data; /* checksum data */ u_int segsz; /* segment size */ - struct altq_pktattr pattr; + struct altq_pktattr pattr; /* ALTQ packet attribute */ }; /* -- 2.1.0