mbgtools-lx  4.2.8
License information

Data Structures

struct  MBG_LICENSE_LIMITS
 General license information to be read from a device. More...
 
struct  MBG_LICENSE_BASE
 Common license information. More...
 
struct  MBG_LICENSE_PTPV2
 PTPV2 specific license information. More...
 
struct  MBG_LICENSE_PTPV2_IDX
 
struct  MBG_LICENSE_NTP
 NTP specific license information. More...
 
struct  MBG_LICENSE_NTP_IDX
 
struct  MBG_LICENSE_PTPV1
 NTP specific license information. More...
 
struct  MBG_LICENSE_PTPV1_IDX
 
struct  MBG_LICENSE_TIME_MONITOR
 Sync Monitor specific license information. More...
 
struct  MBG_LICENSE_TIME_MONITOR_IDX
 

Macros

#define MBG_MAX_LICENSES   32
 
#define _mbg_swab_license_base(_p)
 
#define _mbg_swab_license_ptpv2(_p)
 
#define _mbg_swab_license_ptpv2_idx(_p)
 
#define _mbg_swab_license_ntp(_p)
 
#define _mbg_swab_license_ntp_idx(_p)
 
#define _mbg_swab_license_ptpv1(_p)
 
#define _mbg_swab_license_ptpv1_idx(_p)
 
#define _mbg_swab_license_time_monitor(_p)
 
#define _mbg_swab_license_time_monitor_idx(_p)
 

Enumerations

enum  MBG_LICENSE_BASE_TYPES {
  MBG_LICENSE_BASE_TYPE_PTPV2, MBG_LICENSE_BASE_TYPE_NTP, MBG_LICENSE_BASE_TYPE_PTPV1, MBG_LICENSE_BASE_TYPE_TIME_MONITOR,
  N_MBG_LICENSE_BASE_TYPES
}
 
enum  MBG_LICENSE_BASE_FLAGS { MBG_LICENSE_BASE_FLAG_SUPP_UPGRADE, N_MBG_LICENSE_BASE_FLAGS }
 Bits used to define MBG_LICENSE_BASE_MSKS. More...
 
enum  MBG_LICENSE_BASE_MSKS { MBG_LICENSE_BASE_MSK_SUPP_UPGRADE = ( 1UL << MBG_LICENSE_BASE_FLAG_SUPP_UPGRADE ) }
 Bit masks of common supported base license flags. More...
 
enum  MBG_LICENSE_PTPV2_MEMBERS { MBG_LICENSE_PTPV2_MEMBER_MAX_UCLIENTS, MBG_LICENSE_PTPV2_MEMBER_MAX_MTRANS, N_MBG_LICENSE_PTPV2_MEMBERS }
 Bits used to define MBG_LICENSE_PTPV2_MEMBER_MSKS. More...
 
enum  MBG_LICENSE_PTPV2_MEMBER_MSKS { MBG_LICENSE_PTPV2_MEMBER_MSK_MAX_UCLIENTS = ( 1UL << MBG_LICENSE_PTPV2_MEMBER_MAX_UCLIENTS ), MBG_LICENSE_PTPV2_MEMBER_MSK_MAX_MTRANS = ( 1UL << MBG_LICENSE_PTPV2_MEMBER_MAX_MTRANS ) }
 Bit masks of PTPV2 license specific members. More...
 
enum  MBG_LICENSE_NTP_MEMBERS { MBG_LICENSE_NTP_MEMBER_MAX_RPS, N_MBG_LICENSE_NTP_MEMBERS }
 Bits used to define MBG_LICENSE_NTP_MEMBER_MSKS. More...
 
enum  MBG_LICENSE_NTP_MEMBER_MSKS { MBG_LICENSE_NTP_MEMBER_MSK_MAX_RPS = ( 1UL << MBG_LICENSE_NTP_MEMBER_MAX_RPS ) }
 Bit masks of NTP license specific members. More...
 
enum  MBG_LICENSE_PTPV1_MEMBERS { MBG_LICENSE_PTPV1_MEMBER_MAX_RPS, N_MBG_LICENSE_PTPV1_MEMBERS }
 Bits used to define MBG_LICENSE_PTPV1_MEMBER_MSKS. More...
 
enum  MBG_LICENSE_PTPV1_MEMBER_MSKS { MBG_LICENSE_PTPV1_MEMBER_MSK_MAX_RPS = ( 1UL << MBG_LICENSE_PTPV1_MEMBER_MAX_RPS ) }
 Bit masks of PTPV1 license specific members. More...
 
enum  MBG_LICENSE_TIME_MONITOR_MEMBERS { MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_PTPV2_CLIENTS, MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_NTP_CLIENTS, N_MBG_LICENSE_TIME_MONITOR_MEMBERS }
 Bits used to define MBG_LICENSE_TIME_MONITOR_MEMBER_MSKS. More...
 
enum  MBG_LICENSE_TIME_MONITOR_MEMBER_MSKS { MBG_LICENSE_TIME_MONITOR_MEMBER_MSK_MAX_PTPV2_CLIENTS = ( 1UL << MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_PTPV2_CLIENTS ), MBG_LICENSE_TIME_MONITOR_MEMBER_MSK_MAX_NTP_CLIENTS = ( 1UL << MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_NTP_CLIENTS ) }
 Bit masks of Sync Monitor license specific members. More...
 

Detailed Description

Note
This is probably obsolete.

Macro Definition Documentation

◆ _mbg_swab_license_base

#define _mbg_swab_license_base (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 19557 of file gpsdefs.h.

◆ _mbg_swab_license_ntp

#define _mbg_swab_license_ntp (   _p)
Value:
do \
{ \
_mbg_swab_license_base( &(_p)->base ); \
_mbg_swab32( &(_p)->supp_members ); \
_mbg_swab32( &(_p)->max_rps ); \
} while ( 0 )

Definition at line 19677 of file gpsdefs.h.

◆ _mbg_swab_license_ntp_idx

#define _mbg_swab_license_ntp_idx (   _p)
Value:
do \
{ \
_mbg_swab_license_ntp( &(_p)->license ); \
_mbg_swab32( &(_p)->idx ); \
} while ( 0 )

Definition at line 19694 of file gpsdefs.h.

◆ _mbg_swab_license_ptpv1

#define _mbg_swab_license_ptpv1 (   _p)
Value:
do \
{ \
_mbg_swab_license_base( &(_p)->base ); \
_mbg_swab32( &(_p)->supp_members ); \
_mbg_swab32( &(_p)->max_rps ); \
} while ( 0 )

Definition at line 19743 of file gpsdefs.h.

◆ _mbg_swab_license_ptpv1_idx

#define _mbg_swab_license_ptpv1_idx (   _p)
Value:
do \
{ \
_mbg_swab_license_ptpv1( &(_p)->license ); \
_mbg_swab32( &(_p)->idx ); \
} while ( 0 )

Definition at line 19759 of file gpsdefs.h.

◆ _mbg_swab_license_ptpv2

#define _mbg_swab_license_ptpv2 (   _p)
Value:
do \
{ \
_mbg_swab_license_base( &(_p)->base ); \
_mbg_swab32( &(_p)->supp_members ); \
_mbg_swab16( &(_p)->max_uclients ); \
_mbg_swab32( &(_p)->max_mtrans ); \
} while ( 0 )

Definition at line 19610 of file gpsdefs.h.

◆ _mbg_swab_license_ptpv2_idx

#define _mbg_swab_license_ptpv2_idx (   _p)
Value:
do \
{ \
_mbg_swab_license_ptpv2( &(_p)->license ); \
_mbg_swab32( &(_p)->idx ); \
} while ( 0 )

Definition at line 19627 of file gpsdefs.h.

◆ _mbg_swab_license_time_monitor

#define _mbg_swab_license_time_monitor (   _p)
Value:
do \
{ \
_mbg_swab_license_base( &(_p)->base ); \
_mbg_swab32( &(_p)->supp_members ); \
_mbg_swab16( &(_p)->max_ptpv2_clients ); \
_mbg_swab16( &(_p)->max_ntp_clients ); \
} while ( 0 )

Definition at line 19812 of file gpsdefs.h.

◆ _mbg_swab_license_time_monitor_idx

#define _mbg_swab_license_time_monitor_idx (   _p)
Value:
do \
{ \
_mbg_swab_license_time_monitor( &(_p)->license ); \
_mbg_swab32( &(_p)->idx ); \
} while ( 0 )

Definition at line 19829 of file gpsdefs.h.

◆ MBG_MAX_LICENSES

#define MBG_MAX_LICENSES   32

Definition at line 19486 of file gpsdefs.h.

Enumeration Type Documentation

◆ MBG_LICENSE_BASE_FLAGS

Bits used to define MBG_LICENSE_BASE_MSKS.

See also
MBG_LICENSE_BASE_MSKS
Enumerator
MBG_LICENSE_BASE_FLAG_SUPP_UPGRADE 

License supports upgrading / modifying.

N_MBG_LICENSE_BASE_FLAGS 

Definition at line 19521 of file gpsdefs.h.

◆ MBG_LICENSE_BASE_MSKS

Bit masks of common supported base license flags.

Used with MBG_LICENSE_BASE::supp_flags

See also
MBG_LICENSE_BASE_FLAGS
Enumerator
MBG_LICENSE_BASE_MSK_SUPP_UPGRADE 

See MBG_LICENSE_BASE_FLAG_SUPP_UPGRADE.

Definition at line 19535 of file gpsdefs.h.

◆ MBG_LICENSE_BASE_TYPES

Enumerator
MBG_LICENSE_BASE_TYPE_PTPV2 
MBG_LICENSE_BASE_TYPE_NTP 
MBG_LICENSE_BASE_TYPE_PTPV1 
MBG_LICENSE_BASE_TYPE_TIME_MONITOR 
N_MBG_LICENSE_BASE_TYPES 

Definition at line 19506 of file gpsdefs.h.

◆ MBG_LICENSE_NTP_MEMBER_MSKS

Bit masks of NTP license specific members.

Used with MBG_LICENSE_NTP::supp_members

See also
MBG_LICENSE_PTPV2_MEMBERS
Enumerator
MBG_LICENSE_NTP_MEMBER_MSK_MAX_RPS 

See MBG_LICENSE_NTP_MEMBER_MAX_RPS.

Definition at line 19654 of file gpsdefs.h.

◆ MBG_LICENSE_NTP_MEMBERS

Bits used to define MBG_LICENSE_NTP_MEMBER_MSKS.

See also
MBG_LICENSE_NTP_MEMBER_MSKS
Enumerator
MBG_LICENSE_NTP_MEMBER_MAX_RPS 
N_MBG_LICENSE_NTP_MEMBERS 

Definition at line 19640 of file gpsdefs.h.

◆ MBG_LICENSE_PTPV1_MEMBER_MSKS

Bit masks of PTPV1 license specific members.

Used with MBG_LICENSE_PTPV1::supp_members

See also
MBG_LICENSE_PTPV2_MEMBERS
Enumerator
MBG_LICENSE_PTPV1_MEMBER_MSK_MAX_RPS 

See MBG_LICENSE_PTPV1_MEMBER_MAX_RPS.

Definition at line 19720 of file gpsdefs.h.

◆ MBG_LICENSE_PTPV1_MEMBERS

Bits used to define MBG_LICENSE_PTPV1_MEMBER_MSKS.

See also
MBG_LICENSE_PTPV1_MEMBER_MSKS
Enumerator
MBG_LICENSE_PTPV1_MEMBER_MAX_RPS 
N_MBG_LICENSE_PTPV1_MEMBERS 

Definition at line 19706 of file gpsdefs.h.

◆ MBG_LICENSE_PTPV2_MEMBER_MSKS

Bit masks of PTPV2 license specific members.

Used with MBG_LICENSE_PTPV2::supp_members

See also
MBG_LICENSE_PTPV2_MEMBERS
Enumerator
MBG_LICENSE_PTPV2_MEMBER_MSK_MAX_UCLIENTS 

See MBG_LICENSE_PTPV2_MEMBER_MAX_UCLIENTS.

MBG_LICENSE_PTPV2_MEMBER_MSK_MAX_MTRANS 

See MBG_LICENSE_PTPV2_MEMBER_MAX_MTRANS.

Definition at line 19584 of file gpsdefs.h.

◆ MBG_LICENSE_PTPV2_MEMBERS

Bits used to define MBG_LICENSE_PTPV2_MEMBER_MSKS.

See also
MBG_LICENSE_PTPV2_MEMBER_MSKS
Enumerator
MBG_LICENSE_PTPV2_MEMBER_MAX_UCLIENTS 
MBG_LICENSE_PTPV2_MEMBER_MAX_MTRANS 
N_MBG_LICENSE_PTPV2_MEMBERS 

Definition at line 19569 of file gpsdefs.h.

◆ MBG_LICENSE_TIME_MONITOR_MEMBER_MSKS

Bit masks of Sync Monitor license specific members.

Used with MBG_LICENSE_TIME_MONITOR::supp_members

See also
MBG_LICENSE_TIME_MONITOR_MEMBERS
Enumerator
MBG_LICENSE_TIME_MONITOR_MEMBER_MSK_MAX_PTPV2_CLIENTS 

See MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_PTPV2_CLIENTS.

MBG_LICENSE_TIME_MONITOR_MEMBER_MSK_MAX_NTP_CLIENTS 

See MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_NTP_CLIENTS.

Definition at line 19786 of file gpsdefs.h.

◆ MBG_LICENSE_TIME_MONITOR_MEMBERS

Bits used to define MBG_LICENSE_TIME_MONITOR_MEMBER_MSKS.

See also
MBG_LICENSE_TIME_MONITOR_MEMBER_MSKS
Enumerator
MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_PTPV2_CLIENTS 
MBG_LICENSE_TIME_MONITOR_MEMBER_MAX_NTP_CLIENTS 
N_MBG_LICENSE_TIME_MONITOR_MEMBERS 

Definition at line 19771 of file gpsdefs.h.