diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2020-09-17 17:15:35 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-09-22 10:12:23 +0200 |
| commit | 2450c42f1be626b601353c1e039f8fcbadfaffb1 (patch) | |
| tree | 44f3d8c4e3f58be9845c8c7679e4f084dd2f5c4a /sys/linux/socket.txt | |
| parent | 85685b5d630bd5a08b951c0f091501544ece8982 (diff) | |
sys/linux: enhance ifreq_dev_t definition by setting attribute directions
This modification allows to remove [opt] modified for all uses of
ifreq_dev_t and ifreq_t
Diffstat (limited to 'sys/linux/socket.txt')
| -rw-r--r-- | sys/linux/socket.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 5bc654c74..dbda63c5d 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -284,7 +284,7 @@ ifreq_ioctls = SIOCGIFNAME, SIOCSIFLINK, SIOCGIFFLAGS, SIOCSIFFLAGS, SIOCGIFADDR ioctl$sock_ifreq(fd sock, cmd flags[ifreq_ioctls], arg ptr[inout, ifreq]) -ioctl$sock_SIOCGIFINDEX(fd sock, cmd const[SIOCGIFINDEX], arg ptr[inout, ifreq_t[ifindex[opt]]]) +ioctl$sock_SIOCGIFINDEX(fd sock, cmd const[SIOCGIFINDEX], arg ptr[inout, ifreq_t[ifindex]]) ioctl$sock_SIOCGIFBR(fd sock, cmd const[SIOCGIFBR], arg ptr[inout, brctl_arg]) ioctl$sock_SIOCSIFBR(fd sock, cmd const[SIOCSIFBR], arg ptr[inout, brctl_arg]) @@ -326,8 +326,8 @@ sendmmsg$sock(fd sock, mmsg ptr[in, array[mmsghdr_sock]], vlen len[mmsg], f flag resource ifindex[int32] type ifreq_dev_t[DEVNAME, ELEM] { - ifr_ifrn string[DEVNAME, IFNAMSIZ] - elem ELEM + ifr_ifrn string[DEVNAME, IFNAMSIZ] (in) + elem ELEM (out) } [size[IFREQ_SIZE]] type ifreq_t[ELEM] ifreq_dev_t[devnames, ELEM] |
