Searched refs:IP_HLEN (Results 1 – 16 of 16) 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() 328 SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN); in ip_reass_enqueue_new_datagram() 388 sizeof(struct ip_reass_helper) <= IP_HLEN); in ip_reass_chain_frag_into_datagram_and_validate() 539 if (IPH_HL_BYTES(fraghdr) != IP_HLEN) { in ip4_reass() 600 SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN); in ip4_reass() 611 if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) { in ip4_reass() 641 u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN); in ip4_reass() 648 SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN); in ip4_reass() 655 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip4_reass() 666 pbuf_remove_header(r, IP_HLEN); in ip4_reass() [all …]
|
D | ip4.c | 511 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) { 512 if (iphdr_hlen < IP_HLEN) { 705 if ((iphdr_hlen > IP_HLEN) && (IPH_PROTO(iphdr) != IP_PROTO_IGMP)) { 707 if (iphdr_hlen > IP_HLEN) { 899 u16_t ip_hlen = IP_HLEN; 906 if (optlen > (IP_HLEN_MAX - IP_HLEN)) { 936 if (pbuf_add_header(p, IP_HLEN)) { 1008 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/ |
D | 0090-frag-fix-coredump-when-get-netif.patch | 23 iph_cksum_set(p, IP_HLEN, 1); 25 iph_cksum_set(p, IP_HLEN, 0);
|
D | 0074-gazelle-offloads-are-registered-to-lwip.patch | 72 iph_cksum_set(p, IP_HLEN, 1); 74 iph_cksum_set(p, IP_HLEN, 0); 81 iph_cksum_set(p, IP_HLEN, 1); 83 iph_cksum_set(p, IP_HLEN, 0);
|
D | 0023-refactor-event-and-checksum-offload-support.patch | 198 + iph_cksum_set(p, IP_HLEN, 1); 200 + iph_cksum_set(p, IP_HLEN, 0); 201 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); 204 + IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); 216 + iph_cksum_set(p, IP_HLEN, 1); 218 + iph_cksum_set(p, IP_HLEN, 0); 219 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); 223 + IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN));
|
D | 0042-expand-recv-win.patch | 30 #define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
D | 0080-enable-ipv6.patch | 228 + p->ol_flags |= ((len == IP_HLEN) ? RTE_MBUF_F_TX_IPV4 : RTE_MBUF_F_TX_IPV6); 362 #define IP_HLEN 20 380 -#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 1982 -#define IP_HLEN 20 1991 -#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN) 2085 +#define IP_HLEN 20 2123 +#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
D | 0075-adapt-read-write-for-rtc-mode.patch | 444 #define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
D | 0002-adapt-lstack.patch | 5048 +#define IP_HLEN 20 5054 +#define TCP_MSS (FRAME_MTU - IP_HLEN - TCP_HLEN)
|
/third_party/lwip/src/include/lwip/prot/ |
D | ip4.h | 64 #define IP_HLEN 20 macro
|
/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/core/ |
D | raw.c | 460 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src() 462 IP_HLEN); in raw_sendto_if_src()
|
D | tcp.c | 2464 offset = IP_HLEN + TCP_HLEN;
|
/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()
|