/home/tomh/openhip/hip-0.5/src/include/hip/i3_hip.h

Go to the documentation of this file.
00001 /*
00002  * Interface with i3 and HIP for Hi3
00003  * Author: (c) Andrei Gurtov, HIIT
00004  * Licence: GPLv2
00005  * Written: 3.4.2005
00006 */
00007 
00008 #include <stdio.h>
00009 #include <stdlib.h>
00010 #include <stdarg.h>
00011 #include <sys/types.h>   /* basic system data types */
00012 #include <sys/socket.h>  /* basic socket definitions */
00013 #include <sys/time.h>    /* timeval{} for select() */
00014 #include <errno.h>
00015 #include <sys/utsname.h>
00016 #include <time.h>                /* timespec{} for pselect() */
00017 #include <netinet/in.h>  /* sockaddr_in{} and other Internet defns */
00018 #include <arpa/inet.h>
00019 #include <netdb.h>
00020 #include <unistd.h>
00021 #include <netinet/udp.h>
00022 #include <netinet/ip.h>
00023 
00024 #include "i3_server/i3_matching.h"
00025 #include "i3/i3.h"
00026 #include "i3_client/i3_client_api.h"
00027 #include "i3_client/i3_client_id.h"
00028 #include "hip.h"
00029 
00030 #define CFGFILE "i3-cfg-PL.xml"
00031 //#define HI3_DEBUG 
00032 
00033 int cl_register_callback(unsigned short, void (*)(), void*);
00034 int send_i3(__u8 *, int, hip_hit *, struct sockaddr*, struct sockaddr*);
00035 void hip_handle_packet(struct msghdr* , int, __u16);
00036 int i3_init(hip_hit*);
00037 void init_id_fromstr(ID *, char *);
00038 void print_hit(const hip_hit *);
00039 void clean_i3();

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