开发者

Does AIX support SIOCGLIFCONF?

开发者 https://www.devze.com 2023-02-17 09:41 出处:网络
To probe network adapter properties in IPv4, we can use SIOCGIFONF, SIOCGIFNETMASK etc. On HP-UX and Solaris, the IPv6 equivalents are SIOCGLIFONF, SIOCGLIFNETMASK.

To probe network adapter properties in IPv4, we can use SIOCGIFONF, SIOCGIFNETMASK etc. On HP-UX and Solaris, the IPv6 equivalents are SIOCGLIFONF, SIOCGLIFNETMASK.

Does AIX support these ioctls (perhaps with an APAR) or are they called somethin开发者_如何学Pythong different?

A pointer to a standards document would be helpful - I googled but didn't find anything.


IBM's website implies the standard SIOCGIFCONF on AIX like Linux is IP family independent as it uses struct sockaddr.

http://www.ibm.com/developerworks/aix/library/au-ioctl-socket.html


Looks like there is a separate SIOCGIFCONF6 that was added to support IPv6. Not sure how to tell what version of AIX may have it.

0

精彩评论

暂无评论...
验证码 换一张
取 消