From 125dadd3c967f34615d7ac0e54a2e0a0aff7f92c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 10 Jan 2018 16:24:12 +0100 Subject: sys/linux: use type templates for netlink -350 lines of descriptions --- sys/linux/sys.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sys/linux/sys.txt') diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 238fb2de9..7013a96b5 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -507,15 +507,12 @@ pipefd { wfd fd } -iovec_in { - addr buffer[in] - len len[addr, intptr] -} - -iovec_out { - addr buffer[out] +type iovec[DIR, T] { + addr ptr[DIR, T] len len[addr, intptr] } +type iovec_in iovec[in, array[int8]] +type iovec_out iovec[out, array[int8]] stat { dev int16 -- cgit mrf-deployment