Page MenuHomeFreeBSD

Add the core netdump client code.
ClosedPublic

Authored by markj on May 1 2018, 5:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 7 2024, 12:06 AM
Unknown Object (File)
Jan 7 2024, 12:06 AM
Unknown Object (File)
Jan 7 2024, 12:06 AM
Unknown Object (File)
Jan 7 2024, 12:06 AM
Unknown Object (File)
Jan 6 2024, 8:41 AM
Unknown Object (File)
Dec 20 2023, 1:12 AM
Unknown Object (File)
Nov 11 2023, 1:40 AM
Unknown Object (File)
Nov 8 2023, 8:14 PM

Details

Summary

The netdump client creates a /dev/netdump. A couple of ioctls are used
by dumpon(8) to configure netdump as the dump device. At panic time,
netdump hooks the if_input function of the interface so that it can poll
for received packets.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16435
Build 16354: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 1 2018, 8:47 PM
emaste added inline comments.
sys/netinet/netdump/netdump.h
4

We ought to check if this email address is valid.

julian added a subscriber: julian.
julian added inline comments.
share/man/man4/netdump.4
4

according to rumour this line isn't needed any more.. ask warner

sys/netinet/netdump/netdump_client.c
834

probably..

sys/netinet/netdump/netdump.h
4

I emailed a quick note to the author at that address. It hasn't bounced back yet, so we'll see if he replies.

sys/netinet/netdump/netdump.h
4

It ended up bouncing. I'll just remove the address.

markj marked 2 inline comments as done.May 4 2018, 7:30 PM
  • Remove "all rights reserved" text.
  • Check the dst MAC address on inbound packets.
  • Remove Darrell Anderson's email address from the copyright, the address bounces.
This revision now requires review to proceed.May 4 2018, 7:52 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 6 2018, 12:38 AM
This revision was automatically updated to reflect the committed changes.