/* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipl2tp_v3_state.h,v $ $Revision: 1.2 $ * $Source: /home/interpeak/CVSRoot/ipl2tp/src/ipl2tp_v3_state.h,v $ * $Author: joel $ $Date: 2006-01-30 10:47:47 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Joel Hortelius ****************************************************************************** */ #ifndef IPL2TP_V3_STATE_H #define IPL2TP_V3_STATE_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ /* **************************************************************************** * 5 TYPES **************************************************************************** */ /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ /* *=========================================================================== * ipl2tp_v3_state_machine_sccrq *=========================================================================== * Description: Handle an incoming IPL2TP SCCRQ according to state. * Parameters: tunnel - Tunnel descriptor. * Returns: IPL2TP_SUCCESS - Success. * */ IP_GLOBAL Ipl2tp_status ipl2tp_v3_state_machine_sccrq(Ipl2tp_tunnel *tunnel); /* *=========================================================================== * ipl2tp_v3_state_control_input *=========================================================================== * Description: Handle an incoming L2TP control packet. * Parameters: packet - An L2TP packet. * ipaddr - IP address of sender. * transport - The transport used * Returns: IPL2TP_SUCCESS - Success. * */ IP_GLOBAL Ipl2tp_status ipl2tp_v3_state_control_input(Ipl2tp_v3_header *header, Ip_u16 length, union Ip_sockaddr_union *addr, int transport); #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */