| 1 |
//! Header: `net/dlt.h` |
| 2 |
//! |
| 3 |
//! https://github.com/freebsd/freebsd-src/blob/main/sys/net/dlt.h |
| 4 |
|
| 5 |
use crate::prelude::*; |
| 6 |
|
| 7 |
pub const DLT_NULL: c_uint = 0; // no link-layer encapsulation |
| 8 |
pub const DLT_EN10MB: c_uint = 1; // Ethernet (10Mb) |
| 9 |
pub const DLT_EN3MB: c_uint = 2; // Experimental Ethernet (3Mb) |
| 10 |
pub const DLT_AX25: c_uint = 3; // Amateur Radio AX.25 |
| 11 |
pub const DLT_PRONET: c_uint = 4; // Proteon ProNET Token Ring |
| 12 |
pub const DLT_CHAOS: c_uint = 5; // Chaos |
| 13 |
pub const DLT_IEEE802: c_uint = 6; // IEEE 802 Networks |
| 14 |
pub const DLT_ARCNET: c_uint = 7; // ARCNET |
| 15 |
pub const DLT_SLIP: c_uint = 8; // Serial Line IP |
| 16 |
pub const DLT_PPP: c_uint = 9; // Point-to-point Protocol |
| 17 |
pub const DLT_FDDI: c_uint = 10; // FDDI |
| 18 |
pub const DLT_ATM_RFC1483: c_uint = 11; // LLC/SNAP encapsulated atm |
| 19 |
pub const DLT_RAW: c_uint = 12; // raw IP |
| 20 |
pub const DLT_LOOP: c_uint = 108; |