NET: Rename uip_ping to icmp_ping

This commit is contained in:
Gregory Nutt 2014-06-30 18:15:59 -06:00
parent da7379ed18
commit b18ac3c778
3 changed files with 6 additions and 6 deletions

2
TODO
View File

@ -385,7 +385,7 @@ o Kernel Build
ifup netdev_foreach()
ifdown netdev_foreach()
ifconfig netdev_foreach(), g_netstats
ping uip_ping()
ping icmp_ping()
Status: Open
Priority: Medium/High -- the kernel build configuration is not fully fielded

View File

@ -203,8 +203,8 @@ extern "C"
* Public Function Prototypes
****************************************************************************/
int uip_ping(net_ipaddr_t addr, uint16_t id, uint16_t seqno, uint16_t datalen,
int dsecs);
int icmp_ping(net_ipaddr_t addr, uint16_t id, uint16_t seqno, uint16_t datalen,
int dsecs);
#undef EXTERN
#ifdef __cplusplus

View File

@ -297,7 +297,7 @@ end_wait:
****************************************************************************/
/****************************************************************************
* Name: uip_ping
* Name: imcp_ping
*
* Description:
* Send a ECHO request and wait for the ECHO response
@ -323,8 +323,8 @@ end_wait:
*
****************************************************************************/
int uip_ping(net_ipaddr_t addr, uint16_t id, uint16_t seqno,
uint16_t datalen, int dsecs)
int icmp_ping(net_ipaddr_t addr, uint16_t id, uint16_t seqno,
uint16_t datalen, int dsecs)
{
struct icmp_ping_s state;
net_lock_t save;