/home/tomh/openhip/hip-0.5/src/usermode/hip_nl.c File Reference

#include <windows.h>
#include <w32api/iphlpapi.h>
#include <unistd.h>
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <hip/hip_service.h>
#include <hip/hip_types.h>
#include <hip/hip_sadb.h>
#include <win32/rtnetlink.h>

Defines

#define MIB_IPADDR_PRIMARY   0x0001
#define MIB_IPADDR_DYNAMIC   0x0004
#define MIB_IPADDR_DISCONNECTED   0x0008
#define MIB_IPADDR_DELETED   0x0040
#define MIB_IPADDR_TRANSIENT   0x0080

Functions

void readIpAddrTable (PMIB_IPADDRTABLE *pTable)
int checkIpAddrTableChanges (PMIB_IPADDRTABLE pNew, PMIB_IPADDRTABLE pOld)
int netlink_send_addr (int add_del, DWORD addr, DWORD ifindex)
int sendIpAddrTable (PMIB_IPADDRTABLE pTable)
void * hip_netlink (void *arg)

Variables

int netlsp [2]
__u32 g_tap_lsi

Define Documentation

#define MIB_IPADDR_DELETED   0x0040

#define MIB_IPADDR_DISCONNECTED   0x0008

#define MIB_IPADDR_DYNAMIC   0x0004

#define MIB_IPADDR_PRIMARY   0x0001

#define MIB_IPADDR_TRANSIENT   0x0080


Function Documentation

int checkIpAddrTableChanges ( PMIB_IPADDRTABLE  pNew,
PMIB_IPADDRTABLE  pOld 
)

void* hip_netlink ( void *  arg  ) 

int netlink_send_addr ( int  add_del,
DWORD  addr,
DWORD  ifindex 
)

void readIpAddrTable ( PMIB_IPADDRTABLE *  pTable  ) 

int sendIpAddrTable ( PMIB_IPADDRTABLE  pTable  ) 


Variable Documentation

__u32 g_tap_lsi

int netlsp[2]


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