NET: Rename uip_ping to icmp_ping
This commit is contained in:
parent
da7379ed18
commit
b18ac3c778
2
TODO
2
TODO
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user