diff options
Diffstat (limited to 'libc/kernel/uapi/linux/atm.h')
-rw-r--r-- | libc/kernel/uapi/linux/atm.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/libc/kernel/uapi/linux/atm.h b/libc/kernel/uapi/linux/atm.h index d89b0af..02bf989 100644 --- a/libc/kernel/uapi/linux/atm.h +++ b/libc/kernel/uapi/linux/atm.h @@ -46,17 +46,17 @@ #define ATM_AAL34 3 #define ATM_AAL5 5 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define __SO_ENCODE(l,n,t) ((((l) & 0x1FF) << 22) | ((n) << 16) | sizeof(t)) +#define __SO_ENCODE(l,n,t) ((((l) & 0x1FF) << 22) | ((n) << 16) | sizeof(t)) #define __SO_LEVEL_MATCH(c,m) (((c) >> 22) == ((m) & 0x1FF)) #define __SO_NUMBER(c) (((c) >> 16) & 0x3f) #define __SO_SIZE(c) ((c) & 0x3fff) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_SETCLP __SO_ENCODE(SOL_ATM,0,int) -#define SO_CIRANGE __SO_ENCODE(SOL_ATM,1,struct atm_cirange) -#define SO_ATMQOS __SO_ENCODE(SOL_ATM,2,struct atm_qos) -#define SO_ATMSAP __SO_ENCODE(SOL_ATM,3,struct atm_sap) +#define SO_SETCLP __SO_ENCODE(SOL_ATM, 0, int) +#define SO_CIRANGE __SO_ENCODE(SOL_ATM, 1, struct atm_cirange) +#define SO_ATMQOS __SO_ENCODE(SOL_ATM, 2, struct atm_qos) +#define SO_ATMSAP __SO_ENCODE(SOL_ATM, 3, struct atm_sap) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_ATMPVC __SO_ENCODE(SOL_ATM,4,struct sockaddr_atmpvc) +#define SO_ATMPVC __SO_ENCODE(SOL_ATM, 4, struct sockaddr_atmpvc) #define SO_MULTIPOINT __SO_ENCODE(SOL_ATM, 5, int) #define ATM_HDR_GFC_MASK 0xf0000000 #define ATM_HDR_GFC_SHIFT 28 @@ -87,56 +87,56 @@ #define ATM_ABR 4 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ATM_ANYCLASS 5 -#define ATM_MAX_PCR -1 +#define ATM_MAX_PCR - 1 struct atm_trafprm { - unsigned char traffic_class; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int max_pcr; - int pcr; - int min_pcr; - int max_cdv; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - int max_sdu; - unsigned int icr; - unsigned int tbe; - unsigned int frtt : 24; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int rif : 4; - unsigned int rdf : 4; - unsigned int nrm_pres :1; - unsigned int trm_pres :1; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int adtf_pres :1; - unsigned int cdf_pres :1; - unsigned int nrm :3; - unsigned int trm :3; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int adtf :10; - unsigned int cdf :3; - unsigned int spare :9; + unsigned char traffic_class; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int max_pcr; + int pcr; + int min_pcr; + int max_cdv; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int max_sdu; + unsigned int icr; + unsigned int tbe; + unsigned int frtt : 24; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned int rif : 4; + unsigned int rdf : 4; + unsigned int nrm_pres : 1; + unsigned int trm_pres : 1; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned int adtf_pres : 1; + unsigned int cdf_pres : 1; + unsigned int nrm : 3; + unsigned int trm : 3; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned int adtf : 10; + unsigned int cdf : 3; + unsigned int spare : 9; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct atm_qos { - struct atm_trafprm txtp; - struct atm_trafprm rxtp __ATM_API_ALIGN; - unsigned char aal __ATM_API_ALIGN; + struct atm_trafprm txtp; + struct atm_trafprm rxtp __ATM_API_ALIGN; + unsigned char aal __ATM_API_ALIGN; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; -#define ATM_ITF_ANY -1 -#define ATM_VPI_ANY -1 -#define ATM_VCI_ANY -1 +#define ATM_ITF_ANY - 1 +#define ATM_VPI_ANY - 1 +#define ATM_VCI_ANY - 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define ATM_VPI_UNSPEC -2 -#define ATM_VCI_UNSPEC -2 +#define ATM_VPI_UNSPEC - 2 +#define ATM_VCI_UNSPEC - 2 struct sockaddr_atmpvc { - unsigned short sap_family; + unsigned short sap_family; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct { - short itf; - short vpi; - int vci; + struct { + short itf; + short vpi; + int vci; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - } sap_addr __ATM_API_ALIGN; + } sap_addr __ATM_API_ALIGN; }; #define ATM_ESA_LEN 20 #define ATM_E164_LEN 12 @@ -157,21 +157,21 @@ struct sockaddr_atmpvc { #define ATM_LIJ_NJ 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct sockaddr_atmsvc { - unsigned short sas_family; - struct { - unsigned char prv[ATM_ESA_LEN]; + unsigned short sas_family; + struct { + unsigned char prv[ATM_ESA_LEN]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - char pub[ATM_E164_LEN+1]; - char lij_type; - __u32 lij_id; - } sas_addr __ATM_API_ALIGN; + char pub[ATM_E164_LEN + 1]; + char lij_type; + __u32 lij_id; + } sas_addr __ATM_API_ALIGN; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; struct atmif_sioc { - int number; - int length; + int number; + int length; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - void __user *arg; + void __user * arg; }; typedef unsigned short atm_backend_t; #endif |