icmp_input() is only used within LwIP.
 
Symbols
loading...
Files
loading...

icmp_input() function

Processes ICMP input packets, called from ip_input(). Currently only processes icmp echo requests and sends out the echo response.

Syntax

void icmp_input(struct pbuf *p,     struct netif *inp);
Implemented in icmp.c:79

Arguments

p

the icmp echo request packet, p->payload pointing to the icmp header

inp

the netif on which this packet was received

References

LocationReferrerText
icmp.c:80
icmp_input(struct pbuf *p, struct netif *inp)
icmp.h:80
void icmp_input(struct pbuf *p, struct netif *inp);
ip4.c:715ip4_input()
icmp_input(p, inp);

Call Tree

Functions calling icmp_input()
Functions called by icmp_input()
all items filtered out
icmp_input()
Data read by icmp_input()
Data written by icmp_input()
icmp_input()::type
icmp_input()::iecho
icmp_input()::iphdr_in
icmp_input()::hlen
icmp_input()::src
icmp_input()::ret
icmp_input()::iphdr
icmp_input()::r
icmp_input()::alloc_len
all items filtered out
icmp_input()
icmp_input()::type
icmp_input()::iecho
icmp_input()::iphdr_in
icmp_input()::hlen
icmp_input()::src
icmp_input()::ret
icmp_input()::r
all items filtered out
Type of icmp_input()
icmp_input()