/home/tomh/openhip/hip-0.5/src/protocol/hip_stun_udp.c File Reference

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <time.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <fcntl.h>
#include <sys/types.h>
#include <hip/hip_stun_udp.h>

Functions

int closesocket (int fd)
int getErrno ()
int openPort (unsigned short port, unsigned int interfaceIp, int verbose)
int getMessage (int fd, char *buf, int *len, unsigned int *srcIp, unsigned short *srcPort, int verbose)
int sendMessage (int fd, char *buf, int l, unsigned int dstIp, unsigned short dstPort, int verbose)

Function Documentation

int closesocket ( int  fd  ) 

int getErrno (  ) 

int getMessage ( int  fd,
char *  buf,
int *  len,
unsigned int *  srcIp,
unsigned short *  srcPort,
int  verbose 
)

int openPort ( unsigned short  port,
unsigned int  interfaceIp,
int  verbose 
)

int sendMessage ( int  fd,
char *  buf,
int  l,
unsigned int  dstIp,
unsigned short  dstPort,
int  verbose 
)


Generated on Mon Oct 22 11:43:44 2007 for OpenHIP by  doxygen 1.5.1