nettest.h File Reference

Networking test support functions. More...

#include <net/socket.h>

Go to the source code of this file.

Functions

void print_mark (int index)
 Prints a mark.
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_create (int verbose, int *socket_ids, int sockets, int family, sock_type_t type)
 Creates new 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 (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_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.


Detailed Description

Networking test support functions.

Definition in file nettest.h.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7