diff options
| author | Yu Hao <yhao016@ucr.edu> | 2022-09-26 11:35:05 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-28 16:31:28 +0200 |
| commit | b485720cba89f4f8a0e542a8c350a21b981d1af9 (patch) | |
| tree | 69f88ac8f7af5616605e38949927ffa19eaa68cd /sys/linux/dev_ppp.txt | |
| parent | 8bcc326376d1f528a2fb2869c95f32849a50840e (diff) | |
sys/linux: fix errors
Diffstat (limited to 'sys/linux/dev_ppp.txt')
| -rw-r--r-- | sys/linux/dev_ppp.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/linux/dev_ppp.txt b/sys/linux/dev_ppp.txt index 20ad25261..fe39780c9 100644 --- a/sys/linux/dev_ppp.txt +++ b/sys/linux/dev_ppp.txt @@ -13,6 +13,9 @@ type ppp_unit int32[0:4] openat$ppp(fd const[AT_FDCWD], file ptr[in, string["/dev/ppp"]], flags flags[open_flags], mode const[0]) fd_ppp write$ppp(fd fd_ppp, data ptr[in, ppp_packet], size bytesize[data]) +ioctl$PPPIOCBRIDGECHAN(fd fd_ppp, cmd const[PPPIOCBRIDGECHAN], arg ptr[in, int32]) +ioctl$PPPIOCUNBRIDGECHAN(fd fd_ppp, cmd const[PPPIOCUNBRIDGECHAN]) + ioctl$PPPIOCNEWUNIT(fd fd_ppp, cmd const[PPPIOCNEWUNIT], arg ptr[in, ppp_unit]) ioctl$PPPIOCATTACH(fd fd_ppp, cmd const[PPPIOCATTACH], arg ptr[in, ppp_unit]) ioctl$PPPIOCATTCHAN(fd fd_ppp, cmd const[PPPIOCATTCHAN], arg ptr[in, ppp_unit]) @@ -22,6 +25,8 @@ ioctl$PPPIOCSCOMPRESS(fd fd_ppp, cmd const[PPPIOCSCOMPRESS]) ioctl$PPPIOCGUNIT(fd fd_ppp, cmd const[PPPIOCGUNIT], arg ptr[out, int32]) ioctl$PPPIOCSDEBUG(fd fd_ppp, cmd const[PPPIOCSDEBUG], arg ptr[in, int32]) ioctl$PPPIOCGDEBUG(fd fd_ppp, cmd const[PPPIOCGDEBUG], arg ptr[out, int32]) +ioctl$PPPIOCGIDLE32(fd fd_ppp, cmd const[PPPIOCGIDLE32], arg ptr[out, ppp_idle32]) +ioctl$PPPIOCGIDLE64(fd fd_ppp, cmd const[PPPIOCGIDLE64], arg ptr[out, ppp_idle64]) ioctl$PPPIOCGIDLE(fd fd_ppp, cmd const[PPPIOCGIDLE], arg ptr[out, array[int64, 2]]) ioctl$PPPIOCSMAXCID(fd fd_ppp, cmd const[PPPIOCSMAXCID], arg ptr[in, int32]) ioctl$PPPIOCGNPMODE(fd fd_ppp, cmd const[PPPIOCGNPMODE], arg ptr[in, npioctl]) @@ -42,3 +47,13 @@ npioctl { protocol flags[ppp_proto, int32] mode flags[NPmode, int32] } + +ppp_idle32 { + xmit_idle int32 + recv_idle int32 +} + +ppp_idle64 { + xmit_idle int64 + recv_idle int64 +} |
