mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
Add compatibility macro for udp_new_ip6()
This commit is contained in:
parent
fa16ee8dcb
commit
42c92f80f1
@ -165,6 +165,9 @@ void udp_input (struct pbuf *p, struct netif *inp);
|
||||
|
||||
void udp_init (void);
|
||||
|
||||
/* for compatibility with older implementation */
|
||||
#define udp_new_ip6() udp_new_ip_type(IPADDR_TYPE_V6)
|
||||
|
||||
#if LWIP_MULTICAST_TX_OPTIONS
|
||||
#define udp_set_multicast_netif_addr(pcb, ip4addr) ip_addr_copy_from_ip4((pcb)->multicast_ip, *(ip4addr))
|
||||
#define udp_get_multicast_netif_addr(pcb) ip_2_ip4(&(pcb)->multicast_ip)
|
||||
|
Loading…
Reference in New Issue
Block a user