Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-ipsec.h
1
/* packet-ipsec.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <
[email protected]
>
5
* Copyright 1998 Gerald Combs
6
*
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef __PACKET_IPSEC_H__
12
#define __PACKET_IPSEC_H__
13
14
#include "
cfile.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
/* Configure a new SA (programmatically, most likely from a private dissector).
21
The arguments here are deliberately in the same string formats as the UAT fields
22
in order to keep code paths common.
23
Note that an attempt to match with these entries will be made *before* entries
24
added through the UAT entry interface/file. */
25
WS_DLL_PUBLIC
void
esp_sa_record_add_from_dissector(uint8_t protocol,
const
char
*srcIP,
const
char
*dstIP,
26
char
*spi,
27
uint8_t encryption_algo,
/* values from esp_encryption_type_vals */
28
const
char
*encryption_key,
29
uint8_t authentication_algo,
/* values from esp_authentication_type_vals */
30
const
char
*authentication_key);
31
32
WS_DLL_PUBLIC
bool
esp_export_dsb(
capture_file
*cf);
33
34
#ifdef __cplusplus
35
}
36
#endif
/* __cplusplus */
37
38
#endif
cfile.h
_capture_file
Definition
cfile.h:67
Generated by
1.9.8