ipsecPolicyDatabaseDelete
Valid for: CANoe DE • CANoe4SW DE NoteThe function is dependent on the selected stack. This functionality cannot be used in connection with the operating system TCP/IP stack.
Function Syntax
Description
With this function it is possible to manually delete a single ipsec policy from the security policy database of the current network stack. The policy to delete is defined by its selectors and the direction (incoming or outgoing).Parameters
- source: The address and port of the source selector.
- sourceFix: The prefix of the source selector.
- destination: The address and port of the destination selector.
- destPrefix: The prefix of the destination sector.
- nextLayerProtocol: The upper layer protocol to be used. Can be one of the following protocols:
- IP_PROTO_ICMP
- IP_PROTO_TCP
- IP_PROTO_UDP
- IP_PROTO_ICMPv6
- ANY
- policy:
- in: delete an incoming policy
- out: delete an outgoing policy
Return Values
- 0: Success
- -1: Failed