Searched refs:IP_HLEN (Results 1 – 7 of 7) sorted by relevance
/external/syslinux/core/lwip/src/core/ipv4/ |
D | ip_frag.c | 179 SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN); in ip_reass_free_complete_datagram() 295 SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); in ip_reass_enqueue_new_datagram() 348 sizeof(struct ip_reass_helper) <= IP_HLEN); in ip_reass_chain_frag_into_datagram_and_validate() 491 if ((IPH_HL(fraghdr) * 4) != IP_HLEN) { in ip_reass() 547 SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); in ip_reass() 570 ipr->datagram_len += IP_HLEN; in ip_reass() 577 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); in ip_reass() 582 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip_reass() 591 pbuf_header(r, -IP_HLEN); in ip_reass() 684 u16_t poff = IP_HLEN; in ip_frag() [all …]
|
D | icmp.c | 204 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in icmp_input() 296 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE, in icmp_send_response() 303 (q->len >= (sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE))); in icmp_send_response() 320 IP_HLEN + ICMP_DEST_UNREACH_DATASIZE); in icmp_send_response()
|
D | ip.c | 464 if((iphdr_hlen > IP_HLEN) && (IPH_PROTO(iphdr) != IP_PROTO_IGMP)) { 466 if (iphdr_hlen > IP_HLEN) { 605 u16_t ip_hlen = IP_HLEN; 635 if (pbuf_header(p, IP_HLEN)) { 822 payload = (u8_t *)iphdr + IP_HLEN;
|
/external/syslinux/core/lwip/src/core/ |
D | raw.c | 213 if (pbuf_header(p, IP_HLEN)) { in raw_sendto() 230 if(pbuf_header(q, -IP_HLEN)) { in raw_sendto()
|
D | tcp.c | 1486 mss_s = outif->mtu - IP_HLEN - TCP_HLEN; in tcp_eff_send_mss()
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
D | ip.h | 50 #define IP_HLEN 20 macro
|
/external/syslinux/core/lwip/src/core/snmp/ |
D | mib2.c | 3127 *sint_ptr = (IP_HLEN + ((IP_REASS_MAX_PBUFS/2) * in ip_addrentry_get_value() 3128 (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN - IP_HLEN))); in ip_addrentry_get_value()
|