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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -54,6 +54,8 @@ enum { · 53 unmodified lines | |||
| 54 | NET_DM_CMD_START, | 54 | NET_DM_CMD_START, |
| 55 | NET_DM_CMD_STOP, | 55 | NET_DM_CMD_STOP, |
| 56 | NET_DM_CMD_PACKET_ALERT, | 56 | NET_DM_CMD_PACKET_ALERT, |
| 57 | NET_DM_CMD_CONFIG_GET, | ||
| 58 | NET_DM_CMD_CONFIG_NEW, | ||
| 57 | _NET_DM_CMD_MAX, | 59 | _NET_DM_CMD_MAX, |
| 58 | }; | 60 | }; |
| 59 | 61 | ||