mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
NET: Rename uiphdr_ipaddr_copy to net_ipaddr_hdrcopy, uip_ip4addr_conv to net_ip4addr_conv32, and uip_ethaddr_cmp to eth_addr_cmp
This commit is contained in:
@@ -154,8 +154,8 @@ void igmp_send(FAR struct net_driver_s *dev, FAR struct igmp_group_s *group,
|
||||
IGMPBUF->ttl = IGMP_TTL;
|
||||
IGMPBUF->proto = UIP_PROTO_IGMP;
|
||||
|
||||
uiphdr_ipaddr_copy(IGMPBUF->srcipaddr, &dev->d_ipaddr);
|
||||
uiphdr_ipaddr_copy(IGMPBUF->destipaddr, destipaddr);
|
||||
net_ipaddr_hdrcopy(IGMPBUF->srcipaddr, &dev->d_ipaddr);
|
||||
net_ipaddr_hdrcopy(IGMPBUF->destipaddr, destipaddr);
|
||||
|
||||
/* Calculate IP checksum. */
|
||||
|
||||
@@ -166,7 +166,7 @@ void igmp_send(FAR struct net_driver_s *dev, FAR struct igmp_group_s *group,
|
||||
|
||||
IGMPBUF->type = group->msgid;
|
||||
IGMPBUF->maxresp = 0;
|
||||
uiphdr_ipaddr_copy(IGMPBUF->grpaddr, &group->grpaddr);
|
||||
net_ipaddr_hdrcopy(IGMPBUF->grpaddr, &group->grpaddr);
|
||||
|
||||
/* Calculate the IGMP checksum. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user