mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
NET: Rename TCP state values: UIP_ -> TCP_
This commit is contained in:
@@ -136,8 +136,8 @@ void icmp_send(FAR struct net_driver_s *dev, FAR net_ipaddr_t *destaddr)
|
||||
++g_ipid;
|
||||
picmp->ipid[0] = g_ipid >> 8;
|
||||
picmp->ipid[1] = g_ipid & 0xff;
|
||||
picmp->ipoffset[0] = UIP_TCPFLAG_DONTFRAG >> 8;
|
||||
picmp->ipoffset[1] = UIP_TCPFLAG_DONTFRAG & 0xff;
|
||||
picmp->ipoffset[0] = TCPFLAG_DONTFRAG >> 8;
|
||||
picmp->ipoffset[1] = TCPFLAG_DONTFRAG & 0xff;
|
||||
picmp->ttl = UIP_TTL;
|
||||
picmp->proto = IP_PROTO_ICMP;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user