mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 04:09:01 +00:00
Update libpcap to 1.9.0 (no patches applied yet)
This commit is contained in:
@@ -39,16 +39,18 @@
|
||||
#ifndef lib_pcap_can_socketcan_h
|
||||
#define lib_pcap_can_socketcan_h
|
||||
|
||||
#include <pcap/pcap-inttypes.h>
|
||||
|
||||
/*
|
||||
* SocketCAN header, as per Documentation/networking/can.txt in the
|
||||
* Linux source.
|
||||
*/
|
||||
typedef struct {
|
||||
u_int32_t can_id;
|
||||
u_int8_t payload_length;
|
||||
u_int8_t pad;
|
||||
u_int8_t reserved1;
|
||||
u_int8_t reserved2;
|
||||
uint32_t can_id;
|
||||
uint8_t payload_length;
|
||||
uint8_t pad;
|
||||
uint8_t reserved1;
|
||||
uint8_t reserved2;
|
||||
} pcap_can_socketcan_hdr;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user