Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

HP-UX 11i v1.6 critical impact:

IPv6 interface name and index mapping APIs - now available (CrUn138)

NW Impacts

Problem description

The identified Application Programming Interfaces (APIs), as defined in RFC 2553, Basic Socket Interface Extensions for IPv6, exist on Tru64 UNIX and are now available with HP-UX 11i v2 update 2.

IPv6 is the next generation of the Internet Protocol. These APIs perform conversions between interface indexes and interface names as follows:

  • if_nametoindex maps an interface name to an interface index.

  • if_indextoname maps an interface index to an interface name.

  • if_nameindex returns an array of all interface names and indexes.

  • if_freenameindex frees dynamic memory allocated to the array of interface names and indexes.


C/C++ Functionsif_freenameindex C/C++ Functionsif_nameindex  
C/C++ Functionsif_indextoname C/C++ Functionsif_nametoindex  

See also

Solution description

Review your code and the applicable manpages for more information on interface mapping APIs and their use.

These APIs are contained in a software depot for current HP-UX versions that run on the PA-RISC platform, and are available with HP-UX 11i v2 update 2.

See also

Problem summary

classifications source types OS release severity type
NW C, C++ HP-UX 11i v1.6 critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.