]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/applayer: add function for upgrading to TLS
authorJuliana Fajardini <jufajardini@gmail.com>
Tue, 14 Sep 2021 19:05:26 +0000 (20:05 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 20 Jan 2022 07:34:58 +0000 (08:34 +0100)
rust/src/applayer.rs

index 1a9a696d461d0d8a6e71eef459405cff9a874584..d5700268fe0c10b5101966ad17a6bb3445e86498 100644 (file)
@@ -377,6 +377,7 @@ extern {
                                                      pp_min_depth: u16, pp_max_depth: u16) -> c_int;
     pub fn AppLayerProtoDetectConfProtoDetectionEnabled(ipproto: *const c_char, proto: *const c_char) -> c_int;
     pub fn AppLayerProtoDetectConfProtoDetectionEnabledDefault(ipproto: *const c_char, proto: *const c_char, default: bool) -> c_int;
+    pub fn AppLayerRequestProtocolTLSUpgrade(flow: *const Flow);
 }
 
 // Defined in app-layer-parser.h