diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2023-04-28 21:07:12 +0200 |
---|---|---|
committer | Eugene Syromyatnikov <evgsyr@gmail.com> | 2023-04-28 21:07:12 +0200 |
commit | 2c29d44acf9b84d0d24f78d03fe313d3938181c6 (patch) | |
tree | c4eef670c10bf255b3a8b63548c72add0275e07c /tests/epoll_pwait.c | |
parent | 45cae1542f07deb04dc90e4186d3bb7b61a5b516 (diff) | |
download | strace-esyr/ip-local-port-range.tar.gz |
net: implement IP_LOCAL_PORT_RANGE socket option decodingesyr/ip-local-port-range
Introduced by Linux kernel commit v6.3-rc1~162^2~206^2~1.
* src/net.c (+print_port_range): New function.
(print_getsockopt) <case SOL_IP> <case IP_LOCAL_PORT_RANGE>: Call it.
(print_setsockopt) <case SOL_IP> <case IP_LOCAL_PORT_RANGE>: Ditto.
* tests/.gitignore: Add ip_local_port_range, ip_local_port_range-Xabbrev,
ip_local_port_range-Xraw, ip_local_port_range-Xverbose,
ip_local_port_range-success, ip_local_port_range-success-Xabbrev,
ip_local_port_range-success-Xraw,
and ip_local_port_range-success-Xverbose.
* tests/Makefile.am (check_PROGRAMS): Add ip_local_port_range-success,
ip_local_port_range-success-Xabbrev, ip_local_port_range-success-Xraw,
and ip_local_port_range-success-Xverbose.
* tests/gen_tests.in (ip_local_port_range, ip_local_port_range-Xabbrev,
ip_local_port_range-Xraw, ip_local_port_range-Xverbose,
ip_local_port_range-success, ip_local_port_range-success-Xabbrev,
ip_local_port_range-success-Xraw, ip_local_port_range-success-Xverbose):
New tests.
* tests/pure_executables.list: Add ip_local_port_range,
ip_local_port_range-Xabbrev, ip_local_port_range-Xraw,
and ip_local_port_range-Xverbose.
* tests/ip_local_port_range.c: New file.
* tests/ip_local_port_range-Xabbrev.c: Likewise.
* tests/ip_local_port_range-Xraw.c: Likewise.
* tests/ip_local_port_range-Xverbose.c: Likewise.
* tests/ip_local_port_range-success-Xabbrev.c: Likewise.
* tests/ip_local_port_range-success-Xraw.c: Likewise.
* tests/ip_local_port_range-success-Xverbose.c: Likewise.
* tests/ip_local_port_range-success.c: Likewise.
* NEWS: Mention it.
Diffstat (limited to 'tests/epoll_pwait.c')
0 files changed, 0 insertions, 0 deletions