Craig Dowell
b4947df5d0
Liu's GetSockName patch
2008-10-23 15:59:48 -07:00
Craig Dowell
0d30646695
Remove queue limit from listen
2008-10-23 10:48:42 -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
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
92f2ed110a
bug 203: Listen must be implemented for Udp and Packet sockets.
2008-06-04 09:19:16 -07:00
Tom Henderson
a947ff3967
more doxygen
2008-05-30 10:36:02 -07:00
Tom Henderson
0a476b4f04
undo SocketDefaults class; plumb in new UdpSocket option attributes
2008-05-16 21:28:07 -07:00
Tom Henderson
b00892cae7
swap SendTo parameters
2008-05-13 07:22:03 -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
d7a038431f
Plumb in socket receive pull model, in parallel to existing Receive framework
2008-04-24 08:18:01 -07:00
Mathieu Lacage
b5a8d46096
get rid of CreateObjectWith
2008-03-11 13:30:12 -07:00
Mathieu Lacage
327e60b275
do not use Packet objects directly. Use Ptr<Packet> instead
2007-10-01 14:15:56 +02: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
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