HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Question regarding net/tun.h
Operating System - Linux
1825803
Members
2669
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 08:32 AM
03-16-2007 08:32 AM
Question regarding net/tun.h
Hi,
I am porting some code from Solaris and Linux to HP-UX-11 that uses an IP network tunnel driver.
I have been referring to the tun(4) man page, which specifies the header file as net/tun.h. The problem is, I can't find this header file anywhere on the two HP-UX machines we have.
I have also searched the internet for clues to no avail. There are some ioctl calls I need to make (TUIOSNAME for example), but I don't have the constants to do it.
Does anyone know where I can get this header file? Also, I would greatly appreciate any other bits of insight or examples related to the IP network tunnel driver on HP-UX.
Thank you,
FrankS
I am porting some code from Solaris and Linux to HP-UX-11 that uses an IP network tunnel driver.
I have been referring to the tun(4) man page, which specifies the header file as net/tun.h. The problem is, I can't find this header file anywhere on the two HP-UX machines we have.
I have also searched the internet for clues to no avail. There are some ioctl calls I need to make (TUIOSNAME for example), but I don't have the constants to do it.
Does anyone know where I can get this header file? Also, I would greatly appreciate any other bits of insight or examples related to the IP network tunnel driver on HP-UX.
Thank you,
FrankS
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 04:50 AM
03-19-2007 04:50 AM
Re: Question regarding net/tun.h
I asked around, and it seems that the tunnel driver was not meant to be documented for public use, which is why the tun.h include file is not shipped with the system.
there is no rest for the wicked yet the virtuous have no pillows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:38 AM
03-19-2007 07:38 AM
Re: Question regarding net/tun.h
Thank you for the reply Rick.
I received a response from an e-mail list stating something similar. She said that the tunnel driver was only intended for use with HP's PPP.
The code I'm porting (from Solaris and Linux) opens a /dev/tun device and creates a PtoP address pair for it. Next, routes are created to direct traffic destined for certain devices or subnets to the far end of the new /dev/tun interface. The code can then receive and handle the IP packets itself for the routed devices/subnets. It is similar to VPN, but for a more specific purpose.
Is there a way on HP to receive the IP packets directly like this? Is there an API for PPP that may allow this code to insert itself?
Thank you,
FrankS
I received a response from an e-mail list stating something similar. She said that the tunnel driver was only intended for use with HP's PPP.
The code I'm porting (from Solaris and Linux) opens a /dev/tun device and creates a PtoP address pair for it. Next, routes are created to direct traffic destined for certain devices or subnets to the far end of the new /dev/tun interface. The code can then receive and handle the IP packets itself for the routed devices/subnets. It is similar to VPN, but for a more specific purpose.
Is there a way on HP to receive the IP packets directly like this? Is there an API for PPP that may allow this code to insert itself?
Thank you,
FrankS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:38 AM
03-19-2007 08:38 AM
Re: Question regarding net/tun.h
If the "she" is who I suspect "she" is then she is undoubtedly the better person to ask.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP