aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-bind-error.c
diff options
context:
space:
mode:
authorWayne Zhang <shuowang.zhang@ibm.com>2022-05-17 12:18:54 -0400
committerJameson Nash <vtjnash@gmail.com>2022-06-11 00:26:33 -0400
commit524c5ed87d7cce85df7118eb261c7b47c563c7ad (patch)
tree4e1a87884c9d0a00b2c918ae9277e25e545b2057 /test/test-tcp-bind-error.c
parent75ad046bfb92b22a89fe399e351bb65f3bcf9e9a (diff)
downloadlibuv-524c5ed87d7cce85df7118eb261c7b47c563c7ad.tar.gz
libuv-524c5ed87d7cce85df7118eb261c7b47c563c7ad.zip
zos: add uv_interface_addresses() netmask support (#3640 2/3)
Use SIOCGIFNETMASK ioctl to retrieve the netmask for IPv4. However, this approach is not supported for IPv6. For IPv6 netmask, z/OS currently only provides the prefix length through the __nif6e_prefixlen in __net_ifconf6entry_t struct, but this can be used to calculate the IPv6 netmask similar to android implementation. Co-authored-by: Igor Todorovski <itodorov@ca.ibm.com>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions