tfPolicyClear

Jump to: navigation, search

Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference


#include <trsocket.h>


void tfPolicyClear (void);


Function Description

This function clears the SPD and deletes all related SA’s as well. The user must add a valid policy after this call in order for IPsec to work properly.



Parameters

  • None


Returns

  • None


Note Note: All SA’s will be cleared consequently. If TM_USE_IPSEC is defined, and no policy table exists at all, no traffic will be allowed no matter inbound or outbound.


Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference