nettest2.c File Reference

Networking test 2 application - transfer. More...

#include "nettest.h"
#include "print_error.h"
#include <malloc.h>
#include <stdio.h>
#include <str.h>
#include <task.h>
#include <time.h>
#include <arg_parse.h>
#include <bool.h>
#include <net/in.h>
#include <net/in6.h>
#include <net/inet.h>
#include <net/socket.h>
#include <net/socket_parse.h>

Go to the source code of this file.

Defines

#define NAME   "Nettest2"
 Echo module name.
#define NETTEST2_TEXT   "Networking test 2 - transfer"
 Packet data pattern.

Functions

int main (int argc, char *argv[])
static void nettest2_fill_buffer (char *buffer, size_t size)
 Fill buffer with the NETTEST2_TEXT pattern.
static int nettest2_parse_opt (int argc, char *argv[], int *index)
 Parse one command-line option.
static void nettest2_print_help (void)

Variables

static int family
static int messages
static uint16_t port
static size_t size
static int sockets
static sock_type_t type
static bool verbose


Detailed Description

Networking test 2 application - transfer.

Definition in file nettest2.c.


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