📄 ipsec_spd.c
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -