The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
packet.c File Reference

BIO PACKET handlers. More...

#include <freeradius-devel/bio/bio_priv.h>
#include <freeradius-devel/bio/packet.h>
+ Include dependency graph for packet.c:

Go to the source code of this file.

Functions

void fr_bio_packet_connected (fr_bio_t *bio)
 Called when a particular BIO is connected. More...
 
static void fr_bio_packet_eof (fr_bio_t *bio)
 
static void fr_bio_packet_failed (fr_bio_t *bio)
 
void fr_bio_packet_init (fr_bio_packet_t *my)
 
static int fr_bio_packet_read_blocked (fr_bio_t *bio)
 
static int fr_bio_packet_read_resume (fr_bio_t *bio)
 
static void fr_bio_packet_shutdown (fr_bio_t *bio)
 
static int fr_bio_packet_write_blocked (fr_bio_t *bio)
 Inform all of the BIOs that the write is blocked. More...
 
static int fr_bio_packet_write_resume (fr_bio_t *bio)
 

Detailed Description

BIO PACKET handlers.

Id
bdf72473a940e88b13b624668bd3e0cb605e88a4

Definition in file packet.c.

Function Documentation

◆ fr_bio_packet_connected()

void fr_bio_packet_connected ( fr_bio_t bio)

Called when a particular BIO is connected.

We see if we can connect the previous BIOs.

Definition at line 116 of file packet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_bio_packet_eof()

static void fr_bio_packet_eof ( fr_bio_t bio)
static

Definition at line 160 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_failed()

static void fr_bio_packet_failed ( fr_bio_t bio)
static

Definition at line 168 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_init()

void fr_bio_packet_init ( fr_bio_packet_t my)

Definition at line 177 of file packet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_bio_packet_read_blocked()

static int fr_bio_packet_read_blocked ( fr_bio_t bio)
static

Definition at line 94 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_read_resume()

static int fr_bio_packet_read_resume ( fr_bio_t bio)
static

Definition at line 103 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_shutdown()

static void fr_bio_packet_shutdown ( fr_bio_t bio)
static

Definition at line 152 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_write_blocked()

static int fr_bio_packet_write_blocked ( fr_bio_t bio)
static

Inform all of the BIOs that the write is blocked.

This function should be set as the BIO layer "write_blocked" callback for all BIOs created as part of a fr_bio_packet_t. The application should also set bio->uctx=bio_packet for all BIOs.

Definition at line 33 of file packet.c.

+ Here is the caller graph for this function:

◆ fr_bio_packet_write_resume()

static int fr_bio_packet_write_resume ( fr_bio_t bio)
static

Definition at line 55 of file packet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: