net.c File Reference

#include <ubixos/types.h>
#include <net/sockets.h>
#include <string.h>
#include "lib/kprintf.h"

Go to the source code of this file.

Typedefs

typedef uInt32 in_addr_t

Functions

void bcopy (const void *src, void *dest, int len)
void bzero (void *data, int n)
uInt32 htonl (uInt32 n)
uInt32 htons (uInt32 n)
int inet_aton (char *cp, struct in_addr *addr) const


Typedef Documentation

typedef uInt32 in_addr_t

Definition at line 84 of file net.c.


Function Documentation

void bcopy ( const void *  src,
void *  dest,
int  len 
)

Definition at line 103 of file net.c.

References memcpy().

Referenced by loopif_output(), low_level_input(), and low_level_output().

void bzero ( void *  data,
int  n 
)

Definition at line 107 of file net.c.

References memset().

uInt32 htonl ( uInt32  n  ) 

Definition at line 88 of file net.c.

uInt32 htons ( uInt32  n  ) 

Definition at line 97 of file net.c.

int inet_aton ( char *  cp,
struct in_addr addr 
) const

Definition at line 112 of file net.c.

References htonl, kprintf(), NULL, in_addr::s_addr, and strtol().


Generated on Sun Dec 3 02:38:09 2006 for UbixOS V2 by  doxygen 1.4.7