Searched refs:icmp (Results 1 - 5 of 5) sorted by relevance

/haiku/src/tests/system/network/icmp/
H A Dicmp_dumper.cpp55 struct icmp* icmp = (struct icmp*)(buf + ipLen); local
56 printf("Type: %u; Code: %u\n", icmp->icmp_type, icmp->icmp_code);
/haiku/src/bin/network/ping/
H A Dping.c204 static void pr_icmph(struct icmp *, struct ip *, const u_char *const);
1045 struct icmp icp;
1085 memcpy(outpack + offsetof(struct icmp, icmp_cksum), &icp.icmp_cksum,
1133 struct icmp icp;
1145 struct icmp oicmp;
1178 icmp_data_raw_len = cc - (hlen + offsetof(struct icmp, icmp_data));
1179 icmp_data_raw = buf + hlen + offsetof(struct icmp, icmp_data);
1268 cp = (u_char*)(buf + hlen + offsetof(struct icmp,
1285 offsetof(struct icmp, icmp_data));
1319 (ssize_t)(sizeof(struct ip) + sizeof(struct icmp))) {
[all...]
/haiku/headers/posix/netinet/
H A Dip_icmp.h38 struct icmp { struct
93 * http://www.iana.org/assignments/icmp-parameters
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c28 * icmp "time exceeded" reply from a gateway. We start our probes
29 * with a ttl of one and increase by one until we get an icmp "port
99 * zero, the icmp "time exceeded" is guaranteed to not make it back
121 * icmp reply. So, the reply will time out on the return path
122 * (with no notice sent to anyone since icmp's aren't sent for
123 * icmp's) until we probe with a ttl that's at least twice the path
155 * The problem is that an icmp message only contains 8 bytes of
305 u_char packet[512]; /* last inbound (icmp) packet */
316 int s; /* receive (icmp) socket file descriptor */
470 "icmp",
[all...]
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4.cpp1938 net_protocol_module_info* icmp = receiving_protocol(IPPROTO_ICMP); local
1939 if (icmp == NULL)
1942 return icmp->error_reply(protocol, cause, error, errorData);

Completed in 46 milliseconds