Home
last modified time | relevance | path

Searched refs:icmpr (Results 1 – 1 of 1) sorted by relevance

/drivers/net/
A Dsandbox.c197 struct icmphdr *icmpr; in sandbox_eth_ping_req_to_reply() local
229 icmpr->type = ICMP_ECHO_REPLY; in sandbox_eth_ping_req_to_reply()
230 icmpr->checksum = 0; in sandbox_eth_ping_req_to_reply()
231 icmpr->checksum = compute_ip_checksum(icmpr, ICMPHDR_SIZE); in sandbox_eth_ping_req_to_reply()
295 struct icmphdr *icmpr; in sandbox_eth_recv_ping_req() local
320 icmpr->type = ICMP_ECHO_REQUEST; in sandbox_eth_recv_ping_req()
321 icmpr->code = 0; in sandbox_eth_recv_ping_req()
322 icmpr->checksum = 0; in sandbox_eth_recv_ping_req()
323 icmpr->id = 0; in sandbox_eth_recv_ping_req()
324 icmpr->sequence = htons(1); in sandbox_eth_recv_ping_req()
[all …]

Completed in 12 milliseconds