IP6IP6_TNL_IOCTL

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

ip6ip6_tnl_ioctl - configure ipv6 tunnels from userspace  

SYNOPSIS

"SYNOPSIS"

int ip6ip6_tnl_ioctl (struct net_device * dev, struct ifreq * ifr, int cmd);  

ARGUMENTS

dev
virtual device associated with tunnel
ifr
parameters passed from userspace
cmd
command to be performed
 

DESCRIPTION

ip6ip6_tnl_ioctl is used for managing IPv6 tunnels from userspace.  

RETURN

0 on success, -EFAULT if unable to copy data to or from userspace, -EPERM if current process hasn't CAP_NET_ADMIN set -EINVAL if passed tunnel parameters are invalid, -EEXIST if changing a tunnel's parameters would cause a conflict -ENODEV if attempting to change or delete a nonexisting device


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN

This document was created by man2html, using the manual pages.
Time: 13:31:34 GMT, October 06, 2005