Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update our fork to the latest libpnet version #1

Open
wants to merge 168 commits into
base: icmpv6-echo
Choose a base branch
from

Conversation

florian-jackisch
Copy link

This pull request updates our libpnet fork to the latest upstream libpnet release.

hsmtkk and others added 30 commits May 24, 2021 09:51
module path should be pnet::datalink
Remove a few usages of uninitialized, add safety comments
Mark pnet_datalink::Channel non-exhaustive; remove workaround

Closes libpnet#536
add icmpv6 echo_request and echo_reply
Update import path and remove deprecated api
module path should be pnet::datalink
Add NetworkInterface::is_running()
nemosupremo and others added 29 commits April 19, 2024 18:06
Add support for setting the ECN bits on a TransportSender socket for
IPv4 and IPv6.

Signed-off-by: Will Hawkins <[email protected]>
transport: Add option to set ECN on the TransportSender socket.
Add ICMP Destination unreachable Next-hop MTU
Update ARP example to also support IPv6 via NDP
Expose the various values in the TcpOption structure for external program access
Definition for ethernet flow control packets.
I don't have a Windows machine to test this on right now, and the
required constant is missing in `pnet_sys`. Make the `set_ecn()` method
only available on unix for now.
This can be useful if the caller want to manipulate the
socket differently at creating. For example setting a
BPF filter on the socket before passing it in the channel:

```
datalink::linux::channel(interface, config, socket_fd)
```

Signed-off-by: Martin Andre <[email protected]>
datalink(linux): add feature to pass the fd (socket) to ::channel()
linux: use poll api instead of select inorder to support fd > 1024. Fixes libpnet#612 and libpnet#639
@florian-jackisch
Copy link
Author

Any comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.