aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_gateway.h
diff options
context:
space:
mode:
Diffstat (limited to 'pingu_gateway.h')
-rw-r--r--pingu_gateway.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/pingu_gateway.h b/pingu_gateway.h
deleted file mode 100644
index b2f424f..0000000
--- a/pingu_gateway.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef PINGU_GATEWAY_H
-#define PINGU_GATEWAY_H
-
-#include "list.h"
-#include "sockaddr_util.h"
-
-struct pingu_gateway {
- union sockaddr_any gw_addr;
- union sockaddr_any dest;
- union sockaddr_any src;
- unsigned char dst_len;
- unsigned char src_len;
-
- int metric;
- unsigned char protocol;
- unsigned char scope;
- unsigned char type;
- struct list_head gateway_list_entry;
-};
-
-void pingu_gateway_del_all(struct list_head *head);
-void pingu_gateway_add(struct list_head *gateway_list,
- struct pingu_gateway *gw);
-void pingu_gateway_del(struct list_head *gateway_list,
- struct pingu_gateway *gw);
-int is_default_gw(struct pingu_gateway *route);
-struct pingu_gateway *pingu_gateway_first_default(struct list_head *gateway_list);
-
-
-#endif