Structure which represents a geolocation datastructure. More...
Data Fields | |
corsaro_geo_datastructure_id_t | id |
The ID of this datastructure. More... | |
char * | name |
The name of this datastructure. More... | |
int(* | init )(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds) |
Pointer to init function. More... | |
void(* | free )(struct corsaro_geo_datastructure *ds) |
Pointer to free function. More... | |
int(* | add_prefix )(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds, uint32_t addr, uint8_t mask, corsaro_geo_record_t *record) |
Pointer to add prefix function. More... | |
corsaro_geo_record_t *(* | lookup_record )(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds, uint32_t addr) |
Pointer to lookup record function. More... | |
void * | state |
Pointer to a instance-specific state object. More... | |
Structure which represents a geolocation datastructure.
Definition at line 175 of file corsaro_geo.h.
int(* corsaro_geo_datastructure::add_prefix)(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds, uint32_t addr, uint8_t mask, corsaro_geo_record_t *record) |
Pointer to add prefix function.
Definition at line 190 of file corsaro_geo.h.
Referenced by corsaro_geo_provider_associate_record().
void(* corsaro_geo_datastructure::free)(struct corsaro_geo_datastructure *ds) |
Pointer to free function.
Definition at line 187 of file corsaro_geo.h.
Referenced by corsaro_geo_free_provider(), and corsaro_geo_init_provider().
corsaro_geo_datastructure_id_t corsaro_geo_datastructure::id |
The ID of this datastructure.
Definition at line 178 of file corsaro_geo.h.
int(* corsaro_geo_datastructure::init)(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds) |
Pointer to init function.
Definition at line 184 of file corsaro_geo.h.
Referenced by corsaro_geo_init_provider().
corsaro_geo_record_t*(* corsaro_geo_datastructure::lookup_record)(corsaro_t *corsaro, struct corsaro_geo_datastructure *ds, uint32_t addr) |
Pointer to lookup record function.
Definition at line 196 of file corsaro_geo.h.
Referenced by corsaro_geo_provider_lookup_record().
char* corsaro_geo_datastructure::name |
The name of this datastructure.
Definition at line 181 of file corsaro_geo.h.
void* corsaro_geo_datastructure::state |
Pointer to a instance-specific state object.
Definition at line 201 of file corsaro_geo.h.