UM C API
6.12.1
|
Structure that holds an IPv4 address and a CIDR style netmask. More...
#include <lbm.h>
Data Fields | |
lbm_uint_t | addr |
int | bits |
Structure that holds an IPv4 address and a CIDR style netmask.
A structure used with options to set/get specific addresses within a range.
See lbm_ipv4_address_mask_t_stct for field definitions.
lbm_uint_t lbm_ipv4_address_mask_t_stct::addr |
IPv4 address in network byte order, as might be returned from inet_aton().
int lbm_ipv4_address_mask_t_stct::bits |
Number of leading 1's in the netmask. E.g. the value 28 represents a netmask of 0xFFFFFFF0.