Functions | |
void | hex_to_buf (ldns_buffer *pkt, const char *hex) |
Helper to convert hex string to packet buffer. |
void hex_to_buf | ( | ldns_buffer * | pkt, | |
const char * | hex | |||
) |
Helper to convert hex string to packet buffer.
pkt,: | buffer to put result in. | |
hex,: | string of hex data. Spaces and ';...' comments are skipped. |
References fatal_exit(), log_assert, and skip_whites().
Referenced by perftestpkt(), read_input(), and testpkt().