Searched refs:icmp_type (Results 1 – 4 of 4) sorted by relevance
56 printf("Type: %u; Code: %u\n", icmp->icmp_type, icmp->icmp_code); in main()
177 static u_char icmp_type = ICMP_ECHO; variable545 icmp_type = ICMP_MASKREQ; in ping()552 icmp_type = ICMP_TSTAMP; in ping()1051 icp.icmp_type = icmp_type; in pinger()1184 if (icp.icmp_type == icmp_type_rsp) { in pr_pack()1357 (oicmp.icmp_type == ICMP_ECHO) && in pr_pack()1463 switch(icp->icmp_type) { in pr_icmph()1578 (void)printf("Bad ICMP type: %d\n", icp->icmp_type); in pr_icmph()
39 uint8_t icmp_type; member
1412 type = icp->icmp_type; in packet_ok()1457 icmpheader->icmp_type = ICMP_ECHO; in icmp_prep()