|
Bugzilla – Full Text Bug Listing |
| Summary: | TCP sockets can not receive ICMP notifications | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | internet | Assignee: | George Riley <riley> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bswenson3, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Add TCP functions to receive ICMP notifications from Layer3 | ||
Created attachment 1360 [details]
Add TCP functions to receive ICMP notifications from Layer3
Preliminary support, untested (should work tho).
It's a copy.paste from UDP socket, so if it's bugged this, we have an issue as well,
Also needed code in tcp-l4-protocol.cc/.h to call these functions. Fixed: 9095:8462a1160246 |
TCP sockets can not receive ICMP notifications (useful for applications) due to the missing function(s): ReceiveIcmp (Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, Ipv4Address payloadSource,Ipv4Address payloadDestination, const uint8_t payload[8]) I don't know if it's useful to have it, but I don't see why not. The feature will be more useful for IPv6, in order to properly handle MTU exceeded packets (still to be done tho). Opening a bug as a proposed enhancement to not forget about it. T.