2000-02-15 21:06:58 +00:00
|
|
|
/* packet-ipsec.h
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2008-01-08 22:54:51 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2000-02-15 21:06:58 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2000-02-15 21:06:58 +00:00
|
|
|
*/
|
|
|
|
|
2000-08-11 13:37:21 +00:00
|
|
|
#ifndef __PACKET_IPSEC_H__
|
|
|
|
#define __PACKET_IPSEC_H__
|
2000-02-15 21:06:58 +00:00
|
|
|
|
2014-05-12 21:30:14 +00:00
|
|
|
|
2014-04-28 21:29:53 +00:00
|
|
|
/* Configure a new SA (programmatically, most likely from a private dissector).
|
|
|
|
The arugments here are deliberately in the same string formats as the UAT fields
|
|
|
|
in order to keep code paths common.
|
|
|
|
Note that an attempt to match with these entries will be made *before* entries
|
|
|
|
added through the UAT entry interface/file. */
|
|
|
|
WS_DLL_PUBLIC void esp_sa_record_add_from_dissector(guint8 protocol, const gchar *srcIP, const char *dstIP,
|
|
|
|
gchar *spi,
|
2021-02-10 12:03:12 +00:00
|
|
|
guint8 encryption_algo, /* values from esp_encryption_type_vals */
|
|
|
|
const gchar *encryption_key,
|
|
|
|
guint8 authentication_algo, /* values from esp_authentication_type_vals */
|
|
|
|
const gchar *authentication_key);
|
2000-08-11 13:37:21 +00:00
|
|
|
|
|
|
|
#endif
|