⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m_mm.h

📁 是一个手机功能的模拟程序
💻 H
📖 第 1 页 / 共 3 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : m_mm.h                                                         |
| SOURCE  : "W:\condat\gsm\condat\ms\dfile\msg\mm.mdf"                     |
| LastModified : "19 April, 2002"                                          |
| IdAndVersion : "6147.602.02.105"                                         |
| SrcFileTime  : "Mon Mar 15 15:04:36 2004"                                |
| Generated by CCDGEN_2.3.9 on Mon Mar 15 15:20:57 2004                    |
|           !!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
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef M_MM_H
#define M_MM_H


#define CDG_ENTER__M_MM_H

#define CDG_ENTER__FILENAME _M_MM_H
#define CDG_ENTER__M_MM_H__FILE_TYPE CDGINC
#define CDG_ENTER__M_MM_H__LAST_MODIFIED _19_April_2002
#define CDG_ENTER__M_MM_H__ID_AND_VERSION _6147_602_02_105

#define CDG_ENTER__M_MM_H__SRC_FILE_TIME _Mon_Mar_15_15_04_36_2004

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_MM_H

#undef CDG_ENTER__FILENAME


#include "m_mm.val"

#include "m_rr_com.h"

/*
 * bitbuffer structure for the element auth_sres
 */
#ifndef __T_BUF_auth_sres__
#define __T_BUF_auth_sres__
typedef struct
{
  U16 l_auth_sres;
  U16 o_auth_sres;
  U8  b_auth_sres[8];
} BUF_auth_sres; /* size <12> */
#endif
/*
 * bitbuffer structure for the element tmsi
 */
#ifndef __T_BUF_tmsi__
#define __T_BUF_tmsi__
typedef struct
{
  U16 l_tmsi;
  U16 o_tmsi;
  U8  b_tmsi[8];
} BUF_tmsi; /* size <12> */
#endif
#ifndef __T_auth_rand__
#define __T_auth_rand__
/*
 * Authentication parameter RAND
 * CCDGEN:WriteStruct_Count==215
 */
typedef struct
{
  U8                        c_rand;                   /*<  0:  1> counter                                            */
  U8                        rand[16];                 /*<  1: 16> RAND value                                         */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U8                        _align1;                  /*< 18:  1> alignment                                          */
  U8                        _align2;                  /*< 19:  1> alignment                                          */
} T_auth_rand;
#endif

#ifndef __T_ciph_key_num__
#define __T_ciph_key_num__
/*
 * Ciphering Key Sequence Number
 * CCDGEN:WriteStruct_Count==216
 */
typedef struct
{
  U8                        key_seq;                  /*<  0:  1> key sequence                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ciph_key_num;
#endif

#ifndef __T_follow_proceed__
#define __T_follow_proceed__
/*
 * Follow on proceed
 * CCDGEN:WriteStruct_Count==217
 */
/* typedef void T_follow_proceed;*/
#endif
#ifndef __T_ident__
#define __T_ident__
/*
 * Identity type
 * CCDGEN:WriteStruct_Count==218
 */
typedef struct
{
  U8                        ident_type;               /*<  0:  1> Type of identity                                   */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ident;
#endif

#ifndef __T_loc_area_ident__
#define __T_loc_area_ident__
/*
 * Location Area Identification
 * CCDGEN:WriteStruct_Count==219
 */
typedef struct
{
  U8                        mcc[3];                   /*<  0:  3> Mobile Country Code                                */
  U8                        c_mnc;                    /*<  3:  1> counter                                            */
  U8                        mnc[3];                   /*<  4:  3> Mobile Network Code                                */
  U8                        _align0;                  /*<  7:  1> alignment                                          */
  U16                       lac;                      /*<  8:  2> Location Area Code                                 */
  U8                        _align1;                  /*< 10:  1> alignment                                          */
  U8                        _align2;                  /*< 11:  1> alignment                                          */
} T_loc_area_ident;
#endif

#ifndef __T_loc_upd_type__
#define __T_loc_upd_type__
/*
 * Location updating type
 * CCDGEN:WriteStruct_Count==220
 */
typedef struct
{
  U8                        follow;                   /*<  0:  1> Follow on request                                  */
  U8                        lut;                      /*<  1:  1> Location updating type                             */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_loc_upd_type;
#endif

#ifndef __T_mob_id__
#define __T_mob_id__
/*
 * Mobile Identity
 * CCDGEN:WriteStruct_Count==221
 */
typedef struct
{
  U8                        ident_type;               /*<  0:  1> Type of identity                                   */
  U8                        odd_even;                 /*<  1:  1> Odd Even indicaction                               */
  U8                        v_ident_dig;              /*<  2:  1> valid-flag                                         */
  U8                        c_ident_dig;              /*<  3:  1> counter                                            */
  U8                        ident_dig[16];            /*<  4: 16> Identity digit                                     */
  U8                        _align0;                  /*< 20:  1> alignment                                          */
  U8                        _align1;                  /*< 21:  1> alignment                                          */
  U8                        _align2;                  /*< 22:  1> alignment                                          */
  U8                        v_tmsi;                   /*< 23:  1> valid-flag                                         */
  BUF_tmsi                  tmsi;                     /*< 24: 12> TMSI                                               */
  U8                        v_dmy;                    /*< 36:  1> valid-flag                                         */
  U8                        c_dmy;                    /*< 37:  1> counter                                            */
  U8                        dmy[16];                  /*< 38: 16> Dummy                                              */
  U8                        _align3;                  /*< 54:  1> alignment                                          */
  U8                        _align4;                  /*< 55:  1> alignment                                          */
} T_mob_id;
#endif

#ifndef __T_pd_and_sapi__
#define __T_pd_and_sapi__
/*
 * PD and SAPI
 * CCDGEN:WriteStruct_Count==222
 */
typedef struct
{
  U8                        sapi;                     /*<  0:  1> SAPI                                               */
  U8                        pd;                       /*<  1:  1> PD                                                 */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_pd_and_sapi;
#endif

#ifndef __T_full_net_name__
#define __T_full_net_name__
/*
 * Full Network Name
 * CCDGEN:WriteStruct_Count==223
 */
typedef struct
{
  U8                        cs;                       /*<  0:  1> Coding Scheme                                      */
  U8                        add_ci;                   /*<  1:  1> Add Country Information                            */
  U8                        num_spare;                /*<  2:  1> Number of spare bits                               */
  U8                        c_text;                   /*<  3:  1> counter                                            */
  U8                        text[MAXNAME];            /*<  4: 40> text string                                        */
} T_full_net_name;
#endif

/*
 * Short Network Name
 * CCDGEN:WriteStruct_Count==224
 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -