About platforms supporting ipv6, Library and system call for ipv6, Environment variable – HP XP Racks User Manual

Page 18

Advertising
background image

About platforms supporting IPv6

Library and system call for IPv6

RAID Manager uses the following functions of IPv6 library to get and convert from hostname to
IPv6 address.

IPv6 library to resolve hostname and IPv6 address:

getaddrinfo()

inet_pton()

inet_ntop()

Socket System call to communicate using UDP/IPv6:

socket(AF_INET6)

bind(), sendmsg(), sendto(), rcvmsg(), recvfrom()…

If RAID Manager links above function in the object(exe), a core dump may occur if an old platform
(for example, Windows NT, HP-UX 10.20, Solaris 5) does not support it. So RAID Manager links
dynamically above functions by resolving the symbol after determining whether the shared library
and function for IPv6 exists. It depends on supporting of the platform whether RAID Manager can
support IPv6 or not. If platform does not support IPv6 library, then RAID Manager uses its own
internal function corresponding to "inet_pton(),inet_ntop()"; in this case, IPv6 address is not allowed
to describe hostname.

Figure 5 Library and System Call for IPv6

Environment variable

RAID Manager loads and links the library for IPv6 by specifying a PATH as follows.

For Windows systems: Ws2_32.dll

For HP-UX (PA/IA) systems: /usr/lib/libc.sl

However, RAID Manager may need to specify a different PATH to use the library for IPv6. After
this consideration, RAID Manager also supports the following environment variables for specifying
a PATH:

$IPV6_DLLPATH (valid for only HP-UX, Windows): This variable is used to change the default
PATH for loading the Library for IPv6. For example:

18

Installation requirements

Advertising
This manual is related to the following products: