rapi_fmt_flowspec(3) — Subroutines
NAME
rapi_fmt_flowspec − Format an RSVP API (RAPI) flowspec
LIBRARY
RAPI Library (librsvp.so, librsvp.a)
SYNOPSIS
#include <rapi.h>
void rapi_fmt_flowspec(
rapi_flowspec_t ∗specp,
char ∗buffer,
int length);
PARAMETERS
specpPoints to an RAPI flowspec.
bufferPoints to a buffer that is to contain the formatted flowspec.
lengthSpecifies the length, in bytes, of the buffer that is to contain the formatted flowspec.
DESCRIPTION
The rapi_fmt_flowspec() routine reads a given RAPI flowspec and formats it into a fixed length buffer whose address is specified by buffer and whose size is specified by length. If the buffer size is too small, the formatted flowspec is truncated.
RELATED INFORMATION
Functions: rapi_event_rtn_t(3), rapi_fmt_adspec(3), rapi_fmt_filtspec(3), rapi_fmt_tspec(3).
Network: RSVP(7).