Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_vlan_var.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
#define VLANCTL_MAX 2 | #define VLANCTL_MAX 2 | ||||
/* | /* | ||||
* Configuration structure for SIOCSETVLAN and SIOCGETVLAN ioctls. | * Configuration structure for SIOCSETVLAN and SIOCGETVLAN ioctls. | ||||
*/ | */ | ||||
struct vlanreq { | struct vlanreq { | ||||
char vlr_parent[IFNAMSIZ]; | char vlr_parent[IFNAMSIZ]; | ||||
u_short vlr_tag; | u_short vlr_tag; | ||||
u_short vlr_proto; | |||||
}; | }; | ||||
#define SIOCSETVLAN SIOCSIFGENERIC | #define SIOCSETVLAN SIOCSIFGENERIC | ||||
#define SIOCGETVLAN SIOCGIFGENERIC | #define SIOCGETVLAN SIOCGIFGENERIC | ||||
#define SIOCGVLANPCP SIOCGLANPCP /* Get VLAN PCP */ | #define SIOCGVLANPCP SIOCGLANPCP /* Get VLAN PCP */ | ||||
#define SIOCSVLANPCP SIOCSLANPCP /* Set VLAN PCP */ | #define SIOCSVLANPCP SIOCSLANPCP /* Set VLAN PCP */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |