tfSadbRecordDelete

Jump to: navigation, search

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


#include <trsocket.h>


int tfSadbRecordDelete (
ttUser32Bit options,
ttSadbRecordPtr sadbPtr
);


Function Description

This procedure is called to delete an SA.



Parameters

  • options
    zero if the SAD is not locked by the calling procedure, or TM_IPSEC_DATABASE_LOCKED if SAD is already locked by the calling procedure. For manual usage, this is always zero.
  • sadbPtr
    Pointer to the SA we want to delete.


Returns

  • TM_ENOERROR
    SA is successfully deleted
  • other value
    unsuccessful operation, SA is not deleted


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