#include <net/dlil.h>
net/dlil.h
enum(anonymous)
| BPF_TAP_DISABLE | 0 | |
| BPF_TAP_INPUT | 1 | |
| BPF_TAP_OUTPUT | 2 | |
| BPF_TAP_INPUT_OUTPUT | 3 |
macroDLIL_DESC_ETYPE2
DLIL_DESC_ETYPE2 - native_type must point to 2 byte ethernet raw protocol,
variants.native_type_length must be set to 2
DLIL_DESC_SAP - native_type must point to 3 byte SAP protocol
variants.native_type_length must be set to 3
DLIL_DESC_SNAP - native_type must point to 5 byte SNAP protocol
variants.native_type_length must be set to 5
All protocols must be in Network byte order.
Future interface families may define more protocol types they know about.
The type implies the offset and context of the protocol data at native_type.
The length of the protocol data specified at native_type must be set in
variants.native_type_length.
Ethernet specific types
#define DLIL_DESC_ETYPE2 4
macroDLIL_DESC_SAP
#define DLIL_DESC_SAP 5
macroDLIL_DESC_SNAP
#define DLIL_DESC_SNAP 6