0

In which header file on AIX struct ifnet is defined? I want to use this structure to get network interface information on AIX.

diago
  • 33
  • 1
  • 1
  • 7

1 Answers1

0
/usr/include/net/if.h

It is part of bos.adt.include. You probably want to install anything with "adt" in the lpp name to get includes files and other things needed for building on AIX.

If you are new to AIX networking, you need to understand the ndd structure /usr/include/sys/ndd.h which is a per network device driver structure. 'ifnet' is a per interface structure.

pedz
  • 2,271
  • 1
  • 17
  • 20