12#ifndef __PTPMGMT_C_CFG_H
13#define __PTPMGMT_C_CFG_H
165 const char *section);
175 const char *section);
227 const void *value,
size_t size,
size_t digest,
bool replace);
323 const char *section);
ptpmgmt_cfg ptpmgmt_cfg_alloc()
struct ptpmgmt_cfg_t * ptpmgmt_cfg
Definition cfg.h:22
PTPMGMT_HMAC_t
Authentication key type.
Definition cfg.h:189
@ PTPMGMT_HMAC_AES256
Definition cfg.h:198
@ PTPMGMT_HMAC_AES128
Definition cfg.h:194
@ PTPMGMT_HMAC_SHA256
Definition cfg.h:190
struct ptpmgmt_spp_t * ptpmgmt_spp
Definition cfg.h:28
ptpmgmt_spp ptpmgmt_spp_alloc_cp(const_ptpmgmt_spp spp)
const struct ptpmgmt_safile_t * const_ptpmgmt_safile
Definition cfg.h:37
ptpmgmt_safile ptpmgmt_safile_alloc()
struct ptpmgmt_safile_t * ptpmgmt_safile
Definition cfg.h:34
const struct ptpmgmt_cfg_t * const_ptpmgmt_cfg
Definition cfg.h:25
const struct ptpmgmt_spp_t * const_ptpmgmt_spp
Definition cfg.h:31
ptpmgmt_spp ptpmgmt_spp_alloc(uint8_t id)
uint8_t(* spp)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:123
uint8_t(* allow_unauth)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:131
uint8_t(* udp6_scope)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:83
uint8_t(* transportSpecific)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:67
bool(* read_cfg)(ptpmgmt_cfg cfg, const char *file)
Definition cfg.h:59
uint16_t(* active_key_id)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:115
uint8_t(* udp_ttl)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:91
uint8_t(* socket_priority)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:99
uint8_t(* network_transport)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:107
void(* free)(ptpmgmt_cfg cfg)
Definition cfg.h:52
uint8_t(* domainNumber)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:75
bool(* haveSpp)(const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:139
bool(* have_key)(const_ptpmgmt_safile sf, uint8_t spp, uint32_t key)
Definition cfg.h:338
void(* free)(ptpmgmt_safile sf)
Definition cfg.h:304
bool(* have)(const_ptpmgmt_safile sf, uint8_t spp)
Definition cfg.h:330
bool(* read_sa)(ptpmgmt_safile sf, const char *file)
Definition cfg.h:311
const_ptpmgmt_spp(* spp)(ptpmgmt_safile sf, uint8_t spp)
Definition cfg.h:345
bool(* read_sa_cfg)(ptpmgmt_safile sf, const_ptpmgmt_cfg cfg, const char *section)
Definition cfg.h:322
uint8_t(* ownID)(const_ptpmgmt_spp spp)
Definition cfg.h:275
void(* free)(ptpmgmt_spp spp)
Definition cfg.h:214
bool(* addKey)(ptpmgmt_spp spp, uint32_t id, enum PTPMGMT_HMAC_t type, const void *value, size_t size, size_t digest, bool replace)
Definition cfg.h:226
const void *(* key)(const_ptpmgmt_spp spp, uint32_t key)
Definition cfg.h:248
bool(* have)(const_ptpmgmt_spp spp, uint32_t key)
Definition cfg.h:234
size_t(* mac_size)(const_ptpmgmt_spp spp, uint32_t key)
Definition cfg.h:241
size_t(* key_size)(const_ptpmgmt_spp spp, uint32_t key)
Definition cfg.h:255
size_t(* keys)(const_ptpmgmt_spp spp)
Definition cfg.h:262
enum PTPMGMT_HMAC_t(* htype)(const_ptpmgmt_spp spp, uint32_t key)
Definition cfg.h:269