summaryrefslogtreecommitdiff
path: root/stun.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:58:51 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:58:51 +0200
commitb1d59d3eda7ee4f09b30f807d72aac2af58409ac (patch)
tree1131681dd1b0aaf6d4d01ae6c7504422097d43ce /stun.c
parent83ef345503943cc6f7c2f02381f71113601e8261 (diff)
stun: add header file
Add a header file for stun functions. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'stun.c')
-rw-r--r--stun.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/stun.c b/stun.c
index 2389145..4ea4eac 100644
--- a/stun.c
+++ b/stun.c
@@ -1,9 +1,3 @@
-/*
- * netsniff-ng - the packet sniffing beast
- * Copyright 2011 Daniel Borkmann.
- * Subject to the GPL, version 2.
- */
-
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -21,8 +15,7 @@
#include "xmalloc.h"
#include "die.h"
#include "sock.h"
-
-extern int print_stun_probe(char *server, int sport, int tport);
+#include "stun.h"
#define BINDING_REQUEST 0x0001
#define BINDING_RESPONSE 0x0101