Operating System - HP-UX
1825793 Members
2220 Online
109687 Solutions
New Discussion

How to check for 6bone ip addresses

 
Manish_33
Advisor

How to check for 6bone ip addresses

Hi,

I am using ioctls to enumerate all the available IP addresses on my systems.
However I am also getting 6bone addresses (3ffe::aaaa:230:d3ff:fe01:28e0) which i want to filter. The flags shown for this ip is 0x6800841.

I could not find any appropriate macro with which i can check and filter. Currently I am checking for sin6_addr.s6_addr32[0] = 0x3ffe0000 to filter these ip addresses.

Is there any other way ??
Thanks in advance.