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

/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dicmp.c26 #include <ipxe/icmp.h>
48 struct icmp_header *icmp = iobuf->data; local
54 if ( len < sizeof ( *icmp ) ) {
56 len, sizeof ( *icmp ) );
62 csum = tcpip_chksum ( icmp, len );
66 DBG_HD ( icmp, len );
72 if ( icmp->type != ICMP_ECHO_REQUEST ) {
73 DBG ( "ICMP ignoring type %d\n", icmp->type );
81 icmp->type = ICMP_ECHO_RESPONSE;
82 icmp
[all...]
H A Dipv4.c714 REQUIRE_OBJECT ( icmp ); variable
/vbox/src/VBox/Devices/Network/lwip/src/core/ipv4/
H A Dicmp.c39 #include "lwip/icmp.h"
56 ICMP_STATS_INC(icmp.recv);
65 ICMP_STATS_INC(icmp.lenerr);
77 ICMP_STATS_INC(icmp.err);
85 ICMP_STATS_INC(icmp.lenerr);
94 ICMP_STATS_INC(icmp.chkerr);
108 ICMP_STATS_INC(icmp.xmit);
120 ICMP_STATS_INC(icmp.proterr);
121 ICMP_STATS_INC(icmp.drop);
147 ICMP_STATS_INC(icmp
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dicmp.c46 #include "lwip/icmp.h"
82 * Currently only processes icmp echo requests and sends
85 * @param p the icmp echo request packet, p->payload pointing to the icmp header
99 ICMP_STATS_INC(icmp.recv);
137 ICMP_STATS_INC(icmp.err);
152 ICMP_STATS_INC(icmp.chkerr);
182 /* switch r->payload back to icmp header */
192 /* restore p->payload to point to icmp header */
201 * setting the icmp typ
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/ipv6/
H A Dicmp6.c38 #include "lwip/icmp.h"
55 ++lwip_stats.icmp.recv;
71 ++lwip_stats.icmp.lenerr;
82 ++lwip_stats.icmp.chkerr;
86 LWIP_DEBUGF(ICMP_DEBUG, ("icmp: p->len %"S16_F" p->tot_len %"S16_F"\n", p->len, p->tot_len));
99 ++lwip_stats.icmp.xmit;
102 /* LWIP_DEBUGF("icmp: p->len %"U16_F" p->tot_len %"U16_F"\n", p->len, p->tot_len);*/
109 ++lwip_stats.icmp.proterr;
110 ++lwip_stats.icmp.drop;
139 ++lwip_stats.icmp
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dip_icmpwin.c26 * A header of ICMP ECHO. Intended for storage, unlike struct icmp
217 if (code != -1) /* send icmp error */
345 struct icmp_echo *icmp; local
387 icmp = (struct icmp_echo *)(mtod(m, char *) + sizeof(*ip));
391 ip->ip_len = sizeof(*ip) + sizeof(*icmp) + reqsize;
398 icmp->icmp_type = ICMP_ECHOREPLY;
399 icmp->icmp_code = 0;
400 icmp->icmp_cksum = 0;
401 icmp->icmp_echo_id = pong->reqicmph.icmp_echo_id;
402 icmp
472 struct icmp_echo *icmp; local
[all...]
H A Dip_icmp.c68 /* list of actions for icmp_error() on RX of an icmp message */
165 struct icmp *icp, *icp0;
186 icp = (struct icmp *)((char *)ip + (ip->ip_hl << 2));
196 icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2));
277 Log(("NAT: Received icmp on shutdowning socket (probably corresponding ICMP socket has been already sent)\n"));
376 * Locate icmp structure in mbuf, and check
415 m_copyback(pData, m, hlen + RT_OFFSETOF(struct icmp, icmp_type),
430 struct icmp *icp;
459 icp = (struct icmp *)icp_buf;
462 icp = (struct icmp *)(mto
[all...]
H A Dip_icmp.h68 * Structure of an icmp header.
70 struct icmp struct
123 AssertCompileSize(struct icmp, 28);
H A Dsocket.c816 Log2((" rx error, tx icmp ICMP_UNREACH:%i\n", code));
1158 struct icmp *icp;
1182 icp = (struct icmp *)((char *)ip + hlen);
1239 struct icmp *icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2));
1284 icp = (struct icmp *)((char *)ip + (ip->ip_hl << 2));
1353 LogRel((" udp icmp rx errno = %d (%s)\n", errno, strerror(errno)));
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dstats.c103 stats_display_proto(&lwip_stats.icmp, "ICMP");
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dstats.h91 struct stats_proto icmp; member in struct:stats_
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias.c304 struct icmp *ic;
308 ic = (struct icmp *)ip_next(pip);
350 struct icmp *ic, *ic2;
357 ic = (struct icmp *)ip_next(pip);
362 ic2 = (struct icmp *)ip_next(ip);
448 struct icmp *ic;
455 ic = (struct icmp *)ip_next(pip);
488 struct icmp *ic;
491 ic = (struct icmp *)ip_next(pip);
533 struct icmp *i
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dstats.h127 struct stats_proto icmp; member in struct:stats_
200 #define ICMP_STATS_DISPLAY() stats_display_proto(&lwip_stats.icmp, "ICMP")
/vbox/src/VBox/Devices/Network/lwip/src/core/snmp/
H A Dmib2.c298 /* icmp .1.3.6.1.2.1.5 */
323 const struct mib_array_node icmp = { variable in typeref:struct:mib_array_node
684 (struct mib_node* const)&icmp,
805 /* mib-2.icmp counter(s) */
/vbox/src/VBox/Devices/Network/lwip-new/src/core/snmp/
H A Dmib2.c310 /* icmp .1.3.6.1.2.1.5 */
335 const struct mib_array_node icmp = { variable in typeref:struct:mib_array_node
701 (struct mib_node*)&icmp,
824 /* mib-2.icmp counter(s) */
/vbox/src/VBox/NetworkServices/NAT/
H A DVBoxNetLwipNAT.cpp71 # include <linux/icmp.h> /* ICMP_FILTER */

Completed in 3341 milliseconds