mirror of https://github.com/mkerrisk/man-pages
packet.7: Add missing tpacket_auxdata field (tp_vlan_tpid)
The definition of the tpacket_auxdata struct in the manpage is not the same as the definition found in /include/uapi/linux/if_packet.h. In particular, instead of a tp_padding field, there is a tp_vlan_tpid field. An example of a project using this field is libpcap[1]. [1]: https://github.com/the-tcpdump-group/libpcap/blob/master/pcap-linux.c#L349 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b9827733ba
commit
68d16cd0ae
|
@ -257,7 +257,7 @@ struct tpacket_auxdata {
|
|||
__u16 tp_mac;
|
||||
__u16 tp_net;
|
||||
__u16 tp_vlan_tci;
|
||||
__u16 tp_padding;
|
||||
__u16 tp_vlan_tpid;
|
||||
};
|
||||
.EE
|
||||
.in
|
||||
|
|
Loading…
Reference in New Issue