diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 10:34:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 10:34:52 -0600 |
commit | 86a37059e98e46294dff804ed9265bfc112d675b (patch) | |
tree | 629492c7c7af23a999bda24e9fdcde75e04ea4cb /nuttx/net/net_close.c | |
parent | f1994c5a179ba323f3dc29de7bc4cbaadeb4a831 (diff) | |
download | nuttx-86a37059e98e46294dff804ed9265bfc112d675b.tar.gz nuttx-86a37059e98e46294dff804ed9265bfc112d675b.tar.bz2 nuttx-86a37059e98e46294dff804ed9265bfc112d675b.zip |
Clean-up packet socket naming
Diffstat (limited to 'nuttx/net/net_close.c')
-rw-r--r-- | nuttx/net/net_close.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/net/net_close.c b/nuttx/net/net_close.c index f8f733a4a..6b5fde4c9 100644 --- a/nuttx/net/net_close.c +++ b/nuttx/net/net_close.c @@ -56,6 +56,7 @@ #include "net.h" #include "uip/uip.h" +#include "pkt/pkt.h" /**************************************************************************** * Pre-processor Definitions @@ -436,7 +437,7 @@ int psock_close(FAR struct socket *psock) #ifdef CONFIG_NET_PKT case SOCK_RAW: { - struct uip_pkt_conn *conn = psock->s_conn; + FAR struct pkt_conn_s *conn = psock->s_conn; /* Is this the last reference to the connection structure (there * could be more if the socket was dup'ed). @@ -446,8 +447,8 @@ int psock_close(FAR struct socket *psock) { /* Yes... free the connection structure */ - conn->crefs = 0; /* No more references on the connection */ - uip_pktfree(psock->s_conn); /* Free uIP resources */ + conn->crefs = 0; /* No more references on the connection */ + pkt_free(psock->s_conn); /* Free uIP resources */ } else { |