libexplain  1.4.D001
Functions
libexplain/buffer/route_struct.c File Reference
#include <libexplain/ac/arpa/inet.h>
#include <libexplain/ac/linux/x25.h>
#include <libexplain/ac/net/route.h>
#include <libexplain/ac/netax25/ax25.h>
#include <libexplain/ac/netrom/netrom.h>
#include <libexplain/ac/netrose/rose.h>
#include <libexplain/buffer/hexdump.h>
#include <libexplain/buffer/int.h>
#include <libexplain/buffer/pathname.h>
#include <libexplain/buffer/pointer.h>
#include <libexplain/buffer/route_struct.h>
#include <libexplain/buffer/rtentry.h>
#include <libexplain/buffer/sockaddr.h>
#include <libexplain/fildes_to_address_family.h>
#include <libexplain/parse_bits.h>
#include <libexplain/is_efault.h>
#include <libexplain/sizeof.h>

Go to the source code of this file.

Functions

void explain_buffer_route_struct (explain_string_buffer_t *sb, int fildes, const void *data)

Function Documentation

void explain_buffer_route_struct ( explain_string_buffer_t sb,
int  fildes,
const void *  data 
)

The explain_buffer_route_struct function may be used to print a representation of a routing data structure.

Parameters:
sbThe string buffer to print into.
fildesThe file descriptor, because we need to know some file descriptor state to be able to print the correct contents.
dataThe routing data structure to be printed.

Definition at line 390 of file route_struct.c.