NET: Fix a few problems after big merge of network reorganization

This commit is contained in:
Gregory Nutt 2014-07-06 17:58:36 -06:00
parent 73f3ecf7e2
commit e89eac6365
6 changed files with 8 additions and 4 deletions

View File

@ -250,7 +250,7 @@
# define CONFIG_NET_ARPTAB_SIZE 8
#endif
#ifndef CONFIG_NET_ARPTAB_SIZE
#ifndef CONFIG_NET_ARP_MAXAGE
/* The maximum age of ARP table entries measured in 10ths of seconds.
*
* An CONFIG_NET_ARP_MAXAGE of 120 corresponds to 20 minutes (BSD

View File

@ -51,8 +51,8 @@
#include <debug.h>
#include <netinet/in.h>
#include <net/ethernet.h>
#include <nuttx/net/netconfig.h>
#include <nuttx/net/netdev.h>
#include <nuttx/net/arp.h>

View File

@ -49,6 +49,7 @@
# include <netpacket/packet.h>
#endif
#include <nuttx/net/net.h>
#include <nuttx/net/udp.h>
#include "socket/socket.h"
@ -140,7 +141,7 @@ static int pkt_bind(FAR struct pkt_conn_s *conn,
****************************************************************************/
int psock_bind(FAR struct socket *psock, const struct sockaddr *addr,
socklen_t addrlen)
socklen_t addrlen)
{
#ifdef CONFIG_NET_PKT
FAR const struct sockaddr_ll *lladdr = (const struct sockaddr_ll *)addr;

View File

@ -880,7 +880,7 @@ FAR struct tcp_conn_s *tcp_backlogremove(FAR struct tcp_conn_s *conn);
#ifdef CONFIG_NET_TCPBACKLOG
int tcp_backlogdelete(FAR struct tcp_conn_s *conn,
FAR struct tcp_conn_s *blconn)
FAR struct tcp_conn_s *blconn);
#else
# define tcp_backlogdelete(c,b) (-ENOSYS)
#endif

View File

@ -50,6 +50,7 @@
#include <nuttx/net/net.h>
#include "devif/devif.h"
#include "tcp/tcp.h"
/****************************************************************************
* Private Data

View File

@ -44,6 +44,8 @@
#include <nuttx/net/iob.h>
#include "tcp/tcp.h"
#ifdef CONFIG_DEBUG
/****************************************************************************