Home
last modified time | relevance | path

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

/haiku/src/bin/network/ping/
H A Dping.c168 static u_char outpackhdr[IP_MAXPACKET], *outpack; variable
283 outpack = outpackhdr + sizeof(struct ip); in ping()
708 memcpy(&ip, outpackhdr, sizeof(ip)); in ping()
729 memcpy(outpackhdr, &ip, sizeof(ip)); in ping()
1094 memcpy(outpackhdr + offsetof(struct ip, ip_len), &ip.ip_len, in pinger()
1096 ip.ip_sum = in_cksum(outpackhdr, cc); in pinger()
1098 memcpy(outpackhdr + offsetof(struct ip, ip_sum), &ip.ip_sum, in pinger()
1100 packet = outpackhdr; in pinger()