nettest.c File Reference

Networking test support functions implementation. More...

#include <stdio.h>
#include "../include/socket.h"
#include "../err.h"
#include "nettest.h"
#include "print_error.h"
Include dependency graph for nettest.c:

Functions

int sockets_create (int verbose, int *socket_ids, int sockets, int family, sock_type_t type)
 Creates new sockets.
int sockets_close (int verbose, int *socket_ids, int sockets)
 Closes sockets.
int sockets_connect (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen)
 Connects sockets.
int sockets_sendto (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen, char *data, int size, int messages)
 Sends data via sockets.
int sockets_recvfrom (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages)
 Receives data via sockets.
int sockets_sendto_recvfrom (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages)
 Sends and receives data via sockets.
void print_mark (int index)
 Prints a mark.

Detailed Description

Networking test support functions implementation.


Generated on Thu Mar 11 20:45:55 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1