Searched refs:lladdr_opt_len (Results 1 – 1 of 1) sorted by relevance
1170 u16_t lladdr_opt_len; in nd6_send_ns() local1179 lladdr_opt_len = ((netif->hwaddr_len + 2) + 7) >> 3; in nd6_send_ns()1183 lladdr_opt_len = 0; in nd6_send_ns()1187 p = pbuf_alloc(PBUF_IP, sizeof(struct ns_header) + (lladdr_opt_len << 3), PBUF_RAM); in nd6_send_ns()1202 if (lladdr_opt_len != 0) { in nd6_send_ns()1205 lladdr_opt->length = (u8_t)lladdr_opt_len; in nd6_send_ns()1245 u16_t lladdr_opt_len; in nd6_send_na() local1255 lladdr_opt_len = ((netif->hwaddr_len + 2) >> 3) + (((netif->hwaddr_len + 2) & 0x07) ? 1 : 0); in nd6_send_na()1256 p = pbuf_alloc(PBUF_IP, sizeof(struct na_header) + (lladdr_opt_len << 3), PBUF_RAM); in nd6_send_na()1282 lladdr_opt->length = (u8_t)lladdr_opt_len; in nd6_send_na()[all …]