]> granicus.if.org Git - strace/commit
sockaddr: add X.25 socket address decoding support
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 27 Aug 2018 04:26:56 +0000 (06:26 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 2 Sep 2018 22:03:43 +0000 (22:03 +0000)
commitda048e91a1d81fd609cee5422c3dc7440625c3f6
treeb2a8a5dde1faf8683ab7bf73d44fc6fe40e1bbbc
parentcfb86ab4e94f0d453dcc7c604a14df47ef9b5739
sockaddr: add X.25 socket address decoding support

* sockaddr.c: Include <linux/x25.h>.
(print_sockaddr_data_x25): New function.
(sa_printers) <[AF_X25]>: New socket address handler.
* tests/net-sockaddr.c (check_x25): New function.
(main): Use it to check X.25 socket address decoding.
defs.h
print_fields.h
sockaddr.c
tests/net-sockaddr.c