Craig Dowell
ceab0b3a2d
Remove queue limit from listen
2008-10-23 10:48:42 -07:00
Mathieu Lacage
233714297e
bug 273: constify packet pointers.
2008-08-25 09:13:05 -07:00
Gustavo J. A. M. Carneiro
e525ff58ab
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
097d2d9fc6
RecvFrom() expansion, add flags parameter to some Send calls
2008-06-09 06:40:21 -07:00
Mathieu Lacage
183fe8f239
bug 210: must take device mtu into account.
2008-06-04 10:59:30 -07:00
Mathieu Lacage
abb03e66af
bug 203: Listen must be implemented for Udp and Packet sockets.
2008-06-04 09:19:16 -07:00
Tom Henderson
1702eb8205
more doxygen
2008-05-30 10:36:02 -07:00
Tom Henderson
f91eac1957
undo SocketDefaults class; plumb in new UdpSocket option attributes
2008-05-16 21:28:07 -07:00
Tom Henderson
de36a7fdbc
swap SendTo parameters
2008-05-13 07:22:03 -07:00
Tom Henderson
c624fd527d
Enable receive buffer limit for packet socket
2008-05-11 20:59:08 -07:00
Tom Henderson
5b99a9d189
API for SocketOptions class
2008-05-10 21:27:32 -07:00
Tom Henderson
ae4c8ad2d9
Add GetTxBuffer; add some socket options; make limited UDP receive buffer functional
2008-05-03 11:11:24 -07:00
Tom Henderson
b94b2f1574
Implement GetRxAvailable ()
2008-05-02 10:55:07 -07:00
Tom Henderson
1c73dd0dd8
Plumb in socket receive pull model, in parallel to existing Receive framework
2008-04-24 08:18:01 -07:00
Mathieu Lacage
48a191409b
get rid of CreateObjectWith
2008-03-11 13:30:12 -07:00
Mathieu Lacage
af548b9f4a
do not use Packet objects directly. Use Ptr<Packet> instead
2007-10-01 14:15:56 +02:00
Mathieu Lacage
c85f578bde
backout 9856d1175cbb:642d6798feaa:27dd3e15308a
2007-08-29 09:35:53 +02:00
George Riley
feb08acc56
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
ea46e29e24
remove uint8_t * from the send path of the socket API
2007-08-01 19:19:42 +02:00
Mathieu Lacage
84f5d7e306
split callback registration from socket operations in socket.h API.
2007-08-01 18:48:24 +02:00
Mathieu Lacage
65ec58ce0a
fix tracing
2007-08-01 13:53:48 +02:00
Mathieu Lacage
a11316060c
a packet socket
2007-08-01 09:02:03 +02:00