summaryrefslogtreecommitdiffstats
path: root/src/include/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/in.h')
-rw-r--r--src/include/in.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/include/in.h b/src/include/in.h
deleted file mode 100644
index 5ae66769f..000000000
--- a/src/include/in.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef _IN_H
-#define _IN_H
-
-#include "stdint.h"
-#include <if_ether.h>
-#define IP ETH_P_IP
-#define ARP ETH_P_ARP
-#define RARP ETH_P_RARP
-
-#define IP_ICMP 1
-#define IP_IGMP 2
-#define IP_TCP 6
-#define IP_UDP 17
-
-/* Same after going through htonl */
-#define IP_BROADCAST 0xFFFFFFFF
-
-struct in_addr {
- uint32_t s_addr;
-};
-
-typedef struct in_addr in_addr;
-
-typedef uint16_t in_port_t;
-
-struct sockaddr_in {
- struct in_addr sin_addr;
- in_port_t sin_port;
-};
-
-extern int inet_aton ( const char *cp, struct in_addr *inp );
-
-#endif /* _IN_H */