File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1788,12 +1788,33 @@ extern "C" {
17881788extern "C" {
17891789 pub fn SCFlowGetFlags ( flow : * const Flow ) -> u64 ;
17901790}
1791+ extern "C" {
1792+ pub fn SCFlowIsIPv4 ( flow : * const Flow ) -> bool ;
1793+ }
1794+ extern "C" {
1795+ pub fn SCFlowIsIPv6 ( flow : * const Flow ) -> bool ;
1796+ }
1797+ extern "C" {
1798+ pub fn SCFlowGetSourceAddress ( flow : * const Flow ) -> * const :: std:: os:: raw:: c_void ;
1799+ }
1800+ extern "C" {
1801+ pub fn SCFlowGetDestinationAddress ( flow : * const Flow ) -> * const :: std:: os:: raw:: c_void ;
1802+ }
1803+ extern "C" {
1804+ pub fn SCFlowGetIPProtocol ( flow : * const Flow ) -> u8 ;
1805+ }
17911806extern "C" {
17921807 pub fn SCFlowGetSourcePort ( flow : * const Flow ) -> u16 ;
17931808}
17941809extern "C" {
17951810 pub fn SCFlowGetDestinationPort ( flow : * const Flow ) -> u16 ;
17961811}
1812+ extern "C" {
1813+ pub fn SCFlowGetToServerPacketCount ( flow : * const Flow ) -> u32 ;
1814+ }
1815+ extern "C" {
1816+ pub fn SCFlowGetToClientPacketCount ( flow : * const Flow ) -> u32 ;
1817+ }
17971818extern "C" {
17981819 pub fn SCFlowGetAppProtocol ( f : * const Flow ) -> AppProto ;
17991820}
You can’t perform that action at this time.
0 commit comments