Searched refs:iecho (Results 1 – 2 of 2) sorted by relevance
50 struct icmp_echo_hdr *iecho; in icmp_input() local71 iecho = p->payload; in icmp_input()82 iecho->type = ICMP6_ER; in icmp_input()84 if (iecho->chksum >= htons(0xffff - (ICMP6_ECHO << 8))) { in icmp_input()85 iecho->chksum += htons(ICMP6_ECHO << 8) + 1; in icmp_input()87 iecho->chksum += htons(ICMP6_ECHO << 8); in icmp_input()
83 struct icmp_echo_hdr *iecho; in icmp_input() local189 iecho = (struct icmp_echo_hdr *)p->payload; in icmp_input()192 ICMPH_TYPE_SET(iecho, ICMP_ER); in icmp_input()195 if (iecho->chksum >= PP_HTONS(0xffffU - (ICMP_ECHO << 8))) { in icmp_input()196 iecho->chksum += PP_HTONS(ICMP_ECHO << 8) + 1; in icmp_input()198 iecho->chksum += PP_HTONS(ICMP_ECHO << 8); in icmp_input()201 iecho->chksum = 0; in icmp_input()
Completed in 4 milliseconds