diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-23 11:36:25 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-28 22:47:15 +0900 |
commit | d61e4c5b6e312020b22aca5acd3765df1ce61f27 (patch) | |
tree | 58858bd9e2d3c6c060b63b95d5814ae64dee54f7 /src/network/netdev/nlmon.h | |
parent | daf0f8ca87284b847c40102dbaca0890fec2f971 (diff) | |
download | systemd-d61e4c5b6e312020b22aca5acd3765df1ce61f27.tar.gz |
network: add nlmon support
nlmon is a Netlink monitor device.
Diffstat (limited to 'src/network/netdev/nlmon.h')
-rw-r--r-- | src/network/netdev/nlmon.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/network/netdev/nlmon.h b/src/network/netdev/nlmon.h new file mode 100644 index 0000000000..590b62d863 --- /dev/null +++ b/src/network/netdev/nlmon.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +typedef struct NLMon NLMon; + +#include "netdev/netdev.h" + +struct NLMon { + NetDev meta; +}; + +DEFINE_NETDEV_CAST(NLMON, NLMon); + +extern const NetDevVTable nlmon_vtable; |