summaryrefslogtreecommitdiffstats
path: root/include/linux/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/inet.h')
-rw-r--r--include/linux/inet.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/inet.h b/include/linux/inet.h
index fbddc4e1f..4a7a9f654 100644
--- a/include/linux/inet.h
+++ b/include/linux/inet.h
@@ -42,19 +42,8 @@
#ifndef _LINUX_INET_H
#define _LINUX_INET_H
-#if defined (__i386__) || defined (__MIPSEL__)
-#define NET16(x) ((((x) >> 8) & 0x00FF) | (((x) << 8) & 0xFF00))
-#elif #if defined (__mc680x0__) || defined (__MIPSEB__)
-#define NET16(x) (x)
-#elif defined (__alpha__)
-#define NET16(x) ((((x) >> 8) & 0x00FF) | (((x) << 8) & 0xFF00))
-#else
-#error change this to match your machine
-#endif
-
#ifdef __KERNEL__
-
extern void inet_proto_init(struct net_proto *pro);
extern char *in_ntoa(unsigned long in);
extern unsigned long in_aton(char *str);