Searched refs:ICMP_FILTER (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | getsockopt_iter.c | 43 #ifndef ICMP_FILTER 44 #define ICMP_FILTER 1 macro 340 if (setsockopt(self->fd, SOL_RAW, ICMP_FILTER, &filt, sizeof(filt)) < 0) in FIXTURE_SETUP() 355 ASSERT_EQ(0, getsockopt(self->fd, SOL_RAW, ICMP_FILTER, in TEST_F() 366 ASSERT_EQ(0, getsockopt(self->fd, SOL_RAW, ICMP_FILTER, in TEST_F() 380 ASSERT_EQ(0, getsockopt(self->fd, SOL_RAW, ICMP_FILTER, in TEST_F() 395 ASSERT_EQ(-1, getsockopt(fd, SOL_RAW, ICMP_FILTER, &filt, &optlen)); in TEST_F()
|
| /linux/include/uapi/linux/ |
| H A D | icmp.h | 112 #define ICMP_FILTER 1 macro
|
| /linux/net/ipv4/ |
| H A D | raw.c | 838 if (optname == ICMP_FILTER) { in do_raw_setsockopt() 857 if (optname == ICMP_FILTER) { in do_raw_getsockopt()
|