Go to the documentation of this file.
24 #ifndef SURICATA_UTIL_HOST_OS_INFO_H
25 #define SURICATA_UTIL_HOST_OS_INFO_H
27 #define SC_HINFO_IS_IPV6 0
28 #define SC_HINFO_IS_IPV4 1
int SCHInfoGetHostOSFlavour(const char *)
Retrieves the host os flavour, given an ipv4/ipv6 address as a string.
void SCHInfoCleanResources(void)
int SCHInfoAddHostOSInfo(const char *, const char *, int)
Used to add the host-os-info data obtained from the conf.
int SCHInfoGetIPv4HostOSFlavour(uint8_t *)
Retrieves the host os flavour, given an ipv4 address in the raw address format.
void SCHInfoRegisterTests(void)
void SCHInfoLoadFromConfig(void)
Load the host os policy information from the configuration.
int SCHInfoGetIPv6HostOSFlavour(uint8_t *)
Retrieves the host os flavour, given an ipv6 address in the raw address format.