History

drop_monitor: Add a command to query current configuration

Users should be able to query the current configuration of drop monitor before they start using it. Add a command to query the existing configuration which currently consists of alert mode and packet truncation length.

Ido Schimmel committed 7 years ago

Commit 444be061 parent 57986612 files · +50 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/net_dropmon.h+2−0
@@ -54,6 +54,8 @@ enum { · 53 unmodified lines
5454 NET_DM_CMD_START,
5555 NET_DM_CMD_STOP,
5656 NET_DM_CMD_PACKET_ALERT,
57+ NET_DM_CMD_CONFIG_GET,
58+ NET_DM_CMD_CONFIG_NEW,
5759 _NET_DM_CMD_MAX,
5860 };
5961

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t