Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-19-2003, 02:39 AM   #1
LQ Newbie
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
Question Using ioctl() to setup ipip tunnel

My program needs to setup ipip tunnel. One way I know is to call system() to execute a shell command, the other is to call ioctl().As we know, ioctl() has three parameters, first is a socket number, second is an operation number which I'v found in /usr/include/linux/if_tunnel.h(I don't know if it exactly is), and the third is a pointer. I don't know what type the third parameter is. If anyone ever used it, tell me everything in details please!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setup SSH tunnel over multiple servers dussel Linux - Networking 5 07-29-2005 08:51 AM
Changing IPIP drSivaPrakash Linux - Software 3 03-09-2005 08:32 PM
Changing ipip.c drSivaPrakash Programming 1 03-09-2005 08:22 PM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 03:08 AM
How To guides to setup an SSH Tunnel and VPN, and Print Servers pfish Linux - Networking 1 10-29-2004 06:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration