Bug 858 - support MSG_PEEK in IPv4/IPv6 raw socket
support MSG_PEEK in IPv4/IPv6 raw socket
Status: VERIFIED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
pre-release
All All
: P3 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-04 10:15 UTC by Hajime Tazaki
Modified: 2010-06-03 18:25 UTC (History)
2 users (show)

See Also:


Attachments
Support MSG_PEEK flag in socket (1.51 KB, patch)
2010-04-07 10:41 UTC, Hajime Tazaki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Tazaki 2010-04-04 10:15:16 UTC
MSG_PEEK is used during receiving the packet without removing the data from the queue.
Attached patch aims to support this function in ipv4/ipv6 raw socket.
Comment 1 Hajime Tazaki 2010-04-07 10:41:54 UTC
Created attachment 812 [details]
Support MSG_PEEK flag in socket
Comment 2 Hajime Tazaki 2010-06-01 05:06:02 UTC
If someone is fine with this patch, I'll push it to ns-3-dev.
Comment 3 Tom Henderson 2010-06-03 01:41:24 UTC
+1
Comment 4 Hajime Tazaki 2010-06-03 18:24:57 UTC
pushed into ns-3-dev as 
changeset 6333	c461f7a25895