fr_io_network_get_t network_get; //!< get dynamic network information
fr_io_client_find_t client_find; //!< find radclient
fr_io_name_t get_name; //!< get the socket name
+ fr_io_hexdump_set_t hexdump_set; //!< set the hexdump options
void *private; //!< any private APIs it needs to export.
} fr_app_io_t;
typedef fr_client_t *(*fr_io_client_find_t)(fr_listen_t *li, fr_ipaddr_t const *ipaddr, int ipproto);
+typedef void (*fr_io_hexdump_set_t)(fr_listen_t *li, void *inst);
+
/** Callback to return network properties
*
* @param[out] ipproto IP protocol (AF_INET or AF_INET6).
li->thread_instance = thread;
li->app_io_instance = inst;
li->track_duplicates = inst->app_io->track_duplicates;
+ if (inst->app_io->hexdump_set) inst->app_io->hexdump_set(li, inst->app_io_instance);
/*
* The child listener points to the *actual* IO path.