summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:14:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:14:12 +0000
commit42c9f525369ba06742d53d7a89ad00153b317de6 (patch)
tree384ccc4bd211f66950ae1b72bf7b3188c58c4d56 /libc/inet
parent12c4a2b9298f6bb4320509b8bb21ba0aa2d4392d (diff)
Add files for IMA. Yes, I know it's a hack and no, I won't split the affected files
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/accept.c8
-rw-r--r--libc/inet/bind.c8
-rw-r--r--libc/inet/closenameservers.c8
-rw-r--r--libc/inet/connect.c8
-rw-r--r--libc/inet/decodea.c8
-rw-r--r--libc/inet/decoded.c8
-rw-r--r--libc/inet/decodeh.c8
-rw-r--r--libc/inet/decodep.c8
-rw-r--r--libc/inet/decodeq.c8
-rw-r--r--libc/inet/dnslookup.c8
-rw-r--r--libc/inet/encodea.c8
-rw-r--r--libc/inet/encoded.c8
-rw-r--r--libc/inet/encodeh.c8
-rw-r--r--libc/inet/encodep.c8
-rw-r--r--libc/inet/encodeq.c8
-rw-r--r--libc/inet/formquery.c8
-rw-r--r--libc/inet/get_hosts_byaddr_r.c8
-rw-r--r--libc/inet/get_hosts_byname_r.c8
-rw-r--r--libc/inet/gethostbyaddr.c8
-rw-r--r--libc/inet/gethostbyaddr_r.c8
-rw-r--r--libc/inet/gethostbyname.c8
-rw-r--r--libc/inet/gethostbyname2.c8
-rw-r--r--libc/inet/gethostbyname2_r.c8
-rw-r--r--libc/inet/gethostbyname_r.c8
-rw-r--r--libc/inet/gethostent.c8
-rw-r--r--libc/inet/getnameinfo.c8
-rw-r--r--libc/inet/getpeername.c8
-rw-r--r--libc/inet/getsockname.c8
-rw-r--r--libc/inet/getsockopt.c8
-rw-r--r--libc/inet/inet_addr.c8
-rw-r--r--libc/inet/inet_aton.c8
-rw-r--r--libc/inet/inet_lnaof.c8
-rw-r--r--libc/inet/inet_makeaddr.c8
-rw-r--r--libc/inet/inet_netof.c8
-rw-r--r--libc/inet/inet_ntoa.c8
-rw-r--r--libc/inet/lengthd.c8
-rw-r--r--libc/inet/lengthq.c8
-rw-r--r--libc/inet/listen.c8
-rw-r--r--libc/inet/ns_name.c8
-rw-r--r--libc/inet/opennameservers.c8
-rw-r--r--libc/inet/read_etc_hosts_r.c8
-rw-r--r--libc/inet/recv.c8
-rw-r--r--libc/inet/recvfrom.c8
-rw-r--r--libc/inet/recvmsg.c8
-rw-r--r--libc/inet/res_comp.c8
-rw-r--r--libc/inet/res_init.c8
-rw-r--r--libc/inet/res_query.c8
-rw-r--r--libc/inet/resolveaddress.c8
-rw-r--r--libc/inet/resolvename.c8
-rw-r--r--libc/inet/send.c8
-rw-r--r--libc/inet/sendmsg.c8
-rw-r--r--libc/inet/sendto.c8
-rw-r--r--libc/inet/setsockopt.c8
-rw-r--r--libc/inet/shutdown.c8
-rw-r--r--libc/inet/socket.c8
-rw-r--r--libc/inet/socketpair.c8
56 files changed, 448 insertions, 0 deletions
diff --git a/libc/inet/accept.c b/libc/inet/accept.c
new file mode 100644
index 000000000..0217a6876
--- /dev/null
+++ b/libc/inet/accept.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_accept
+#include "socketcalls.c"
diff --git a/libc/inet/bind.c b/libc/inet/bind.c
new file mode 100644
index 000000000..d13e2262e
--- /dev/null
+++ b/libc/inet/bind.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_bind
+#include "socketcalls.c"
diff --git a/libc/inet/closenameservers.c b/libc/inet/closenameservers.c
new file mode 100644
index 000000000..ca4dae3fb
--- /dev/null
+++ b/libc/inet/closenameservers.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_closenameservers
+#include "resolv.c"
diff --git a/libc/inet/connect.c b/libc/inet/connect.c
new file mode 100644
index 000000000..bddbe16e6
--- /dev/null
+++ b/libc/inet/connect.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_connect
+#include "socketcalls.c"
diff --git a/libc/inet/decodea.c b/libc/inet/decodea.c
new file mode 100644
index 000000000..409a97843
--- /dev/null
+++ b/libc/inet/decodea.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_decodea
+#include "resolv.c"
diff --git a/libc/inet/decoded.c b/libc/inet/decoded.c
new file mode 100644
index 000000000..73849ef5f
--- /dev/null
+++ b/libc/inet/decoded.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_decoded
+#include "resolv.c"
diff --git a/libc/inet/decodeh.c b/libc/inet/decodeh.c
new file mode 100644
index 000000000..86681fa88
--- /dev/null
+++ b/libc/inet/decodeh.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_decodeh
+#include "resolv.c"
diff --git a/libc/inet/decodep.c b/libc/inet/decodep.c
new file mode 100644
index 000000000..40b0bda0d
--- /dev/null
+++ b/libc/inet/decodep.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_decodep
+#include "resolv.c"
diff --git a/libc/inet/decodeq.c b/libc/inet/decodeq.c
new file mode 100644
index 000000000..a6109677e
--- /dev/null
+++ b/libc/inet/decodeq.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_decodeq
+#include "resolv.c"
diff --git a/libc/inet/dnslookup.c b/libc/inet/dnslookup.c
new file mode 100644
index 000000000..4ffc34f0a
--- /dev/null
+++ b/libc/inet/dnslookup.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_dnslookup
+#include "resolv.c"
diff --git a/libc/inet/encodea.c b/libc/inet/encodea.c
new file mode 100644
index 000000000..628f9bad5
--- /dev/null
+++ b/libc/inet/encodea.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_encodea
+#include "resolv.c"
diff --git a/libc/inet/encoded.c b/libc/inet/encoded.c
new file mode 100644
index 000000000..d60618771
--- /dev/null
+++ b/libc/inet/encoded.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_encoded
+#include "resolv.c"
diff --git a/libc/inet/encodeh.c b/libc/inet/encodeh.c
new file mode 100644
index 000000000..1d5488017
--- /dev/null
+++ b/libc/inet/encodeh.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_encodeh
+#include "resolv.c"
diff --git a/libc/inet/encodep.c b/libc/inet/encodep.c
new file mode 100644
index 000000000..d2f248b40
--- /dev/null
+++ b/libc/inet/encodep.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_encodep
+#include "resolv.c"
diff --git a/libc/inet/encodeq.c b/libc/inet/encodeq.c
new file mode 100644
index 000000000..be1a3123b
--- /dev/null
+++ b/libc/inet/encodeq.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_encodeq
+#include "resolv.c"
diff --git a/libc/inet/formquery.c b/libc/inet/formquery.c
new file mode 100644
index 000000000..2c53e33de
--- /dev/null
+++ b/libc/inet/formquery.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_formquery
+#include "resolv.c"
diff --git a/libc/inet/get_hosts_byaddr_r.c b/libc/inet/get_hosts_byaddr_r.c
new file mode 100644
index 000000000..c377aec13
--- /dev/null
+++ b/libc/inet/get_hosts_byaddr_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_get_hosts_byaddr_r
+#include "resolv.c"
diff --git a/libc/inet/get_hosts_byname_r.c b/libc/inet/get_hosts_byname_r.c
new file mode 100644
index 000000000..7ad1e3fa5
--- /dev/null
+++ b/libc/inet/get_hosts_byname_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_get_hosts_byname_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyaddr.c b/libc/inet/gethostbyaddr.c
new file mode 100644
index 000000000..ae8a543e5
--- /dev/null
+++ b/libc/inet/gethostbyaddr.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyaddr
+#include "resolv.c"
diff --git a/libc/inet/gethostbyaddr_r.c b/libc/inet/gethostbyaddr_r.c
new file mode 100644
index 000000000..6235c82e1
--- /dev/null
+++ b/libc/inet/gethostbyaddr_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyaddr_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname.c b/libc/inet/gethostbyname.c
new file mode 100644
index 000000000..3d46ab015
--- /dev/null
+++ b/libc/inet/gethostbyname.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyname
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname2.c b/libc/inet/gethostbyname2.c
new file mode 100644
index 000000000..685801642
--- /dev/null
+++ b/libc/inet/gethostbyname2.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyname2
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname2_r.c b/libc/inet/gethostbyname2_r.c
new file mode 100644
index 000000000..06d058ae7
--- /dev/null
+++ b/libc/inet/gethostbyname2_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyname2_r
+#include "resolv.c"
diff --git a/libc/inet/gethostbyname_r.c b/libc/inet/gethostbyname_r.c
new file mode 100644
index 000000000..fc9e56da5
--- /dev/null
+++ b/libc/inet/gethostbyname_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostbyname_r
+#include "resolv.c"
diff --git a/libc/inet/gethostent.c b/libc/inet/gethostent.c
new file mode 100644
index 000000000..16133c0e4
--- /dev/null
+++ b/libc/inet/gethostent.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_gethostent
+#include "resolv.c"
diff --git a/libc/inet/getnameinfo.c b/libc/inet/getnameinfo.c
new file mode 100644
index 000000000..fbfd3ede1
--- /dev/null
+++ b/libc/inet/getnameinfo.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_getnameinfo
+#include "resolv.c"
diff --git a/libc/inet/getpeername.c b/libc/inet/getpeername.c
new file mode 100644
index 000000000..74825a7b2
--- /dev/null
+++ b/libc/inet/getpeername.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_getpeername
+#include "socketcalls.c"
diff --git a/libc/inet/getsockname.c b/libc/inet/getsockname.c
new file mode 100644
index 000000000..4a4d6a135
--- /dev/null
+++ b/libc/inet/getsockname.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_getsockname
+#include "socketcalls.c"
diff --git a/libc/inet/getsockopt.c b/libc/inet/getsockopt.c
new file mode 100644
index 000000000..48f72e999
--- /dev/null
+++ b/libc/inet/getsockopt.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_getsockopt
+#include "socketcalls.c"
diff --git a/libc/inet/inet_addr.c b/libc/inet/inet_addr.c
new file mode 100644
index 000000000..445f850a1
--- /dev/null
+++ b/libc/inet/inet_addr.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_makeaddr
+#include "addr.c"
diff --git a/libc/inet/inet_aton.c b/libc/inet/inet_aton.c
new file mode 100644
index 000000000..d79ba07b0
--- /dev/null
+++ b/libc/inet/inet_aton.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_aton
+#include "addr.c"
diff --git a/libc/inet/inet_lnaof.c b/libc/inet/inet_lnaof.c
new file mode 100644
index 000000000..9887a4342
--- /dev/null
+++ b/libc/inet/inet_lnaof.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_lnaof
+#include "addr.c"
diff --git a/libc/inet/inet_makeaddr.c b/libc/inet/inet_makeaddr.c
new file mode 100644
index 000000000..9f946967c
--- /dev/null
+++ b/libc/inet/inet_makeaddr.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_addr
+#include "addr.c"
diff --git a/libc/inet/inet_netof.c b/libc/inet/inet_netof.c
new file mode 100644
index 000000000..045c120c9
--- /dev/null
+++ b/libc/inet/inet_netof.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_netof
+#include "addr.c"
diff --git a/libc/inet/inet_ntoa.c b/libc/inet/inet_ntoa.c
new file mode 100644
index 000000000..83ed13803
--- /dev/null
+++ b/libc/inet/inet_ntoa.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_inet_ntoa
+#include "addr.c"
diff --git a/libc/inet/lengthd.c b/libc/inet/lengthd.c
new file mode 100644
index 000000000..07c7fc6f1
--- /dev/null
+++ b/libc/inet/lengthd.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_lengthd
+#include "resolv.c"
diff --git a/libc/inet/lengthq.c b/libc/inet/lengthq.c
new file mode 100644
index 000000000..e62e6f25a
--- /dev/null
+++ b/libc/inet/lengthq.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_lengthq
+#include "resolv.c"
diff --git a/libc/inet/listen.c b/libc/inet/listen.c
new file mode 100644
index 000000000..32e347895
--- /dev/null
+++ b/libc/inet/listen.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_listen
+#include "socketcalls.c"
diff --git a/libc/inet/ns_name.c b/libc/inet/ns_name.c
new file mode 100644
index 000000000..158a1a331
--- /dev/null
+++ b/libc/inet/ns_name.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_ns_name
+#include "resolv.c"
diff --git a/libc/inet/opennameservers.c b/libc/inet/opennameservers.c
new file mode 100644
index 000000000..effd10800
--- /dev/null
+++ b/libc/inet/opennameservers.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_opennameservers
+#include "resolv.c"
diff --git a/libc/inet/read_etc_hosts_r.c b/libc/inet/read_etc_hosts_r.c
new file mode 100644
index 000000000..6504e541f
--- /dev/null
+++ b/libc/inet/read_etc_hosts_r.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_read_etc_hosts_r
+#include "resolv.c"
diff --git a/libc/inet/recv.c b/libc/inet/recv.c
new file mode 100644
index 000000000..1c77ce323
--- /dev/null
+++ b/libc/inet/recv.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_recv
+#include "socketcalls.c"
diff --git a/libc/inet/recvfrom.c b/libc/inet/recvfrom.c
new file mode 100644
index 000000000..ec683f6c8
--- /dev/null
+++ b/libc/inet/recvfrom.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_recvfrom
+#include "socketcalls.c"
diff --git a/libc/inet/recvmsg.c b/libc/inet/recvmsg.c
new file mode 100644
index 000000000..db51d8b03
--- /dev/null
+++ b/libc/inet/recvmsg.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_recvmsg
+#include "socketcalls.c"
diff --git a/libc/inet/res_comp.c b/libc/inet/res_comp.c
new file mode 100644
index 000000000..8aee6b17c
--- /dev/null
+++ b/libc/inet/res_comp.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_res_comp
+#include "resolv.c"
diff --git a/libc/inet/res_init.c b/libc/inet/res_init.c
new file mode 100644
index 000000000..09caf4927
--- /dev/null
+++ b/libc/inet/res_init.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_res_init
+#include "resolv.c"
diff --git a/libc/inet/res_query.c b/libc/inet/res_query.c
new file mode 100644
index 000000000..c662510e6
--- /dev/null
+++ b/libc/inet/res_query.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_res_query
+#include "resolv.c"
diff --git a/libc/inet/resolveaddress.c b/libc/inet/resolveaddress.c
new file mode 100644
index 000000000..d57366c98
--- /dev/null
+++ b/libc/inet/resolveaddress.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_resolveaddress
+#include "resolv.c"
diff --git a/libc/inet/resolvename.c b/libc/inet/resolvename.c
new file mode 100644
index 000000000..157878fd1
--- /dev/null
+++ b/libc/inet/resolvename.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_resolvename
+#include "resolv.c"
diff --git a/libc/inet/send.c b/libc/inet/send.c
new file mode 100644
index 000000000..6b7d44b53
--- /dev/null
+++ b/libc/inet/send.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_send
+#include "socketcalls.c"
diff --git a/libc/inet/sendmsg.c b/libc/inet/sendmsg.c
new file mode 100644
index 000000000..834e83998
--- /dev/null
+++ b/libc/inet/sendmsg.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_sendmsg
+#include "socketcalls.c"
diff --git a/libc/inet/sendto.c b/libc/inet/sendto.c
new file mode 100644
index 000000000..328baa326
--- /dev/null
+++ b/libc/inet/sendto.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_sendto
+#include "socketcalls.c"
diff --git a/libc/inet/setsockopt.c b/libc/inet/setsockopt.c
new file mode 100644
index 000000000..b0f4a4e96
--- /dev/null
+++ b/libc/inet/setsockopt.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_setsockopt
+#include "socketcalls.c"
diff --git a/libc/inet/shutdown.c b/libc/inet/shutdown.c
new file mode 100644
index 000000000..0bcdb9f38
--- /dev/null
+++ b/libc/inet/shutdown.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_shutdown
+#include "socketcalls.c"
diff --git a/libc/inet/socket.c b/libc/inet/socket.c
new file mode 100644
index 000000000..752744b88
--- /dev/null
+++ b/libc/inet/socket.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_socket
+#include "socketcalls.c"
diff --git a/libc/inet/socketpair.c b/libc/inet/socketpair.c
new file mode 100644
index 000000000..f7c435474
--- /dev/null
+++ b/libc/inet/socketpair.c
@@ -0,0 +1,8 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_socketpair
+#include "socketcalls.c"