Merge with ns-3-dev

This commit is contained in:
Kirill Andreev
2009-08-18 12:01:35 +04:00
87 changed files with 4067 additions and 936 deletions

View File

@@ -37,7 +37,9 @@ class Ipv4RoutingProtocol;
/**
* \ingroup node
* \defgroup ipv4 Ipv4
*
*/
/**
* \ingroup ipv4
* \brief Access to the Ipv4 forwarding table, interfaces, and configuration
*
* This class defines the API to manipulate the following aspects of

View File

@@ -172,7 +172,7 @@ PacketSocket::ShutdownRecv (void)
m_errno = ERROR_BADF;
return -1;
}
m_shutdownRecv = false;
m_shutdownRecv = true;
return 0;
}
@@ -186,6 +186,8 @@ PacketSocket::Close(void)
return -1;
}
m_state = STATE_CLOSED;
m_shutdownSend = true;
m_shutdownRecv = true;
return 0;
}

View File

@@ -184,6 +184,7 @@ public:
/**
* \brief Close a socket.
* \returns zero on success, -1 on failure.
*
* After the Close call, the socket is no longer valid, and cannot
* safely be used for subsequent operations.