Searched refs:netmask (Results 1 - 4 of 4) sorted by relevance
/systemd/src/network/ |
H A D | networkd-dhcp4.c | 84 /* The dhcp netmask may mask out the gateway. Add an explicit 86 * netmask or existing kernel route tables. */ 149 struct in_addr netmask; local 212 r = sd_dhcp_lease_get_netmask(link->dhcp_lease, &netmask); 214 prefixlen = in_addr_netmask_to_prefixlen(&netmask); 283 struct in_addr *netmask, 290 assert(netmask); 293 prefixlen = in_addr_netmask_to_prefixlen(netmask); 304 addr->broadcast.s_addr = address->s_addr | ~netmask->s_addr; 318 struct in_addr netmask; local 281 dhcp4_update_address(Link *link, struct in_addr *address, struct in_addr *netmask, uint32_t lifetime) argument 362 struct in_addr netmask; local [all...] |
/systemd/src/libsystemd-network/ |
H A D | dhcp-server-internal.h | 56 be32_t netmask; member in struct:sd_dhcp_server
|
H A D | sd-dhcp-server.c | 42 be32_t netmask; local 52 netmask = netmask_addr.s_addr; 54 server_off = be32toh(address->s_addr & ~netmask); 55 broadcast_off = be32toh(~netmask); 88 server->netmask = netmask; 89 server->subnet = address->s_addr & netmask; 199 server->netmask = htobe32(INADDR_ANY); 464 SD_DHCP_OPTION_SUBNET_MASK, 4, &server->netmask); 501 SD_DHCP_OPTION_SUBNET_MASK, 4, &server->netmask); [all...] |
H A D | sd-dhcp-lease.c | 883 *netmask = NULL, local 910 "NETMASK", &netmask, 974 if (netmask) { 975 r = inet_pton(AF_INET, netmask, &lease->subnet_mask); 977 log_debug("Failed to parse netmask %s, ignoring.", netmask);
|
Completed in 593 milliseconds