Home
last modified time | relevance | path

Searched refs:icmphdr (Results 1 – 2 of 2) sorted by relevance

/mOS-networking-stack/core/src/
H A Dicmp.c18 DumpICMPPacket(struct icmphdr *icmph, uint32_t saddr, uint32_t daddr);
68 struct icmphdr *icmph; in ICMPOutput()
69 uint32_t pktlen = sizeof(struct iphdr) + sizeof(struct icmphdr) + len; in ICMPOutput()
118 icmph = (struct icmphdr *) IP_NEXT_PTR(iph); in ICMPOutput()
133 ICMPChecksum((uint16_t *)icmph, sizeof(struct icmphdr) + len); in ICMPOutput()
152 ProcessICMPECHORequest(mtcp_manager_t mtcp, struct pkt_ctx *pctx, struct icmphdr *icmph) in ProcessICMPECHORequest()
162 (uint16_t) (pctx->p.ip_len - (pctx->p.iph->ihl << 2) - sizeof(struct icmphdr)) ); in ProcessICMPECHORequest()
168 ProcessICMPECHOReply(mtcp_manager_t mtcp, struct pkt_ctx *pctx, struct icmphdr *icmph) in ProcessICMPECHOReply()
189 struct icmphdr *icmph = (struct icmphdr *) IP_NEXT_PTR(pctx->p.iph); in ProcessICMPPacket()
231 DumpICMPPacket(struct icmphdr *icmph, uint32_t saddr, uint32_t daddr) in DumpICMPPacket()
/mOS-networking-stack/core/src/include/
H A Dicmp.h6 struct icmphdr { struct