Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv6/
Dnd6.c1294 u16_t lladdr_opt_len; local
1315 lladdr_opt_len = ((netif->hwaddr_len + 2) + 7) >> 3;
1319 lladdr_opt_len = 0;
1323 p = pbuf_alloc(PBUF_IP, sizeof(struct ns_header) + (lladdr_opt_len << 3), PBUF_RAM);
1338 if (lladdr_opt_len != 0) {
1341 lladdr_opt->length = (u8_t)lladdr_opt_len;
1381 u16_t lladdr_opt_len; local
1391 lladdr_opt_len = ((netif->hwaddr_len + 2) >> 3) + (((netif->hwaddr_len + 2) & 0x07) ? 1 : 0);
1392 p = pbuf_alloc(PBUF_IP, sizeof(struct na_header) + (lladdr_opt_len << 3), PBUF_RAM);
1412 lladdr_opt->length = (u8_t)lladdr_opt_len;
[all …]