Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dip4_frag.c590 u16_t datagram_len = (u16_t)(offset + len); in ip4_reass() local
591 if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) { in ip4_reass()
609 u16_t datagram_len = (u16_t)(offset + len); in ip4_reass() local
610 ipr->datagram_len = datagram_len; in ip4_reass()
614 ipr->datagram_len)); in ip4_reass()
621 u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN); in ip4_reass() local
629 IPH_LEN_SET(fraghdr, lwip_htons(datagram_len)); in ip4_reass()
/third_party/lwip/src/core/ipv6/
Dip6_frag.c527 ipr->datagram_len = iprh->end; in ip6_reass()
535 if (ipr->datagram_len == 0) { in ip6_reass()
617 ipr->datagram_len = (u16_t)(ipr->datagram_len + ((u8_t*)p->payload - (u8_t*)iphdr_ptr) in ip6_reass()
621 iphdr_ptr->_plen = lwip_htons(ipr->datagram_len); in ip6_reass()
/third_party/lwip/src/include/lwip/
Dip4_frag.h65 u16_t datagram_len; member
Dip6_frag.h105 u16_t datagram_len; member
/third_party/lwip/src/api/
Dsockets.c1115 lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, u16_t *datagram_len, i… in lwip_recvfrom_udp_raw() argument
1219 if (datagram_len) { in lwip_recvfrom_udp_raw()
1220 *datagram_len = buflen; in lwip_recvfrom_udp_raw()
1258 u16_t datagram_len = 0; in lwip_recvfrom_internal() local
1271 err = lwip_recvfrom_udp_raw(sock, flags, &msg, &datagram_len, s); in lwip_recvfrom_internal()
1279 ret = (ssize_t)LWIP_MIN(LWIP_MIN(len, datagram_len), SSIZE_MAX); in lwip_recvfrom_internal()
1395 u16_t datagram_len = 0; in lwip_recvmsg() local
1397 err = lwip_recvfrom_udp_raw(sock, flags, message, &datagram_len, s); in lwip_recvmsg()
1405 if (datagram_len > buflen) { in lwip_recvmsg()
1411 return (int)datagram_len; in lwip_recvmsg()