Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/core/ipv4/
H A 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()
/reactos/drivers/network/tcpip/lwip/src/core/ipv6/
H A 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()
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A Dip4_frag.h65 u16_t datagram_len; member
H A Dip6_frag.h105 u16_t datagram_len; member
/reactos/drivers/network/tcpip/lwip/src/api/
H A Dsockets.c1126 lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, u16_t *datagram_len, i… in lwip_recvfrom_udp_raw() argument
1230 if (datagram_len) { in lwip_recvfrom_udp_raw()
1231 *datagram_len = buflen; in lwip_recvfrom_udp_raw()
1257 u16_t datagram_len = 0; in lwip_recvfrom() local
1270 err = lwip_recvfrom_udp_raw(sock, flags, &msg, &datagram_len, s); in lwip_recvfrom()
1278 ret = (ssize_t)LWIP_MIN(LWIP_MIN(len, datagram_len), SSIZE_MAX); in lwip_recvfrom()
1394 u16_t datagram_len = 0; in lwip_recvmsg() local
1396 err = lwip_recvfrom_udp_raw(sock, flags, message, &datagram_len, s); in lwip_recvmsg()
1404 if (datagram_len > buflen) { in lwip_recvmsg()
1410 return (int)datagram_len; in lwip_recvmsg()