static gint32 retrieveIPAddressesFromString(unsigned char *mstring, guint16 length, union sockunion addresses[])

retrieveIPv4AddressesFromString finds all IPv4 addresses in a message string.

Documentation

retrieveIPv4AddressesFromString finds all IPv4 addresses in a message string. TODO : check for maximum number of addresses, there may possibly be an overflow
Parameters:
mstring - pointer to the beginning of the message string
length - maximum length of the message that is scanned for addresses
addresses - field in which we may return addresses
Returns:
number of IPv4 addresses found

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.