All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
proto_vmps.c File Reference
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/protocol.h>
#include <freeradius-devel/process.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/rad_assert.h>
#include "vqp.h"
+ Include dependency graph for proto_vmps.c:

Go to the source code of this file.

Functions

static int vmps_process (REQUEST *request)
 
static int vqp_socket_decode (UNUSED rad_listen_t *listener, REQUEST *request)
 
static int vqp_socket_encode (UNUSED rad_listen_t *listener, REQUEST *request)
 
static int vqp_socket_recv (rad_listen_t *listener)
 
static int vqp_socket_send (rad_listen_t *listener, REQUEST *request)
 

Variables

fr_protocol_t proto_vmps
 

Function Documentation

static int vmps_process ( REQUEST request)
static

Definition at line 34 of file proto_vmps.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int vqp_socket_decode ( UNUSED rad_listen_t listener,
REQUEST request 
)
static

Definition at line 107 of file proto_vmps.c.

+ Here is the call graph for this function:

static int vqp_socket_encode ( UNUSED rad_listen_t listener,
REQUEST request 
)
static

Definition at line 101 of file proto_vmps.c.

+ Here is the call graph for this function:

static int vqp_socket_recv ( rad_listen_t listener)
static

Definition at line 51 of file proto_vmps.c.

+ Here is the call graph for this function:

static int vqp_socket_send ( rad_listen_t listener,
REQUEST request 
)
static

Definition at line 87 of file proto_vmps.c.

+ Here is the call graph for this function:

Variable Documentation

fr_protocol_t proto_vmps
Initial value:
= {
.magic = RLM_MODULE_INIT,
.name = "vmps",
.inst_size = sizeof(listen_socket_t),
.transports = TRANSPORT_UDP,
.tls = false,
.size = vqp_packet_size,
.recv = vqp_socket_recv,
.send = vqp_socket_send,
.encode = vqp_socket_encode,
}
int common_socket_parse(CONF_SECTION *cs, rad_listen_t *this)
Definition: listen.c:1274
void common_packet_debug(REQUEST *request, RADIUS_PACKET *packet, bool received)
Definition: listen.c:1153
#define RLM_MODULE_INIT
Definition: modules.h:86
struct listen_socket_t listen_socket_t
ssize_t vqp_packet_size(uint8_t const *data, size_t data_len)
See how big of a packet is in the buffer.
Definition: vqp.c:551
#define TRANSPORT_UDP
Definition: protocol.h:62
static int vqp_socket_decode(UNUSED rad_listen_t *listener, REQUEST *request)
Definition: proto_vmps.c:107
static int vqp_socket_send(rad_listen_t *listener, REQUEST *request)
Definition: proto_vmps.c:87
static int vqp_socket_recv(rad_listen_t *listener)
Definition: proto_vmps.c:51
int common_socket_open(CONF_SECTION *cs, rad_listen_t *this)
Definition: listen.c:1599
int common_socket_print(rad_listen_t const *this, char *buffer, size_t bufsize)
Definition: listen.c:1021
static int vqp_socket_encode(UNUSED rad_listen_t *listener, REQUEST *request)
Definition: proto_vmps.c:101

Definition at line 113 of file proto_vmps.c.