Home
last modified time | relevance | path

Searched refs:iphdr_resp (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dapi_shell.c314 struct ip_hdr *iphdr_resp = NULL; in OsPingFunc() local
414 iphdr_resp = pbuf_resp->payload; in OsPingFunc()
416 ip_hlen = (IPH_HL(iphdr_resp) << 2); /* 2: offset */ in OsPingFunc()
430 if ((iphdr_resp->src.addr != to.sin_addr.s_addr) || in OsPingFunc()
431 ((ICMPH_TYPE(iecho_resp) == ICMP_ECHO) && (iphdr_resp->src.addr == to.sin_addr.s_addr))) { in OsPingFunc()
455 if (iphdr_resp->src.addr == to.sin_addr.s_addr) { in OsPingFunc()
464 PRINTK("TTL=%u", iphdr_resp->_ttl); in OsPingFunc()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c1626 struct ip_hdr *iphdr_resp = NULL; local
1718 iphdr_resp = pbuf_resp->payload;
1720 ip_hlen = (IPH_HL(iphdr_resp) << 2);
1734 if ((iphdr_resp->src.addr != to.sin_addr.s_addr) ||
1735 ((ICMPH_TYPE(iecho_resp) == ICMP_ECHO) && (iphdr_resp->src.addr == to.sin_addr.s_addr))) {
1757 if (iphdr_resp->src.addr == to.sin_addr.s_addr) {
1766 PRINTK("TTL=%u", iphdr_resp->_ttl);
1981 struct ip_hdr *iphdr_resp = NULL; local
2080 iphdr_resp = (struct ip_hdr *)(pbuf_resp->payload);
2081 ip_hlen = (s16_t)(IPH_HL(iphdr_resp) *
[all...]

Completed in 5 milliseconds