libexplain  1.4.D001
Functions
libexplain/buffer/sockaddr.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_sockaddr (explain_string_buffer_t *sb, const struct sockaddr *sa, int sa_len)
void explain_buffer_in_addr (explain_string_buffer_t *sb, const struct in_addr *addr)

Function Documentation

void explain_buffer_in_addr ( explain_string_buffer_t sb,
const struct in_addr *  addr 
)

The explain_buffer_in_addr function is used to print a representation of an in_addr structure.

Parameters:
sbThe string buffer to print into.
addrPointer to the in address of interest

Definition at line 63 of file sockaddr.c.

void explain_buffer_sockaddr ( explain_string_buffer_t sb,
const struct sockaddr *  sa,
int  sa_len 
)

The explain_buffer_sockaddr function may be used to

Parameters:
sbThe string buffer to print into.
saPointer to the socket address of interest
sa_lenThe length of the socket address of interest

Definition at line 650 of file sockaddr.c.