#include "config.h"
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "dnet.h"
Go to the source code of this file.
Classes | |
struct | route_handle |
Functions | |
route_t * | route_open (void) |
int | route_add (route_t *route, const struct route_entry *entry) |
int | route_delete (route_t *route, const struct route_entry *entry) |
int | route_get (route_t *route, struct route_entry *entry) |
int | route_loop (route_t *r, route_handler callback, void *arg) |
route_t * | route_close (route_t *r) |
|
Definition at line 31 of file route-win32.c. References addr::addr_bits, addr_btom(), addr_net(), addr::addr_type, ADDR_TYPE_IP, CreateIpForwardEntry(), GetBestInterface(), IP_ADDR_LEN, memset, route_entry::route_dst, and route_entry::route_gw. Referenced by __pyx_f_4dnet_5route_add(), route_main(), and tun_open(). |
|
Definition at line 149 of file route-win32.c. References NULL. Referenced by __pyx_f_4dnet_5route___dealloc__(), ip_close(), route_main(), route_open(), START_TEST(), and tun_open(). |
|
Definition at line 60 of file route-win32.c. References addr::addr_bits, addr_btom(), addr::addr_type, ADDR_TYPE_IP, DeleteIpForwardEntry(), DWORD, errno, GetBestRoute(), IP_ADDR_ANY, IP_ADDR_LEN, and route_entry::route_dst. Referenced by __pyx_f_4dnet_5route_delete(), and route_main(). |
|
Definition at line 85 of file route-win32.c. References addr::addr_bits, addr_btom(), addr::addr_type, ADDR_TYPE_IP, DWORD, errno, GetBestRoute(), IP_ADDR_ANY, IP_ADDR_BITS, IP_ADDR_LEN, IP_ADDR_LOOPBACK, IP_CLASSA_NET, IP_LOCAL_GROUP, route_entry::route_dst, and route_entry::route_gw. Referenced by __pyx_f_4dnet_5route_get(), ip_send(), route_delete(), and route_main(). |
|
Definition at line 113 of file route-win32.c. References addr::addr_bits, addr_mtob(), addr::addr_type, ADDR_TYPE_IP, FALSE, GetIpForwardTable(), IP_ADDR_BITS, IP_ADDR_LEN, route_handle::ipftable, route_entry::route_dst, and route_entry::route_gw. Referenced by __pyx_f_4dnet_5route_loop(), and route_main(). |
|
Definition at line 25 of file route-win32.c. Referenced by __pyx_f_4dnet_5route___init__(), ip_open(), route_main(), START_TEST(), and tun_open(). |