Searched refs:icmph (Results 1 – 2 of 2) sorted by relevance
44 sum += *icmph++; in ICMPChecksum()68 struct icmphdr *icmph; in ICMPOutput() local121 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 …]
23 #define ICMP_ECHO_GET_ID(icmph) (icmph->un.echo.icmp_id) argument24 #define ICMP_ECHO_GET_SEQ(icmph) (icmph->un.echo.icmp_sequence) argument25 #define ICMP_DEST_UNREACH_GET_MTU(icmph) (icmph->un.dest.nhop_mtu) argument27 #define ICMP_ECHO_SET_ID(icmph, id) (icmph->un.echo.icmp_id = id) argument28 #define ICMP_ECHO_SET_SEQ(icmph, seq) (icmph->un.echo.icmp_sequence = seq) argument