Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dpbuf.c477 u16_t increment_magnitude; in pbuf_add_header_impl() local
487 increment_magnitude = (u16_t)header_size_increment; in pbuf_add_header_impl()
489 if ((u16_t)(increment_magnitude + p->tot_len) < increment_magnitude) { in pbuf_add_header_impl()
519 (void *)p->payload, (void *)payload, increment_magnitude)); in pbuf_add_header_impl()
523 p->len = (u16_t)(p->len + increment_magnitude); in pbuf_add_header_impl()
524 p->tot_len = (u16_t)(p->tot_len + increment_magnitude); in pbuf_add_header_impl()
585 u16_t increment_magnitude; in pbuf_remove_header() local
595 increment_magnitude = (u16_t)header_size_decrement; in pbuf_remove_header()
597 LWIP_ERROR("increment_magnitude <= p->len", (increment_magnitude <= p->len), return 1;); in pbuf_remove_header()
606 p->len = (u16_t)(p->len - increment_magnitude); in pbuf_remove_header()
[all …]