*
* \todo array should be ordered, so we can break out of the loop
*/
-int DetectAddressMatchIPv4(DetectMatchAddressIPv4 *addrs, uint16_t addrs_cnt, Address *a)
+int DetectAddressMatchIPv4(const DetectMatchAddressIPv4 *addrs,
+ uint16_t addrs_cnt, const Address *a)
{
SCEnter();
*
* \todo array should be ordered, so we can break out of the loop
*/
-int DetectAddressMatchIPv6(DetectMatchAddressIPv6 *addrs, uint16_t addrs_cnt, Address *a)
+int DetectAddressMatchIPv6(const DetectMatchAddressIPv6 *addrs,
+ uint16_t addrs_cnt, const Address *a)
{
SCEnter();
void DetectAddressPrint(DetectAddress *);
int DetectAddressCmp(DetectAddress *, DetectAddress *);
-int DetectAddressMatchIPv4(DetectMatchAddressIPv4 *, uint16_t, Address *);
-int DetectAddressMatchIPv6(DetectMatchAddressIPv6 *, uint16_t, Address *);
+int DetectAddressMatchIPv4(const DetectMatchAddressIPv4 *, uint16_t, const Address *);
+int DetectAddressMatchIPv6(const DetectMatchAddressIPv6 *, uint16_t, const Address *);
int DetectAddressTestConfVars(void);