The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Typedefs | Functions
list.h File Reference

Constants for the RADIUS protocol. More...

#include <freeradius-devel/util/packet.h>
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for list.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct fr_packet_list_s fr_packet_list_t
 

Functions

int8_t fr_packet_cmp (void const *a, void const *b)
 
fr_packet_list_tfr_packet_list_create (int alloc_id)
 
int fr_packet_list_fd_set (fr_packet_list_t *pl, fd_set *set)
 
fr_packet_tfr_packet_list_find (fr_packet_list_t *pl, fr_packet_t *request)
 
fr_packet_tfr_packet_list_find_byreply (fr_packet_list_t *pl, fr_packet_t *reply)
 
void fr_packet_list_free (fr_packet_list_t *pl)
 
bool fr_packet_list_id_alloc (fr_packet_list_t *pl, int proto, fr_packet_t *request_p, void **pctx)
 
bool fr_packet_list_id_free (fr_packet_list_t *pl, fr_packet_t *request, bool yank)
 
bool fr_packet_list_insert (fr_packet_list_t *pl, fr_packet_t *request_p)
 
uint32_t fr_packet_list_num_elements (fr_packet_list_t *pl)
 
uint32_t fr_packet_list_num_incoming (fr_packet_list_t *pl)
 
uint32_t fr_packet_list_num_outgoing (fr_packet_list_t *pl)
 
fr_packet_tfr_packet_list_recv (fr_packet_list_t *pl, fd_set *set, uint32_t max_attributes, bool require_ma)
 
bool fr_packet_list_socket_add (fr_packet_list_t *pl, int sockfd, int proto, fr_ipaddr_t *dst_ipaddr, uint16_t dst_port, void *ctx)
 
bool fr_packet_list_socket_del (fr_packet_list_t *pl, int sockfd)
 
bool fr_packet_list_socket_freeze (fr_packet_list_t *pl, int sockfd)
 
bool fr_packet_list_socket_thaw (fr_packet_list_t *pl, int sockfd)
 
bool fr_packet_list_yank (fr_packet_list_t *pl, fr_packet_t *request)
 
void fr_request_from_reply (fr_packet_t *request, fr_packet_t const *reply)
 

Detailed Description

Constants for the RADIUS protocol.

Id
e7640d9aaa52e8b032d691c9fdb86e15b6598aa7

Definition in file list.h.

Typedef Documentation

◆ fr_packet_list_t

Definition at line 33 of file list.h.

Function Documentation

◆ fr_packet_cmp()

int8_t fr_packet_cmp ( void const *  a,
void const *  b 
)

Definition at line 43 of file list.c.

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

◆ fr_packet_list_create()

fr_packet_list_t* fr_packet_list_create ( int  alloc_id)

Definition at line 276 of file list.c.

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

◆ fr_packet_list_fd_set()

int fr_packet_list_fd_set ( fr_packet_list_t pl,
fd_set *  set 
)

Definition at line 645 of file list.c.

+ Here is the caller graph for this function:

◆ fr_packet_list_find()

fr_packet_t* fr_packet_list_find ( fr_packet_list_t pl,
fr_packet_t request 
)

Definition at line 311 of file list.c.

+ Here is the call graph for this function:

◆ fr_packet_list_find_byreply()

fr_packet_t* fr_packet_list_find_byreply ( fr_packet_list_t pl,
fr_packet_t reply 
)

Definition at line 323 of file list.c.

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

◆ fr_packet_list_free()

void fr_packet_list_free ( fr_packet_list_t pl)

Definition at line 264 of file list.c.

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

◆ fr_packet_list_id_alloc()

bool fr_packet_list_id_alloc ( fr_packet_list_t pl,
int  proto,
fr_packet_t request_p,
void **  pctx 
)

Definition at line 395 of file list.c.

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

◆ fr_packet_list_id_free()

bool fr_packet_list_id_free ( fr_packet_list_t pl,
fr_packet_t request,
bool  yank 
)

Definition at line 621 of file list.c.

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

◆ fr_packet_list_insert()

bool fr_packet_list_insert ( fr_packet_list_t pl,
fr_packet_t request_p 
)

Definition at line 303 of file list.c.

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

◆ fr_packet_list_num_elements()

uint32_t fr_packet_list_num_elements ( fr_packet_list_t pl)

Definition at line 368 of file list.c.

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

◆ fr_packet_list_num_incoming()

uint32_t fr_packet_list_num_incoming ( fr_packet_list_t pl)

Definition at line 708 of file list.c.

+ Here is the call graph for this function:

◆ fr_packet_list_num_outgoing()

uint32_t fr_packet_list_num_outgoing ( fr_packet_list_t pl)

Definition at line 720 of file list.c.

◆ fr_packet_list_recv()

fr_packet_t* fr_packet_list_recv ( fr_packet_list_t pl,
fd_set *  set,
uint32_t  max_attributes,
bool  require_ma 
)

Definition at line 672 of file list.c.

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

◆ fr_packet_list_socket_add()

bool fr_packet_list_socket_add ( fr_packet_list_t pl,
int  sockfd,
int  proto,
fr_ipaddr_t dst_ipaddr,
uint16_t  dst_port,
void *  ctx 
)

Definition at line 187 of file list.c.

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

◆ fr_packet_list_socket_del()

bool fr_packet_list_socket_del ( fr_packet_list_t pl,
int  sockfd 
)

Definition at line 169 of file list.c.

+ Here is the call graph for this function:

◆ fr_packet_list_socket_freeze()

bool fr_packet_list_socket_freeze ( fr_packet_list_t pl,
int  sockfd 
)

Definition at line 136 of file list.c.

+ Here is the call graph for this function:

◆ fr_packet_list_socket_thaw()

bool fr_packet_list_socket_thaw ( fr_packet_list_t pl,
int  sockfd 
)

Definition at line 155 of file list.c.

+ Here is the call graph for this function:

◆ fr_packet_list_yank()

bool fr_packet_list_yank ( fr_packet_list_t pl,
fr_packet_t request 
)

Definition at line 361 of file list.c.

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

◆ fr_request_from_reply()

void fr_request_from_reply ( fr_packet_t request,
fr_packet_t const *  reply 
)

Definition at line 72 of file list.c.

+ Here is the call graph for this function: