/home/tomh/openhip/hip-0.5/src/include/hip/hip_service.h File Reference

#include <sys/socket.h>
#include <asm/types.h>

Go to the source code of this file.

Defines

#define RETNULL   NULL;
#define DNS_PORT   53
#define HIP_DNS_SUFFIX   ".hip"
#define HIP_UDP_PORT   50500
#define HIP_ESP_UDP_PORT   54500
#define KEEPALIVE_TIMEOUT   20
#define NIPQUAD(addr)
#define NIP6(addr)
#define TRUE   1
#define FALSE   0

Functions

void * hip_esp_output (void *arg)
void * hip_esp_input (void *arg)
void * hip_pfkey (void *arg)
void * tunreader (void *arg)
void * hip_dns (void *arg)
void * hipd_main (void *arg)
void * hip_netlink (void *arg)
void * hip_status (void *arg)
void * udp_esp_keepalive (void *arg)
void * udp_hip_keepalive (void *arg)
int pfkey_send_acquire (struct sockaddr *target)
void hip_sleep (int seconds)

Variables

__u64 g_tap_mac
int g_state


Define Documentation

#define DNS_PORT   53

#define FALSE   0

#define HIP_DNS_SUFFIX   ".hip"

#define HIP_ESP_UDP_PORT   54500

#define HIP_UDP_PORT   50500

#define KEEPALIVE_TIMEOUT   20

#define NIP6 ( addr   ) 

Value:

ntohs((addr).s6_addr16[0]), \
        ntohs((addr).s6_addr16[1]), \
        ntohs((addr).s6_addr16[2]), \
        ntohs((addr).s6_addr16[3]), \
        ntohs((addr).s6_addr16[4]), \
        ntohs((addr).s6_addr16[5]), \
        ntohs((addr).s6_addr16[6]), \
        ntohs((addr).s6_addr16[7])

#define NIPQUAD ( addr   ) 

Value:

((unsigned char *)&addr)[0], \
        ((unsigned char *)&addr)[1], \
        ((unsigned char *)&addr)[2], \
        ((unsigned char *)&addr)[3]

#define RETNULL   NULL;

#define TRUE   1


Function Documentation

void* hip_dns ( void *  arg  ) 

void* hip_esp_input ( void *  arg  ) 

void* hip_esp_output ( void *  arg  ) 

void* hip_netlink ( void *  arg  ) 

void * hip_pfkey ( void *  arg  ) 

void hip_sleep ( int  seconds  ) 

void* hip_status ( void *  arg  ) 

void* hipd_main ( void *  arg  ) 

int pfkey_send_acquire ( struct sockaddr *  target  ) 

void* tunreader ( void *  arg  ) 

void* udp_esp_keepalive ( void *  arg  ) 

void* udp_hip_keepalive ( void *  arg  ) 


Variable Documentation

int g_state

__u64 g_tap_mac


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