| 1 |
# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) |
| 2 |
--- |
| 3 |
name: lockd |
| 4 |
protocol: genetlink |
| 5 |
uapi-header: linux/lockd_netlink.h |
| 6 |
|
| 7 |
doc: lockd configuration over generic netlink |
| 8 |
|
| 9 |
attribute-sets: |
| 10 |
- |
| 11 |
name: server |
| 12 |
attributes: |
| 13 |
- |
| 14 |
name: gracetime |
| 15 |
type: u32 |
| 16 |
- |
| 17 |
name: tcp-port |
| 18 |
type: u16 |
| 19 |
- |
| 20 |
name: udp-port |
| 21 |
type: u16 |
| 22 |
|
| 23 |
operations: |
| 24 |
list: |
| 25 |
- |
| 26 |
name: server-set |
| 27 |
doc: set the lockd server parameters |
| 28 |
attribute-set: server |
| 29 |
flags: [admin-perm] |
| 30 |
do: |
| 31 |
request: |
| 32 |
attributes: |
| 33 |
- gracetime |
| 34 |
- tcp-port |
| 35 |
- udp-port |
| 36 |
- |
| 37 |
name: server-get |
| 38 |
doc: get the lockd server parameters |
| 39 |
attribute-set: server |
| 40 |
do: |
| 41 |
reply: |
| 42 |
attributes: |
| 43 |
- gracetime |
| 44 |
- tcp-port |
| 45 |
- udp-port |