2

ioctl does not work with IPv6.

getifaddres - unsupported by LSB

netlink sockets - unsupported by LSB

Any ideas?

Yury Bushev
  • 642
  • 9
  • 25
  • Could you describe your problem more thoroughly and clearly show what you have tried and what output you get when you try it? – The Unfun Cat Oct 04 '12 at 12:24

1 Answers1

1

1) It may be after LSB version 4.1:

https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=2143

2) Parsing the /proc/net tree.

3) Use the POSIX.1-2001 API getaddrinfo but support is rather limited compared with Win32 which explicitly details the operation to enumerate interfaces.

Steve-o
  • 12,678
  • 2
  • 41
  • 60