#ifndef cp2_msg_inc_cm_mme_error_h #define cp2_msg_inc_cm_mme_error_h /* Cesar project {{{ * * Copyright (C) 2008 Spidcom * * <<>> * * }}} */ /** * \file cp2/msg/inc/cm_mme_error.h * \brief CM_MME_ERROR messages. * \ingroup cp2_msg */ /** CM_MME_ERROR.IND reason. */ enum cp_msg_cm_mme_error_ind_reason_t { CP_MSG_CM_MME_ERROR_IND_REASON_MME_NOT_SUPPORTED, CP_MSG_CM_MME_ERROR_IND_REASON_INVALID_MME_FIELDS, CP_MSG_CM_MME_ERROR_IND_REASON_UNSUPPORTED_FEATURE, CP_MSG_CM_MME_ERROR_IND_REASON_NB }; /** Data associated with a CM_MME_ERROR.IND message. */ struct cp_msg_cm_mme_error_ind_t { /** Reason of error. */ enum cp_msg_cm_mme_error_ind_reason_t reason; /** Version of received MME. */ u8 rx_mmv; /** MMTYPE of received MME. */ cp_mmtype_t rx_mmtype; /** Offset of first invalid field. */ uint offset; }; typedef struct cp_msg_cm_mme_error_ind_t cp_msg_cm_mme_error_ind_t; #endif /* cp2_msg_inc_cm_mme_error_h */