Home
last modified time | relevance | path

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

/mOS-networking-stack/core/src/
H A Dicmp.c44 sum += *icmph++; in ICMPChecksum()
68 struct icmphdr *icmph; in ICMPOutput() local
121 icmph->icmp_type = icmp_type; in ICMPOutput()
123 icmph->icmp_checksum = 0; in ICMPOutput()
132 icmph->icmp_checksum = in ICMPOutput()
161 … ntohs(ICMP_ECHO_GET_ID(icmph)), ntohs(ICMP_ECHO_GET_SEQ(icmph)), (uint8_t *) (icmph + 1), in ProcessICMPECHORequest()
178 type = icmph->icmp_type; in ProcessICMPECHOReply()
179 code = icmph->icmp_code; in ProcessICMPECHOReply()
203 switch (icmph->icmp_type) in ProcessICMPPacket()
238 icmph->icmp_type, icmph->icmp_code, in DumpICMPPacket()
[all …]
/mOS-networking-stack/core/src/include/
H A Dicmp.h23 #define ICMP_ECHO_GET_ID(icmph) (icmph->un.echo.icmp_id) argument
24 #define ICMP_ECHO_GET_SEQ(icmph) (icmph->un.echo.icmp_sequence) argument
25 #define ICMP_DEST_UNREACH_GET_MTU(icmph) (icmph->un.dest.nhop_mtu) argument
27 #define ICMP_ECHO_SET_ID(icmph, id) (icmph->un.echo.icmp_id = id) argument
28 #define ICMP_ECHO_SET_SEQ(icmph, seq) (icmph->un.echo.icmp_sequence = seq) argument