Operating System - HP-UX
1833995 Members
2937 Online
110063 Solutions
New Discussion

/dev/ip on hpux 10.x (was: kernel routing table)

 
elisheva alexander
Occasional Contributor

/dev/ip on hpux 10.x (was: kernel routing table)

hi, i asked a question a while ago about how to get a dump of the kernel routing table, and i was told to use ioctl, and in /usr/include/net/route.h there are nice clues how to do it.
however, in hpux 10.x i found no /dev/ip.
what am i supposed to do an ioctl to?

thanks alot!
1 REPLY 1
rick jones
Honored Contributor

Re: /dev/ip on hpux 10.x (was: kernel routing table)

As you have seen, /dev/ip does not exist in 10.X. It is only in 11.X and later. 10.X is a BSDish stack, in which one opens sockets and does ioctl's on those. In this specific case, my first _guess_ would be a raw IP socket, but that could be quite incorrect.
there is no rest for the wicked yet the virtuous have no pillows