126
Chapter 3 Preparing for CCI Operations
3.1.5
About Platforms Supporting IPv6
Library and System Call for IPv6
CCI 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 CCI links above function in the object(exe), a core dump may occur if an OLD platform
(e.g., Windows NT, HP-UX 10.20, Solaris 5) does not support it. So CCI 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 CCI can support
IPv6 or not. If platform does not support IPv6 library, then CCI uses its own internal function
corresponding to “inet_pton(),inet_ntop()”; in this case, IPv6 address will not be allowed to
describe hostname.
CCI
Communication layer
getaddrinfo()
inet_xxxx()
socket
Ws2_32.dll
Windows
/usr/lib/libc.sl
HP-UX(PA)
/usr/lib/XX
Other OS
Dynamic Link
IPv6
library
Figure 3.5
Library and System Call for IPv6
Содержание TAGMASTORE MK-90RD011-25
Страница 2: ......
Страница 8: ...viii Preface ...
Страница 18: ...xviii Contents ...
Страница 180: ...162 Chapter 3 Preparing for CCI Operations ...
Страница 250: ...232 Chapter 4 Performing CCI Operations Vol Type logical unit LU type e g OPEN V OPEN 9 ...
Страница 370: ...352 Chapter 5 Troubleshooting ...
Страница 388: ...370 Acronyms and Abbreviations ...