Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101912480
D47411.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
662 B
Referenced Files
None
Subscribers
None
D47411.diff
View Options
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -59,6 +59,7 @@
#endif
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <netlink/netlink.h>
#include <ctype.h>
#include <capsicum_helpers.h>
#include <err.h>
@@ -1918,6 +1919,15 @@
printf("%.*s", (int)sizeof(sa_un.sun_path), sa_un.sun_path);
break;
}
+ case AF_NETLINK: {
+ struct sockaddr_nl sa_nl;
+
+ memset(&sa_nl, 0, sizeof(sa_nl));
+ memcpy(&sa_nl, sa, sa->sa_len);
+ printf("netlink[pid=%u, groups=0x%x]",
+ sa_nl.nl_pid, sa_nl.nl_groups);
+ break;
+ }
default:
printf("unknown address family");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 1:06 PM (36 m, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14448198
Default Alt Text
D47411.diff (662 B)
Attached To
Mode
D47411: Support AF_NETLINK in ktrstruct.
Attached
Detach File
Event Timeline
Log In to Comment