ipsec_spd.c

来自「ipsec PNE 3.3 source code, running at mo」· C语言 代码 · 共 52 行

C
52
字号
/* ipsec_spd.c - IPsec SPD interface code *//*  * Copyright (c) 2000-2005 Wind River Systems, Inc.  *  * The right to copy, distribute, modify or otherwise make use  * of this software may be licensed only pursuant to the terms  * of an applicable Wind River license agreement.  *//* modification history-------------------------------------02c,16dec05,djp  Fixed compiler warnings02b,13apr05,djp  Fixed include paths02a,10mar02,rtp  replaced NETWORK_TRAFFIC_INFO with VI_NETWORK_TRAFFIC_INFO in                 func definition01a,19jul01,tkp  Uncommented call to spd_get_policy_based_on_traffic*//******************************************************************************/#include <vxWorks.h>#include "../spd/spdP.h"#include "../sadb/sadb_if.h"#include "ipsec_spd.h"#if 0#include <stdio.h>#include <netinet/in.h>#include "ipsecP.h"#include "ipsec_print_routines.h"#endif/******************************************************************************/SPD_PROCESSING_INDICATOR ipsecGetDefaultPI    (    TRAFFIC_DIRECTION direction,    VI_NETWORK_TRAFFIC_INFO *p_traffic_info    )    {    SPD_PROCESSING_INDICATOR indicator = NOT_VALID;    if (spdGetDefaultPI (p_traffic_info->type, direction, &indicator) == FALSE)        {        /* log messages ?*/        }    return (indicator);    }/******************************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?