libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
C interface to configuration class. More...
#include "name.h"
Go to the source code of this file.
Classes | |
struct | ptpmgmt_cfg_t |
struct | ptpmgmt_spp_t |
struct | ptpmgmt_safile_t |
Typedefs | |
typedef struct ptpmgmt_cfg_t * | ptpmgmt_cfg |
typedef const struct ptpmgmt_cfg_t * | const_ptpmgmt_cfg |
typedef struct ptpmgmt_spp_t * | ptpmgmt_spp |
typedef const struct ptpmgmt_spp_t * | const_ptpmgmt_spp |
typedef struct ptpmgmt_safile_t * | ptpmgmt_safile |
typedef const struct ptpmgmt_safile_t * | const_ptpmgmt_safile |
Enumerations | |
enum | PTPMGMT_HMAC_t { PTPMGMT_HMAC_SHA256 , PTPMGMT_HMAC_AES128 , PTPMGMT_HMAC_AES256 } |
Authentication key type. More... | |
Functions | |
ptpmgmt_cfg | ptpmgmt_cfg_alloc () |
ptpmgmt_spp | ptpmgmt_spp_alloc (uint8_t id) |
ptpmgmt_spp | ptpmgmt_spp_alloc_cp (const_ptpmgmt_spp spp) |
ptpmgmt_safile | ptpmgmt_safile_alloc () |
C interface to configuration class.
typedef const struct ptpmgmt_cfg_t* const_ptpmgmt_cfg |
pointer to constant ptpmgmt configuration structure
typedef const struct ptpmgmt_safile_t* const_ptpmgmt_safile |
pointer to constant ptpmgmt SA file structure
typedef const struct ptpmgmt_spp_t* const_ptpmgmt_spp |
pointer to constant ptpmgmt SPP structure
typedef struct ptpmgmt_cfg_t* ptpmgmt_cfg |
pointer to ptpmgmt configuration structure
typedef struct ptpmgmt_safile_t* ptpmgmt_safile |
pointer to ptpmgmt SA file structure
typedef struct ptpmgmt_spp_t* ptpmgmt_spp |
pointer to ptpmgmt SPP structure
enum PTPMGMT_HMAC_t |
Authentication key type.
For Hashed Message Authentication Mode (HMAC) digests.
ptpmgmt_cfg ptpmgmt_cfg_alloc | ( | ) |
Allocate new configuration structure
ptpmgmt_safile ptpmgmt_safile_alloc | ( | ) |
Allocate new SA file structure
ptpmgmt_spp ptpmgmt_spp_alloc | ( | uint8_t | id | ) |
Allocate new spp structure
ptpmgmt_spp ptpmgmt_spp_alloc_cp | ( | const_ptpmgmt_spp | spp | ) |
Copy spp structure to a new spp