12 #ifndef __PTPMGMT_C_CFG_H
13 #define __PTPMGMT_C_CFG_H
164 const char *section);
174 const char *section);
226 const void *value,
size_t size,
size_t digest,
bool replace);
322 const char *section);
ptpmgmt_cfg ptpmgmt_cfg_alloc()
struct ptpmgmt_cfg_t * ptpmgmt_cfg
Definition: cfg.h:21
PTPMGMT_HMAC_t
Authentication key type.
Definition: cfg.h:188
@ PTPMGMT_HMAC_AES256
Definition: cfg.h:197
@ PTPMGMT_HMAC_AES128
Definition: cfg.h:193
@ PTPMGMT_HMAC_SHA256
Definition: cfg.h:189
struct ptpmgmt_spp_t * ptpmgmt_spp
Definition: cfg.h:27
ptpmgmt_spp ptpmgmt_spp_alloc_cp(const_ptpmgmt_spp spp)
const struct ptpmgmt_safile_t * const_ptpmgmt_safile
Definition: cfg.h:36
ptpmgmt_safile ptpmgmt_safile_alloc()
struct ptpmgmt_safile_t * ptpmgmt_safile
Definition: cfg.h:33
const struct ptpmgmt_cfg_t * const_ptpmgmt_cfg
Definition: cfg.h:24
const struct ptpmgmt_spp_t * const_ptpmgmt_spp
Definition: cfg.h:30
ptpmgmt_spp ptpmgmt_spp_alloc(uint8_t id)
uint8_t(* spp)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:122
uint8_t(* allow_unauth)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:130
uint8_t(* udp6_scope)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:82
uint8_t(* transportSpecific)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:66
bool(* read_cfg)(ptpmgmt_cfg cfg, const char *file)
Definition: cfg.h:58
uint16_t(* active_key_id)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:114
uint8_t(* udp_ttl)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:90
uint8_t(* socket_priority)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:98
uint8_t(* network_transport)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:106
void(* free)(ptpmgmt_cfg cfg)
Definition: cfg.h:51
uint8_t(* domainNumber)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:74
bool(* haveSpp)(const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:138
bool(* have_key)(const_ptpmgmt_safile sf, uint8_t spp, uint32_t key)
Definition: cfg.h:337
void(* free)(ptpmgmt_safile sf)
Definition: cfg.h:303
bool(* have)(const_ptpmgmt_safile sf, uint8_t spp)
Definition: cfg.h:329
bool(* read_sa)(ptpmgmt_safile sf, const char *file)
Definition: cfg.h:310
const_ptpmgmt_spp(* spp)(ptpmgmt_safile sf, uint8_t spp)
Definition: cfg.h:344
bool(* read_sa_cfg)(ptpmgmt_safile sf, const_ptpmgmt_cfg cfg, const char *section)
Definition: cfg.h:321
uint8_t(* ownID)(const_ptpmgmt_spp spp)
Definition: cfg.h:274
void(* free)(ptpmgmt_spp spp)
Definition: cfg.h:213
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:225
bool(* have)(const_ptpmgmt_spp spp, uint32_t key)
Definition: cfg.h:233
size_t(* mac_size)(const_ptpmgmt_spp spp, uint32_t key)
Definition: cfg.h:240
const void *(* key)(const_ptpmgmt_spp spp, uint32_t key)
Definition: cfg.h:247
size_t(* key_size)(const_ptpmgmt_spp spp, uint32_t key)
Definition: cfg.h:254
size_t(* keys)(const_ptpmgmt_spp spp)
Definition: cfg.h:261
enum PTPMGMT_HMAC_t(* htype)(const_ptpmgmt_spp spp, uint32_t key)
Definition: cfg.h:268