Searched defs:ICMP_FILTER (Results 1 - 2 of 2) sorted by relevance

/external/kernel-headers/original/uapi/linux/
H A Dicmp.h90 #define ICMP_FILTER 1 macro
/external/iputils/
H A Dping.c69 #ifndef ICMP_FILTER
70 #define ICMP_FILTER 1 macro
478 if (setsockopt(icmp_sock, SOL_RAW, ICMP_FILTER, (char*)&filt, sizeof(filt)) == -1)
479 perror("WARNING: setsockopt(ICMP_FILTER)");
688 if (setsockopt(icmp_sock, SOL_RAW, ICMP_FILTER, (char*)&filt, sizeof(filt)) == -1)
689 perror("\rWARNING: setsockopt(ICMP_FILTER)");

Completed in 124 milliseconds