Commit Graph

39 Commits

Author SHA1 Message Date
Duy Nguyen
dc035d6142 fix for bug 650 (PacketSocket Close() 2009-08-06 21:58:04 -07:00
Mathieu Lacage
a8e074d6e3 new tags 2009-06-03 08:49:40 +02:00
Craig Dowell
b4947df5d0 Liu's GetSockName patch 2008-10-23 15:59:48 -07:00
Craig Dowell
c7d0ce769c Apply patch to fix bug 364 2008-10-23 11:51:15 -07:00
Craig Dowell
0d30646695 Remove queue limit from listen 2008-10-23 10:48:42 -07:00
Mathieu Lacage
05b8fed716 bug 299: packet socket broken by promiscuous update 2008-08-29 20:40:54 -07:00
Mathieu Lacage
cfdb301bee bug 273: constify packet pointers. 2008-08-25 09:13:05 -07:00
Gustavo J. A. M. Carneiro
cb491541ac Simplify promiscuous mode API: NetDevices always operate in promiscuous mode, normal receive callbacks receive extra destination address and packet type. 2008-07-07 12:18:05 +01:00
Craig Dowell
1b8812d558 Changes for bug 205, unlisted FIN bug 2008-06-16 16:25:52 -07:00
Tom Henderson
de69fcb842 RecvFrom() expansion, add flags parameter to some Send calls 2008-06-09 06:40:21 -07:00
Mathieu Lacage
45f9ff0ddc bug 210: must take device mtu into account. 2008-06-04 10:59:30 -07:00
Mathieu Lacage
44478e378d bug 209: remove buggy test for open state in PacketSocket::SendTo 2008-06-04 10:47:34 -07:00
Mathieu Lacage
92f2ed110a bug 203: Listen must be implemented for Udp and Packet sockets. 2008-06-04 09:19:16 -07:00
Tom Henderson
0a476b4f04 undo SocketDefaults class; plumb in new UdpSocket option attributes 2008-05-16 21:28:07 -07:00
Tom Henderson
18011ba4eb improve send semantics, documentation 2008-05-15 23:06:58 -07:00
Tom Henderson
aa7b91f890 branch merge 2008-05-15 21:35:55 -07:00
Gustavo J. A. M. Carneiro
36e6b69aaf PacketSocket bind-to-interface bug 2008-05-14 19:15:00 +01:00
Tom Henderson
b00892cae7 swap SendTo parameters 2008-05-13 07:22:03 -07:00
Tom Henderson
6be343530f Add SocketDefaults to store socket option attributes 2008-05-12 23:02:23 -07:00
Tom Henderson
ee62b6d04e Enable receive buffer limit for packet socket 2008-05-11 20:59:08 -07:00
Tom Henderson
0f55fefaba API for SocketOptions class 2008-05-10 21:27:32 -07:00
Tom Henderson
08511f30c5 Add GetTxBuffer; add some socket options; make limited UDP receive buffer functional 2008-05-03 11:11:24 -07:00
Tom Henderson
daddd90d07 Implement GetRxAvailable () 2008-05-02 10:55:07 -07:00
Tom Henderson
288d193daa Cut over UDP applications to use the new receive API 2008-04-25 14:29:28 -07:00
Tom Henderson
d7a038431f Plumb in socket receive pull model, in parallel to existing Receive framework 2008-04-24 08:18:01 -07:00
Mathieu Lacage
1649c1dc65 NS_LOG_FUNCTION -> NS_LOG_FUNCTION_NOARGS and NS_LOG_PARAMS -> NS_LOG_FUNCTION 2008-04-15 15:10:53 -07:00
Providence SALUMU MUNGA
46cc3fab6d make sure dev is initialized correctly when binding to more than one interface. 2008-03-28 11:26:59 -07:00
Mathieu Lacage
b5a8d46096 get rid of CreateObjectWith 2008-03-11 13:30:12 -07:00
Mathieu Lacage
c156f29c86 merge 2007-11-22 10:30:29 +01:00
Gustavo J. A. M. Carneiro
11a58a55c3 Add a few NS_LOG_LOGIC calls in PacketSocket::SendTo () 2007-11-15 16:08:28 +00:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Mathieu Lacage
e20b40ee61 backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
George Riley
391b3eef11 Change the protocol stack processing to pass packets by non-const
reference, rather than const reference and value as was previously done.
Also change  the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter.  The problem with the original
approach was that packet UID's were getting skipped.  The fix handles
the uid properly, and we get sequential packet uid's on the trace file.
2007-08-24 11:44:11 -04:00
Mathieu Lacage
971997fbc1 use implicit conversion rather than private explicit conversion: fixes build 2007-08-10 19:18:19 +02:00
Mathieu Lacage
b954d65b8f remove uint8_t * from the send path of the socket API 2007-08-01 19:19:42 +02:00
Mathieu Lacage
210e88b511 split callback registration from socket operations in socket.h API. 2007-08-01 18:48:24 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
b835a6b564 a packet socket 2007-08-01 09:02:03 +02:00