Searched refs:IP_HLEN (Results 1 – 9 of 9) sorted by relevance
| /lib/lwip/lwip/src/core/ipv4/ |
| A 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() 519 if (IPH_HL_BYTES(fraghdr) != IP_HLEN) { in ip4_reass() 628 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); in ip4_reass() 646 pbuf_remove_header(r, IP_HLEN); in ip4_reass() 754 u16_t poff = IP_HLEN; in ip4_frag() 760 if (IPH_HL_BYTES(iphdr) != IP_HLEN) { in ip4_frag() 772 left = (u16_t)(p->tot_len - IP_HLEN); in ip4_frag() 787 if (pbuf_add_header(rambuf, IP_HLEN)) { in ip4_frag() 805 (rambuf->len >= (IP_HLEN))); in ip4_frag() [all …]
|
| A D | icmp.c | 96 if (hlen < IP_HLEN) { in icmp_input() 265 pbuf_add_header(p, IP_HLEN); in icmp_input() 267 pbuf_remove_header(p, IP_HLEN); in icmp_input() 362 response_pkt_len = IP_HLEN + ICMP_DEST_UNREACH_DATASIZE; in icmp_send_response()
|
| A D | ip4.c | 508 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) { 509 if (iphdr_hlen < IP_HLEN) { 698 if ((iphdr_hlen > IP_HLEN) && (IPH_PROTO(iphdr) != IP_PROTO_IGMP)) { 700 if (iphdr_hlen > IP_HLEN) { 892 u16_t ip_hlen = IP_HLEN; 899 if (optlen > (IP_HLEN_MAX - IP_HLEN)) { 929 if (pbuf_add_header(p, IP_HLEN)) { 1001 if (p->len < IP_HLEN) {
|
| /lib/lwip/lwip/test/unit/ip4/ |
| A D | test_ip4.c | 159 fail_unless(linkoutput_byte_ctr == (8000 + (6 * IP_HLEN))); in START_TEST() 284 const int icmp_len = IP_HLEN + sizeof(struct icmp_hdr); in START_TEST() 311 const int icmp_len = IP_HLEN + sizeof(struct icmp_hdr); in START_TEST() 312 const int unreach_len = IP_HLEN + 8; in START_TEST()
|
| /lib/lwip/lwip/src/include/lwip/prot/ |
| A D | ip4.h | 64 #define IP_HLEN 20 macro
|
| /lib/lwip/lwip/test/unit/tcp/ |
| A D | tcp_helper.c | 79 IPH_VHL_SET(iphdr, 4, IP_HLEN / 4); in tcp_create_segment_wnd() 82 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in tcp_create_segment_wnd()
|
| /lib/lwip/lwip/src/core/ |
| A D | raw.c | 438 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src() 440 IP_HLEN); in raw_sendto_if_src()
|
| A D | tcp.c | 2293 offset = IP_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()
|
| /lib/lwip/lwip/src/apps/snmp/ |
| A 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()
|
Completed in 29 milliseconds