diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-ipsec.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-ipsec.h')
-rw-r--r-- | epan/dissectors/packet-ipsec.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ipsec.h b/epan/dissectors/packet-ipsec.h new file mode 100644 index 00000000..1170ea5d --- /dev/null +++ b/epan/dissectors/packet-ipsec.h @@ -0,0 +1,27 @@ +/* packet-ipsec.h + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef __PACKET_IPSEC_H__ +#define __PACKET_IPSEC_H__ + + +/* 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, + 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); + +#endif |