Note that the network IP is already masked, so to determine whether some IP falls within that network, one needs to compare (IP & netmask) with the ip_masked field.
Data Fields | |
guint32 | ip_masked |
The IP of the network (meaningful bits). | |
guint32 | netmask |
The network bit mask, selecting meaningful bits. | |
gpointer | value |
Value held. |
|
The IP of the network (meaningful bits).
|
|
The network bit mask, selecting meaningful bits.
|
|
Value held.
|