Go to the documentation of this file.
25 #ifndef SURICATA_UTIL_IP_H
26 #define SURICATA_UTIL_IP_H
struct in_addr * ValidateIPV4Address(const char *)
Validates an IPV4 address and returns the network endian arranged version of the IPV4 address.
void MaskIPNetblock(uint8_t *, int, int)
Culls the non-netmask portion of the IP address. For example an IP address 192.168....
bool IPv6AddressStringIsValid(const char *str)
determine if a string is a valid ipv6 address
struct in6_addr * ValidateIPV6Address(const char *)
Validates an IPV6 address and returns the network endian arranged version of the IPV6 address.
bool IPv4AddressStringIsValid(const char *str)
determine if a string is a valid ipv4 address