Embedded TCP/IP stack: fnet_netif_set_ip4_subnet_mask

FNET

void fnet_netif_set_ip4_subnet_mask ( fnet_netif_desc_t  netif_desc,
fnet_ip4_addr_t  subnet_mask 
)

Sets the subnet mask of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
subnet_maskThe subnet mask of the network interface.
See also
fnet_netif_get_ip4_subnet_mask()

This function sets the subnet mask of the netif interface to the netmask value.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net