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,37 @@ 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 (
1799+ flow : * const Flow , family : :: std:: os:: raw:: c_int ,
1800+ ) -> * const :: std:: os:: raw:: c_void ;
1801+ }
1802+ extern "C" {
1803+ pub fn SCFlowGetDestinationAddress (
1804+ flow : * const Flow , family : :: std:: os:: raw:: c_int ,
1805+ ) -> * const :: std:: os:: raw:: c_void ;
1806+ }
1807+ extern "C" {
1808+ pub fn SCFlowGetIPProtocol ( flow : * const Flow ) -> u8 ;
1809+ }
17911810extern "C" {
17921811 pub fn SCFlowGetSourcePort ( flow : * const Flow ) -> u16 ;
17931812}
17941813extern "C" {
17951814 pub fn SCFlowGetDestinationPort ( flow : * const Flow ) -> u16 ;
17961815}
1816+ extern "C" {
1817+ pub fn SCFlowGetToServerPacketCount ( flow : * const Flow ) -> u32 ;
1818+ }
1819+ extern "C" {
1820+ pub fn SCFlowGetToClientPacketCount ( flow : * const Flow ) -> u32 ;
1821+ }
17971822extern "C" {
17981823 pub fn SCFlowGetAppProtocol ( f : * const Flow ) -> AppProto ;
17991824}
You can’t perform that action at this time.
0 commit comments