1353141SphilipDLT and LINKTYPE allocation
2353141Sphilip===========================
3353141Sphilip
4353141SphilipDLT_ types live in pcap/dlt.h.  They can be requested by the community on a
5353141SphilipFirst-Come First-Served basis [i.e. https://tools.ietf.org/html/rfc8126#section-4.4 ]
6353141Sphilip(Although libpcap is not at this time an IETF specification, there have been
7353141Sphilipsome as yet-incomplete efforts to do this).
8353141Sphilip
9353141SphilipThe Tcpdump Group prefers to link to an open specification on the new DLT_
10353141Sphiliptype,  but they are available for closed, proprietary projects as well.
11353141SphilipIn that case, a stable email address suffices so that someone who finds
12353141Sphilipan unknown DLT_ type can investigate.
13353141SphilipWe prefer to give out unambiguous numbers, and we try to do it as quickly
14353141Sphilipas possible, but DLT_USERx is available while you wait.
15353141Sphilip
16353141SphilipNote that DLT_ types are, in theory, private to the capture mechanism and can
17353141Sphilipin some cases be operating system specific, and so a second set of values,
18353141SphilipLINKTYPE_ is allocated for actually writing to pcap files.  As much as
19353141Sphilippossible going forward, the DLT_ and LINKTYPE_ value are identical, however,
20353141Sphilipthis was not always the case.  See pcap-common.c.
21353141Sphilip
22353141SphilipThe LINKTYPE_ values are not exported, but are in pcap-common.c only.
23353141Sphilip
24353141SphilipDEVELOPER NOTES
25353141Sphilip---------------
26353141Sphilip
27353141SphilipWhen allocating a new DLT_ value, a corresponding value needs to be
28353141Sphilipadded to pcap-common.c.
29353141SphilipIt is not necessary to copy the comments from dlt.h to pcap-common.c.
30