Lines Matching refs:icmp_header
168 struct icmphdr icmp_header; in TEST_F() local
169 memset(&icmp_header, 0, sizeof(icmp_header)); in TEST_F()
170 icmp_header.type = ICMP_ECHO; in TEST_F()
171 icmp_header.code = Icmp::kIcmpEchoCode; in TEST_F()
172 icmp_header.un.echo.id = 1; in TEST_F()
173 icmp_header.un.echo.sequence = 1; in TEST_F()
174 icmp_header.checksum = ComputeIcmpChecksum(icmp_header, sizeof(icmp_header)); in TEST_F()
177 IsIcmpHeader(icmp_header), in TEST_F()
178 sizeof(icmp_header), in TEST_F()
184 .WillOnce(Return(sizeof(icmp_header) - 1)) in TEST_F()
185 .WillOnce(Return(sizeof(icmp_header))); in TEST_F()