IP6IP6_TNL_LOCATE

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

 

NAME

ip6ip6_tnl_locate - find or create tunnel matching given parameters  

SYNOPSIS

"SYNOPSIS"

int ip6ip6_tnl_locate (struct ip6_tnl_parm * p, struct ip6_tnl ** pt, int create);  

ARGUMENTS

p
tunnel parameters
pt
-- undescribed --
create
!= 0 if allowed to create new tunnel if no match found
 

DESCRIPTION

ip6ip6_tnl_locate first tries to locate an existing tunnel based on parms. If this is unsuccessful, but create is set a new tunnel device is created and registered for use.  

RETURN

0 if tunnel located or created, -EINVAL if parameters incorrect, -ENODEV if no matching tunnel available


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN

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