Searched refs:icmpr (Results 1 – 1 of 1) sorted by relevance
121 struct icmp_hdr *icmpr; in sandbox_eth_ping_req_to_reply() local153 icmpr->type = ICMP_ECHO_REPLY; in sandbox_eth_ping_req_to_reply()154 icmpr->checksum = 0; in sandbox_eth_ping_req_to_reply()155 icmpr->checksum = compute_ip_checksum(icmpr, ICMP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()216 struct icmp_hdr *icmpr; in sandbox_eth_recv_ping_req() local241 icmpr->type = ICMP_ECHO_REQUEST; in sandbox_eth_recv_ping_req()242 icmpr->code = 0; in sandbox_eth_recv_ping_req()243 icmpr->checksum = 0; in sandbox_eth_recv_ping_req()244 icmpr->un.echo.id = 0; in sandbox_eth_recv_ping_req()245 icmpr->un.echo.sequence = htons(1); in sandbox_eth_recv_ping_req()[all …]