#ifndef _HIP_ICOMM #define _HIP_ICOMM /* Workaround for kernels before 2.6.15.3. */ #ifndef IPV6_2292PKTINFO # define IPV6_2292PKTINFO 2 #endif /* Do not move this before the definition of struct endpoint, as i3 headers refer to libinet6 headers which in turn require the definition of the struct. */ #ifdef CONFIG_HIP_HI3 # include "i3_client_api.h" #endif #define HIP_DAEMONADDR_PATH "/tmp/hip_daemonaddr_path.tmp" #define HIP_AGENTADDR_PATH "/tmp/hip_agentaddr_path.tmp" #define HIP_USERADDR_PATH "/tmp/hip_useraddr_path.tmp" #define HIP_FIREWALLADDR_PATH "/tmp/hip_firewalladdr_path.tmp" #define SO_HIP_GLOBAL_OPT 1 #define SO_HIP_SOCKET_OPT 2 #define SO_HIP_GET_HIT_LIST 3 /** @addtogroup hip_so * HIP socket options. * @{ */ #define SO_HIP_ADD_LOCAL_HI 101 #define SO_HIP_DEL_LOCAL_HI 102 #define SO_HIP_ADD_PEER_MAP_HIT_IP 103 #define SO_HIP_DEL_PEER_MAP_HIT_IP 104 #define SO_HIP_RUN_UNIT_TEST 105 #define SO_HIP_RST 106 /** A socket option for the client of a RVS indicating that we would like to register to a rendezvous server. */ #define SO_HIP_ADD_RENDEZVOUS 107 /** A socket option for the RVS indicating that the current machine is willing to offer rendezvous service. */ #define SO_HIP_OFFER_RENDEZVOUS 108 #define SO_HIP_GET_MY_EID 109 #define SO_HIP_SET_MY_EID 110 #define SO_HIP_GET_PEER_EID 111 #define SO_HIP_SET_PEER_EID 112 #define SO_HIP_NULL_OP 113 #define SO_HIP_UNIT_TEST 114 #define SO_HIP_BOS 115 #define SO_HIP_GET_PEER_LIST 116 #define SO_HIP_NETLINK_DUMMY 117 #define SO_HIP_ADD_ESCROW 118 #define SO_HIP_DEL_ESCROW 119 #define SO_HIP_OFFER_ESCROW 120 #define SO_HIP_CONF_PUZZLE_NEW 121 #define SO_HIP_CONF_PUZZLE_GET 122 #define SO_HIP_CONF_PUZZLE_SET 123 #define SO_HIP_CONF_PUZZLE_INC 124 #define SO_HIP_CONF_PUZZLE_DEC 125 #define SO_HIP_SET_NAT_ON 126 #define SO_HIP_SET_NAT_OFF 127 #define SO_HIP_SET_OPPORTUNISTIC_MODE 128 /*Bing, trial */ #define SO_HIP_QUERY_OPPORTUNISTIC_MODE 129 #define SO_HIP_ANSWER_OPPORTUNISTIC_MODE_QUERY 130 #define SO_HIP_GET_PSEUDO_HIT 131 #define SO_HIP_SET_PSEUDO_HIT 132 #define SO_HIP_QUERY_IP_HIT_MAPPING 133 #define SO_HIP_ANSWER_IP_HIT_MAPPING_QUERY 134 #define SO_HIP_GET_PEER_HIT 136 #define SO_HIP_SET_PEER_HIT 137 #define SO_HIP_CANCEL_ESCROW 138 #define SO_HIP_CANCEL_RENDEZVOUS 139 #define SO_HIP_GET_LOCAL_HI 140 /** @} */ #endif /* _HIP_ICOMM */