Searched refs:IP_HLEN (Results 1 – 8 of 8) sorted by relevance
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 185 SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN); in ip_reass_free_complete_datagram() 308 SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); in ip_reass_enqueue_new_datagram() 368 sizeof(struct ip_reass_helper) <= IP_HLEN); in ip_reass_chain_frag_into_datagram_and_validate() 519 if (IPH_HL_BYTES(fraghdr) != IP_HLEN) { in ip4_reass() 580 SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); in ip4_reass() 591 if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) { in ip4_reass() 621 u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN); in ip4_reass() 628 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); in ip4_reass() 635 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass() 646 pbuf_remove_header(r, IP_HLEN); in ip4_reass() [all …]
|
D | ip4.c | 474 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) { 475 if (iphdr_hlen < IP_HLEN) { 664 if ((iphdr_hlen > IP_HLEN) && (IPH_PROTO(iphdr) != IP_PROTO_IGMP)) { 666 if (iphdr_hlen > IP_HLEN) { 858 u16_t ip_hlen = IP_HLEN; 865 if (optlen > (IP_HLEN_MAX - IP_HLEN)) { 895 if (pbuf_add_header(p, IP_HLEN)) { 967 if (p->len < IP_HLEN) {
|
D | icmp.c | 96 if (hlen < IP_HLEN) { in icmp_input() 354 response_pkt_len = IP_HLEN + ICMP_DEST_UNREACH_DATASIZE; in icmp_send_response()
|
/third_party/lwip/src/include/lwip/prot/ |
D | ip4.h | 64 #define IP_HLEN 20 macro
|
/third_party/lwip/src/core/ |
D | raw.c | 437 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src() 439 IP_HLEN); in raw_sendto_if_src()
|
D | tcp.c | 2287 offset = IP_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()
|
/third_party/lwip/test/unit/tcp/ |
D | tcp_helper.c | 74 IPH_VHL_SET(iphdr, 4, IP_HLEN / 4); in tcp_create_segment_wnd() 77 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_mib2_ip.c | 235 value->u32 = (IP_HLEN + ((IP_REASS_MAX_PBUFS / 2) * in ip_AddrTable_get_cell_value_core() 236 … (PBUF_POOL_BUFSIZE - PBUF_LINK_ENCAPSULATION_HLEN - PBUF_LINK_HLEN - IP_HLEN))); in ip_AddrTable_get_cell_value_core()
|