diff options
author | Julian Orth <ju.orth@gmail.com> | 2018-09-06 21:38:08 +0200 |
---|---|---|
committer | Julian Orth <ju.orth@gmail.com> | 2018-12-17 15:39:45 +0100 |
commit | 486d8792d6093c3dff7d5749db90e48a1aff3470 (patch) | |
tree | 32caf8fceb19092283237aa8214e1aba6f05f8e7 /src/tools/genkey.c | |
parent | socket: allow modification of transit_net (diff) | |
download | wireguard-monolithic-historical-486d8792d6093c3dff7d5749db90e48a1aff3470.tar.xz wireguard-monolithic-historical-486d8792d6093c3dff7d5749db90e48a1aff3470.zip |
netlink: allow modification of transit net
This commit adds two new attributes of which at most one may be
provided:
* WGDEVICE_A_TRANSIT_NETNS_PID: NLA_U32
* WGDEVICE_A_TRANSIT_NETNS_FD: NLA_U32
The transit namespace is then set to this namespace. The caller must
either be in this namespace or have CAP_NET_ADMIN in it.
Diffstat (limited to 'src/tools/genkey.c')
0 files changed, 0 insertions, 0 deletions