<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Question regarding net/tun.h in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963718#M95150</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am porting some code from Solaris and Linux to HP-UX-11 that uses an IP network tunnel driver.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;FrankS</description>
    <pubDate>Fri, 16 Mar 2007 15:32:41 GMT</pubDate>
    <dc:creator>FrankS_1</dc:creator>
    <dc:date>2007-03-16T15:32:41Z</dc:date>
    <item>
      <title>Question regarding net/tun.h</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963718#M95150</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am porting some code from Solaris and Linux to HP-UX-11 that uses an IP network tunnel driver.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;FrankS</description>
      <pubDate>Fri, 16 Mar 2007 15:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963718#M95150</guid>
      <dc:creator>FrankS_1</dc:creator>
      <dc:date>2007-03-16T15:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding net/tun.h</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963719#M95151</link>
      <description>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.</description>
      <pubDate>Mon, 19 Mar 2007 11:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963719#M95151</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-03-19T11:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding net/tun.h</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963720#M95152</link>
      <description>Thank you for the reply Rick.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;FrankS</description>
      <pubDate>Mon, 19 Mar 2007 14:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963720#M95152</guid>
      <dc:creator>Frank Suchy</dc:creator>
      <dc:date>2007-03-19T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding net/tun.h</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963721#M95153</link>
      <description>If the "she" is who I suspect "she" is then she is undoubtedly the better person to ask.</description>
      <pubDate>Mon, 19 Mar 2007 15:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-net-tun-h/m-p/3963721#M95153</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-03-19T15:38:29Z</dc:date>
    </item>
  </channel>
</rss>

