📄 p_ppp.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : P_PPP.h |
| SOURCE : "Z:\condat\gsm\condat\ms\dfile\prim\PPP.pdf" |
| LastModified : "21-Oct-2002" |
| IdAndVersion : "8441.116.99.016" |
| SrcFileTime : "Thu Aug 14 00:00:00 2003" |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:19 2003 |
| !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
+--------------------------------------------------------------------------+
*/
/* PRAGMAS
* PREFIX : NONE
* COMPATIBILITY_DEFINES : NO (require PREFIX)
* ALWAYS_ENUM_IN_VAL_FILE: NO
* ENABLE_GROUP: NO
*/
#ifndef P_PPP_H
#define P_PPP_H
#define CDG_ENTER__P_PPP_H
#define CDG_ENTER__FILENAME _P_PPP_H
#define CDG_ENTER__P_PPP_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_PPP_H__LAST_MODIFIED _21_Oct_2002
#define CDG_ENTER__P_PPP_H__ID_AND_VERSION _8441_116_99_016
#define CDG_ENTER__P_PPP_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003
#include "CDG_ENTER.h"
#undef CDG_ENTER__P_PPP_H
#undef CDG_ENTER__FILENAME
#include "P_PPP.val"
#ifndef __T_peer_channel__
#define __T_peer_channel__
/*
* PPP-peer communication channel name
* CCDGEN:WriteStruct_Count==1898
*/
typedef struct
{
U8 peer_entity[6]; /*< 0: 6> PPP-peer communication channel name value */
U8 _align0; /*< 6: 1> alignment */
U8 _align1; /*< 7: 1> alignment */
} T_peer_channel;
#endif
#ifndef __T_protocol_channel__
#define __T_protocol_channel__
/*
* network protocol communication channel name
* CCDGEN:WriteStruct_Count==1899
*/
typedef struct
{
U8 protocol_entity[6]; /*< 0: 6> network protocol communication channel name value */
U8 _align0; /*< 6: 1> alignment */
U8 _align1; /*< 7: 1> alignment */
} T_protocol_channel;
#endif
#ifndef __T_login__
#define __T_login__
/*
* authentication values
* CCDGEN:WriteStruct_Count==1900
*/
typedef struct
{
U8 name_len; /*< 0: 1> length of name */
U8 name[PPP_LOGIN_NAME_LENGTH]; /*< 1: 25> login name */
U8 password_len; /*< 26: 1> length of password */
U8 password[PPP_LOGIN_NAME_LENGTH]; /*< 27: 25> login password */
} T_login;
#endif
#ifndef __T_PPP_ESTABLISH_REQ__
#define __T_PPP_ESTABLISH_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1901
*/
typedef struct
{
U8 mode; /*< 0: 1> working mode */
U8 _align0; /*< 1: 1> alignment */
U16 mru; /*< 2: 2> maximum receive unit */
U8 ap; /*< 4: 1> authentication protocol */
U8 _align1; /*< 5: 1> alignment */
U8 _align2; /*< 6: 1> alignment */
U8 _align3; /*< 7: 1> alignment */
T_login login; /*< 8: 52> authentication values */
U32 accm; /*< 60: 4> async control character map */
U8 rt; /*< 64: 1> restart timer */
U8 mc; /*< 65: 1> max configure */
U8 mt; /*< 66: 1> max terminate */
U8 mf; /*< 67: 1> max failure */
U8 ppp_hc; /*< 68: 1> header compression of PPP connection */
U8 _align4; /*< 69: 1> alignment */
U8 _align5; /*< 70: 1> alignment */
U8 _align6; /*< 71: 1> alignment */
U32 ip; /*< 72: 4> Internet Protocol address */
U32 dns1; /*< 76: 4> primary DNS server address */
U32 dns2; /*< 80: 4> secondary DNS server address */
T_peer_channel peer_channel; /*< 84: 8> PPP-peer communication channel name */
T_protocol_channel protocol_channel; /*< 92: 8> network protocol communication channel name */
U8 peer_direction; /*<100: 1> Direction for the Peer Layer */
U8 prot_direction; /*<101: 1> Direction for the Protocol Layer */
U8 _align7; /*<102: 1> alignment */
U8 _align8; /*<103: 1> alignment */
U32 peer_link_id; /*<104: 4> Link Id to Peer Layer */
U32 prot_link_id; /*<108: 4> Link Id to Protocol Layer */
} T_PPP_ESTABLISH_REQ;
#endif
#ifndef __T_PPP_ESTABLISH_CNF__
#define __T_PPP_ESTABLISH_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1902
*/
typedef struct
{
U16 mru; /*< 0: 2> maximum receive unit */
U8 ppp_hc; /*< 2: 1> header compression of PPP connection */
U8 msid; /*< 3: 1> max slot identifier */
U32 ip; /*< 4: 4> Internet Protocol address */
U32 dns1; /*< 8: 4> primary DNS server address */
U32 dns2; /*< 12: 4> secondary DNS server address */
} T_PPP_ESTABLISH_CNF;
#endif
#ifndef __T_PPP_TERMINATE_REQ__
#define __T_PPP_TERMINATE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1903
*/
typedef struct
{
U8 lower_layer; /*< 0: 1> status of lower layer */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_PPP_TERMINATE_REQ;
#endif
#ifndef __T_PPP_TERMINATE_IND__
#define __T_PPP_TERMINATE_IND__
/*
*
* CCDGEN:WriteStruct_Count==1904
*/
typedef struct
{
U16 ppp_cause; /*< 0: 2> PPP error cause */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_PPP_TERMINATE_IND;
#endif
#ifndef __T_PPP_PDP_ACTIVATE_IND__
#define __T_PPP_PDP_ACTIVATE_IND__
/*
*
* CCDGEN:WriteStruct_Count==1905
*/
typedef struct
{
U8 ppp_hc; /*< 0: 1> header compression of PPP connection */
U8 msid; /*< 1: 1> max slot identifier */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
T_sdu sdu; /*< 4: ? > list of protocol configuration options */
} T_PPP_PDP_ACTIVATE_IND;
#endif
#ifndef __T_PPP_PDP_ACTIVATE_RES__
#define __T_PPP_PDP_ACTIVATE_RES__
/*
*
* CCDGEN:WriteStruct_Count==1906
*/
typedef struct
{
U8 ppp_hc; /*< 0: 1> header compression of PPP connection */
U8 msid; /*< 1: 1> max slot identifier */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
U32 ip; /*< 4: 4> Internet Protocol address */
T_sdu sdu; /*< 8: ? > list of protocol configuration options */
} T_PPP_PDP_ACTIVATE_RES;
#endif
#ifndef __T_PPP_PDP_ACTIVATE_REJ__
#define __T_PPP_PDP_ACTIVATE_REJ__
/*
*
* CCDGEN:WriteStruct_Count==1907
*/
typedef struct
{
U16 ppp_cause; /*< 0: 2> PPP error cause */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_PPP_PDP_ACTIVATE_REJ;
#endif
#ifndef __T_PPP_MODIFICATION_REQ__
#define __T_PPP_MODIFICATION_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1908
*/
typedef struct
{
U8 ppp_hc; /*< 0: 1> header compression of PPP connection */
U8 msid; /*< 1: 1> max slot identifier */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_PPP_MODIFICATION_REQ;
#endif
#ifndef __T_PPP_MODIFICATION_CNF__
#define __T_PPP_MODIFICATION_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1909
*/
typedef struct
{
U8 ppp_hc; /*< 0: 1> header compression of PPP connection */
U8 msid; /*< 1: 1> max slot identifier */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_PPP_MODIFICATION_CNF;
#endif
#ifndef __T_PPP_DTI_CONNECTED_IND__
#define __T_PPP_DTI_CONNECTED_IND__
/*
*
* CCDGEN:WriteStruct_Count==1910
*/
typedef struct
{
U8 connected_direction; /*< 0: 1> DTI direction */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_PPP_DTI_CONNECTED_IND;
#endif
#ifndef __T_NEW_POWER_STATUS__
#define __T_NEW_POWER_STATUS__
/*
*
* CCDGEN:WriteStruct_Count==1911
*/
typedef struct
{
U8 dummy; /*< 0: 1> no parameters */
} T_NEW_POWER_STATUS;
#endif
#include "CDG_LEAVE.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -