Home
last modified time | relevance | path

Searched refs:sn_mask (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dautoip.c231 ip4_addr_t sn_mask, gw_addr; in autoip_bind() local
239 IP4_ADDR(&sn_mask, 255, 255, 0, 0); in autoip_bind()
242 netif_set_addr(netif, &autoip->llipaddr, &sn_mask, &gw_addr); in autoip_bind()
Ddhcp.c1117 ip4_addr_t sn_mask, gw_addr; local
1177 ip4_addr_copy(sn_mask, dhcp->offered_sn_mask);
1182 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL));
1184 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL));
1186 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL));
1200 …ip4_addr_get_u32(&dhcp->offered_ip_addr), ip4_addr_get_u32(&sn_mask), ip4_addr_get_u32(&gw_addr)));
1205 netif_set_addr(netif, &dhcp->offered_ip_addr, &sn_mask, &gw_addr);