Wireshark
4.5.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
15
/* Configure a new SA (programmatically, most likely from a private dissector).
16
The arugments here are deliberately in the same string formats as the UAT fields
17
in order to keep code paths common.
18
Note that an attempt to match with these entries will be made *before* entries
19
added through the UAT entry interface/file. */
20
WS_DLL_PUBLIC
void
esp_sa_record_add_from_dissector(uint8_t protocol,
const
char
*srcIP,
const
char
*dstIP,
21
char
*spi,
22
uint8_t encryption_algo,
/* values from esp_encryption_type_vals */
23
const
char
*encryption_key,
24
uint8_t authentication_algo,
/* values from esp_authentication_type_vals */
25
const
char
*authentication_key);
26
27
#endif
Generated by
1.9.8