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

Notices


Reply
  Search this Thread
Old 06-19-2003, 03:39 AM   #1
himalayas
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!
 
  


Reply


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 09:51 AM
Changing IPIP drSivaPrakash Linux - Software 3 03-09-2005 09:32 PM
Changing ipip.c drSivaPrakash Programming 1 03-09-2005 09:22 PM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 04:08 AM
How To guides to setup an SSH Tunnel and VPN, and Print Servers pfish Linux - Networking 1 10-29-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:46 PM.

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