Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dip4.c860 u16_t optlen_aligned = 0; local
873 optlen_aligned = (u16_t)((optlen + 3) & ~3);
874 ip_hlen = (u16_t)(ip_hlen + optlen_aligned);
876 if (pbuf_add_header(p, optlen_aligned)) {
883 if (optlen < optlen_aligned) {
885 memset(((char *)p->payload) + optlen, 0, (size_t)(optlen_aligned - optlen));
888 for (i = 0; i < optlen_aligned / 2; i++) {