networkclient
|
Sending and receiving packets. More...
#include <networkradius-devel/client.h>
#include <sys/socket.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Functions | |
ssize_t | nr_socket_recv (RADIUS_PACKET *packet) |
ssize_t | nr_socket_recv_response (RADIUS_PACKET *packet, const RADIUS_PACKET *original) |
int | nr_socket_send (RADIUS_PACKET *packet) |
int | nr_socket_send_response (RADIUS_PACKET *packet, const RADIUS_PACKET *original) |
struct sockaddr_storage * | nr_ipv42sockaddr (uint32_t ipaddr, int port, struct sockaddr_storage *s) |
int | sockaddr_cmp (const struct sockaddr_storage *a, const struct sockaddr_storage *b) |
int | nr_socket_open (struct sockaddr_storage *s) |
int | nr_track_id_socket (nr_track_id_t *s, struct sockaddr_storage *src, struct sockaddr_storage *dst) |
Sending and receiving packets.