forked from osmocom/wireshark
![Dario Lombardo](/assets/img/avatar_default.png)
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
26 lines
980 B
C
26 lines
980 B
C
/* 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, const gchar *encryption_key,
|
|
guint8 authentication_algo, const gchar *authentication_key);
|
|
|
|
#endif
|