summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_main.c
diff options
context:
space:
mode:
authorChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-10 21:42:20 +0000
committerChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-10 21:42:20 +0000
commit302c8d2456ca0a09ac1ff8c07dbd9ba569d85c80 (patch)
tree6165c4e3f986812545bcbf12952840a314a6d4ac /zebra/irdp_main.c
parent224a85d77aea7077ce7aec038d7abe3bb3b049ea (diff)
parent122e52d3c6f844aceddf1b3b35885d0feae6650a (diff)
downloadquagga-302c8d2456ca0a09ac1ff8c07dbd9ba569d85c80.tar.bz2
quagga-302c8d2456ca0a09ac1ff8c07dbd9ba569d85c80.tar.xz
Merge branch 'master' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'zebra/irdp_main.c')
-rw-r--r--zebra/irdp_main.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c
index 55106699..c297979c 100644
--- a/zebra/irdp_main.c
+++ b/zebra/irdp_main.c
@@ -60,6 +60,7 @@
#include "zebra/irdp.h"
#include <netinet/ip_icmp.h>
+#include "checksum.h"
#include "if.h"
#include "sockunion.h"
#include "log.h"
@@ -75,25 +76,6 @@ struct thread *t_irdp_raw;
/* Timer interval of irdp. */
int irdp_timer_interval = IRDP_DEFAULT_INTERVAL;
-int irdp_read_raw(struct thread *r);
-int in_cksum (void *ptr, int nbytes);
-void send_packet(struct interface *ifp,
- struct stream *s,
- u_int32_t dst,
- struct prefix *p,
- u_int32_t ttl);
-
-char *
-inet_2a(u_int32_t a, char *b)
-{
- sprintf(b, "%u.%u.%u.%u",
- (a ) & 0xFF,
- (a>> 8) & 0xFF,
- (a>>16) & 0xFF,
- (a>>24) & 0xFF);
- return b;
-}
-
int
irdp_sock_init (void)
{