* Print out verbose HEX output
*/
if (conf->print_packet && (fr_debug_lvl > 3)) {
- fr_radius_print_hex(packet);
+ fr_radius_packet_print_hex(packet);
}
if (conf->print_packet && (fr_debug_lvl > 1)) {
if (fr_log_fp) fr_packet_header_print(fr_log_fp, request, false);
if (fr_debug_lvl > 0) fr_pair_list_fprint(fr_log_fp, request->vps);
#ifndef NDEBUG
- if (fr_log_fp && (fr_debug_lvl > 3)) fr_radius_print_hex(request);
+ if (fr_log_fp && (fr_debug_lvl > 3)) fr_radius_packet_print_hex(request);
#endif
FD_ZERO(&set); /* clear the set */
if (fr_log_fp) fr_packet_header_print(fr_log_fp, reply, true);
if (fr_debug_lvl > 0) fr_pair_list_fprint(fr_log_fp, reply->vps);
#ifndef NDEBUG
- if (fr_log_fp && (fr_debug_lvl > 3)) fr_radius_print_hex(reply);
+ if (fr_log_fp && (fr_debug_lvl > 3)) fr_radius_packet_print_hex(reply);
#endif
switch (command) {
packet->vps = NULL;
#ifndef NDEBUG
- if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_print_hex(packet);
+ if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_packet_print_hex(packet);
#endif
return packet;
}
#ifndef NDEBUG
- if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_print_hex(packet);
+ if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_packet_print_hex(packet);
#endif
#ifdef WITH_TCP
}
-void fr_radius_print_hex(RADIUS_PACKET const *packet)
+void fr_radius_packet_print_hex(RADIUS_PACKET const *packet)
{
int i;
int fr_radius_packet_send(RADIUS_PACKET *packet, RADIUS_PACKET const *original,
char const *secret) CC_HINT(nonnull (1,3));
-void fr_radius_print_hex(RADIUS_PACKET const *packet) CC_HINT(nonnull);
+void fr_radius_packet_print_hex(RADIUS_PACKET const *packet) CC_HINT(nonnull);
typedef struct fr_radius_ctx {