mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-24 00:39:53 +00:00
Minor changes to meet coding standard
This commit is contained in:
parent
4a5a7ee922
commit
fb5a1a2c0f
@ -41,14 +41,13 @@
|
|||||||
const struct ip_addr ip_addr_any = { IP_ADDR_ANY_VALUE };
|
const struct ip_addr ip_addr_any = { IP_ADDR_ANY_VALUE };
|
||||||
const struct ip_addr ip_addr_broadcast = { IP_ADDR_BROADCAST_VALUE };
|
const struct ip_addr ip_addr_broadcast = { IP_ADDR_BROADCAST_VALUE };
|
||||||
|
|
||||||
/* Determine if an address is a broadcast address on a network interface
|
/**
|
||||||
|
* Determine if an address is a broadcast address on a network interface
|
||||||
*
|
*
|
||||||
* @param addr address to be checked
|
* @param addr address to be checked
|
||||||
* @param netif the network interface against which the address is checked
|
* @param netif the network interface against which the address is checked
|
||||||
* @return returns non-zero if the address is a broadcast address
|
* @return returns non-zero if the address is a broadcast address
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
u8_t ip_addr_isbroadcast(struct ip_addr *addr, struct netif *netif)
|
u8_t ip_addr_isbroadcast(struct ip_addr *addr, struct netif *netif)
|
||||||
{
|
{
|
||||||
u32_t addr2test;
|
u32_t addr2test;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user