]> granicus.if.org Git - strace/commit
net: add support for AX.25 protocols and socket option names decoding
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 27 Aug 2018 04:22:52 +0000 (06:22 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 2 Sep 2018 22:03:43 +0000 (22:03 +0000)
commitcfb86ab4e94f0d453dcc7c604a14df47ef9b5739
tree811bf81423412aba4fd4925442157af59f7f9168
parent92d020787fd5d55b3314b7ca54b0c5437c66d6c4
net: add support for AX.25 protocols and socket option names decoding

* xlat/ax25_protocols.in: New file.
* xlat/sock_ax25_options.in: Likewise.
* net.c: Include "xlat/ax25_protocols.h" and "xlat/sock_ax25_options.h".
* (SYS_FUNC(socket)): <[AF_AX25]>: Print protocol name using
ax25_protocols xlat.
(print_sockopt_fd_level_name) <[SOL_AX25]>: Print socket option name
using sock_ax25_options xlat.
net.c
xlat/ax25_protocols.in [new file with mode: 0644]
xlat/sock_ax25_options.in [new file with mode: 0644]