summaryrefslogtreecommitdiff
path: root/nuttx/net/socket
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-05 14:40:29 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-05 14:40:29 -0600
commitf825004170beb88dec1993ae6514e8307b9ef0fa (patch)
treed99ccb381765aaabc7eec0a75b8f779a492d1171 /nuttx/net/socket
parent38bcf8b809ca54b970a179d42051b7e57e655bf4 (diff)
downloadpx4-nuttx-f825004170beb88dec1993ae6514e8307b9ef0fa.tar.gz
px4-nuttx-f825004170beb88dec1993ae6514e8307b9ef0fa.tar.bz2
px4-nuttx-f825004170beb88dec1993ae6514e8307b9ef0fa.zip
NET: Most of the contents of include/nuttx/net/udp.h moved to net/pkt/udp.h
Diffstat (limited to 'nuttx/net/socket')
-rw-r--r--nuttx/net/socket/getsockname.c3
-rw-r--r--nuttx/net/socket/net_clone.c1
-rw-r--r--nuttx/net/socket/net_close.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/net/socket/getsockname.c b/nuttx/net/socket/getsockname.c
index 45378f823..5b799b48c 100644
--- a/nuttx/net/socket/getsockname.c
+++ b/nuttx/net/socket/getsockname.c
@@ -50,8 +50,9 @@
#include <nuttx/net/tcp.h>
#include <nuttx/net/udp.h>
-#include "socket/socket.h"
#include "netdev/netdev.h"
+#include "udp/udp.h"
+#include "socket/socket.h"
#ifdef CONFIG_NET
diff --git a/nuttx/net/socket/net_clone.c b/nuttx/net/socket/net_clone.c
index e8bcba5ae..42deb00ed 100644
--- a/nuttx/net/socket/net_clone.c
+++ b/nuttx/net/socket/net_clone.c
@@ -49,6 +49,7 @@
#include <nuttx/net/tcp.h>
#include <nuttx/net/udp.h>
+#include "udp/udp.h"
#include "socket/socket.h"
/****************************************************************************
diff --git a/nuttx/net/socket/net_close.c b/nuttx/net/socket/net_close.c
index 0fe973c0e..68dd3544b 100644
--- a/nuttx/net/socket/net_close.c
+++ b/nuttx/net/socket/net_close.c
@@ -60,6 +60,7 @@
#include "netdev/netdev.h"
#include "devif/devif.h"
#include "tcp/tcp.h"
+#include "udp/udp.h"
#include "pkt/pkt.h"
#include "socket/socket.h"