diff options
author | 2024-03-01 19:18:28 +0100 | |
---|---|---|
committer | 2024-03-04 13:07:45 +0000 | |
commit | 9e6c88e2f05b05892113fc56fabc652ac1ee7043 (patch) | |
tree | 2f563417790a19e03aaf3b33ac8d563c59fcdbb5 /net/mptcp/mptcp_pm_gen.h | |
parent | mptcp: implement mptcp_userspace_pm_dump_addr (diff) | |
download | linux-9e6c88e2f05b05892113fc56fabc652ac1ee7043.tar.gz linux-9e6c88e2f05b05892113fc56fabc652ac1ee7043.tar.bz2 linux-9e6c88e2f05b05892113fc56fabc652ac1ee7043.zip |
mptcp: add token for get-addr in yaml
This patch adds token parameter together with addr in get-addr section in
mptcp_pm.yaml, then use the following commands to update mptcp_pm_gen.c
and mptcp_pm_gen.h:
./tools/net/ynl/ynl-gen-c.py --mode kernel \
--spec Documentation/netlink/specs/mptcp_pm.yaml --source \
-o net/mptcp/mptcp_pm_gen.c
./tools/net/ynl/ynl-gen-c.py --mode kernel \
--spec Documentation/netlink/specs/mptcp_pm.yaml --header \
-o net/mptcp/mptcp_pm_gen.h
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/mptcp_pm_gen.h')
-rw-r--r-- | net/mptcp/mptcp_pm_gen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/mptcp_pm_gen.h b/net/mptcp/mptcp_pm_gen.h index ac9fc7225b6a..e24258f6f819 100644 --- a/net/mptcp/mptcp_pm_gen.h +++ b/net/mptcp/mptcp_pm_gen.h @@ -18,7 +18,7 @@ extern const struct nla_policy mptcp_pm_add_addr_nl_policy[MPTCP_PM_ENDPOINT_ADD extern const struct nla_policy mptcp_pm_del_addr_nl_policy[MPTCP_PM_ENDPOINT_ADDR + 1]; -extern const struct nla_policy mptcp_pm_get_addr_nl_policy[MPTCP_PM_ENDPOINT_ADDR + 1]; +extern const struct nla_policy mptcp_pm_get_addr_nl_policy[MPTCP_PM_ATTR_TOKEN + 1]; extern const struct nla_policy mptcp_pm_flush_addrs_nl_policy[MPTCP_PM_ENDPOINT_ADDR + 1]; |