28 RCSIDH(vmps_h,
"$Id: 144fbf87e5247bf3519e7fff0ba57b8b53d4370c $")
34 #define FR_VQP_HDR_LEN (8)
35 #define FR_VQP_VERSION (1)
58 #define FR_VMPS_PACKET_CODE_VALID(_code) (((_code) > 0) && ((_code) < FR_VMPS_CODE_MAX))
static size_t char ** out
@ FR_VMPS_RECONFIRM_RESPONSE
@ FR_VMPS_RECONFIRM_REQUEST
int fr_vmps_decode(TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *data, size_t data_len, unsigned int *code)
int fr_vmps_global_init(void)
void fr_vmps_global_free(void)
char const * fr_vmps_packet_names[FR_VMPS_CODE_MAX]
ssize_t fr_vmps_encode(fr_dbuff_t *dbuff, uint8_t const *original, int code, uint32_t id, fr_dcursor_t *cursor))
bool fr_vmps_ok(uint8_t const *packet, size_t *packet_len)
ssize_t fr_vmps_packet_size(uint8_t const *data, size_t data_len)
See how big of a packet is in the buffer.
void fr_vmps_print_hex(FILE *fp, uint8_t const *packet, size_t packet_len)
Print a raw VMPS packet as hex.