Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_types.h
| Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Lines | typedef enum { | ||||
| * We should make them negative probably. | * We should make them negative probably. | ||||
| * This requires changes to struct if_data. | * This requires changes to struct if_data. | ||||
| */ | */ | ||||
| IFT_GIF = 0xf0, /* Generic tunnel interface */ | IFT_GIF = 0xf0, /* Generic tunnel interface */ | ||||
| IFT_PVC = 0xf1, /* Unused */ | IFT_PVC = 0xf1, /* Unused */ | ||||
| IFT_ENC = 0xf4, /* Encapsulating interface */ | IFT_ENC = 0xf4, /* Encapsulating interface */ | ||||
| IFT_PFLOG = 0xf6, /* PF packet filter logging */ | IFT_PFLOG = 0xf6, /* PF packet filter logging */ | ||||
| IFT_PFSYNC = 0xf7, /* PF packet filter synchronization */ | IFT_PFSYNC = 0xf7, /* PF packet filter synchronization */ | ||||
| IFT_WIREGUARD = 0xf8, /* WireGuard tunnel */ | |||||
| } ifType; | } ifType; | ||||
| /* | /* | ||||
| * Some (broken) software uses #ifdef IFT_TYPE to check whether | * Some (broken) software uses #ifdef IFT_TYPE to check whether | ||||
| * an operating systems supports certain interface type. Lack of | * an operating systems supports certain interface type. Lack of | ||||
| * ifdef leads to a piece of functionality compiled out. | * ifdef leads to a piece of functionality compiled out. | ||||
| */ | */ | ||||
| #ifndef BURN_BRIDGES | #ifndef BURN_BRIDGES | ||||
| Show All 10 Lines | |||||