mirror of
https://github.com/OISF/suricata.git
synced 2026-10-11 22:09:53 +00:00
util/ip: add IPv4 and IPv6 length
This commit is contained in:
committed by
Victor Julien
parent
d5ae9156b9
commit
61e485446a
@@ -25,6 +25,9 @@
|
||||
#ifndef SURICATA_UTIL_IP_H
|
||||
#define SURICATA_UTIL_IP_H
|
||||
|
||||
#define SC_IPV4_LEN 4
|
||||
#define SC_IPV6_LEN 16
|
||||
|
||||
bool IPv4AddressStringIsValid(const char *str);
|
||||
bool IPv6AddressStringIsValid(const char *str);
|
||||
struct in_addr *ValidateIPV4Address(const char *);
|
||||
|
||||
Reference in New Issue
Block a user