diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-07 20:21:18 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-08 12:52:31 +0100 |
| commit | 8ac12551c242ee54ea65b21c4c81ab41b838a602 (patch) | |
| tree | 86e8c35fc571280c9bb07c3da174dd6e65b4c6a2 /sys/linux/socket.txt | |
| parent | f01cb93788a4efb4a69309a84774de5427da71ad (diff) | |
sys/linux: add type alias for socket port
type sock_port proc[20000, 4, int16be]
That was repeated a few times.
Diffstat (limited to 'sys/linux/socket.txt')
| -rw-r--r-- | sys/linux/socket.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 232bb3452..d9a01d5dc 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -15,6 +15,7 @@ include <uapi/linux/ethtool.h> include <uapi/linux/if_ether.h> resource sock[fd] +type sock_port proc[20000, 4, int16be] # TODO: describe socketcall syscall @@ -695,8 +696,8 @@ ethtool_flow_ext { ethtool_tcpip4_spec { ip4src ipv4_addr ip4dst ipv4_addr - psrc proc[20000, 4, int16be] - pdst proc[20000, 4, int16be] + psrc sock_port + pdst sock_port tos int8 } @@ -719,8 +720,8 @@ ethtool_usrip4_spec { ethtool_tcpip6_spec { ip6src ipv6_addr ip6dst ipv6_addr - psrc proc[20000, 4, int16be] - pdst proc[20000, 4, int16be] + psrc sock_port + pdst sock_port tclass int8 } |
