interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / libc / src / new / freebsd / net / dlt.rs

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