NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41121



The following reply was made to PR kern/41121; it has been noted by GNATS.

From: Guy Harris <gharris%sonic.net@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/41121
Date: Mon, 10 Nov 2025 11:03:47 -0800

 Different numerical values for the same DLT_ definition, and different =
 DLT_ definitions for the same numeric value, are no longer an issue.
 
 Source code should *not* use numerical DLT_ values, it should use the =
 DLT_ #defines.
 
 libpcap no longer writes DLT_ values in capture files; instead, there is =
 a set of LINKTYPE_ values, with platform-independent definitions, listed =
 at https://www.tcpdump.org/linktypes.html, and it maps between the =
 LINKTYPE_ values in capture files and the DLT_ values in its API.
 
 NetBSD's is tracking tcpdump.org's libpcap and has picked up those =
 changes.
 
 So nothing more needs to be done here.=
 


Home | Main Index | Thread Index | Old Index