From 5a093b74f6098caf00949dcf2c2ba4c2cd9ff255 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 31 Aug 2017 14:07:37 +0200 Subject: sys: change proc arguments to the format used by const/flags/len All other types have optional underlying type as the last argument. Proc have it as first. This creates very irregular syntax and complicates parsing. Make type the last argument. Note: this is a breaking change if you have descriptions on the side. --- sys/socket.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/socket.txt') diff --git a/sys/socket.txt b/sys/socket.txt index a18ada897..0824ea239 100644 --- a/sys/socket.txt +++ b/sys/socket.txt @@ -289,7 +289,7 @@ syzn_devname { s const[115, int8] y const[121, int8] z const[122, int8] - N proc[int8, 48, 1] + N proc[48, 1, int8] z0 const[0, int8] } @@ -696,8 +696,8 @@ ethtool_flow_ext { ethtool_tcpip4_spec { ip4src ipv4_addr ip4dst ipv4_addr - psrc proc[int16be, 20000, 4] - pdst proc[int16be, 20000, 4] + psrc proc[20000, 4, int16be] + pdst proc[20000, 4, int16be] tos int8 } @@ -720,8 +720,8 @@ ethtool_usrip4_spec { ethtool_tcpip6_spec { ip6src ipv6_addr ip6dst ipv6_addr - psrc proc[int16be, 20000, 4] - pdst proc[int16be, 20000, 4] + psrc proc[20000, 4, int16be] + pdst proc[20000, 4, int16be] tclass int8 } -- cgit mrf-deployment