SAMV71 Xplained Ultra Software Package 1.5

ip_addr.c File Reference

#include "lwip/opt.h"
#include "lwip/ip_addr.h"
#include "lwip/inet.h"
#include "lwip/netif.h"

Go to the source code of this file.

Defines

#define IP_ADDR_ANY_VALUE   0x00000000UL
#define IP_ADDR_BROADCAST_VALUE   0xffffffffUL

Functions

u8_t ip_addr_isbroadcast (struct ip_addr *addr, struct netif *netif)

Variables

struct ip_addr ip_addr_any = { IP_ADDR_ANY_VALUE }
struct ip_addr ip_addr_broadcast = { IP_ADDR_BROADCAST_VALUE }

Detailed Description

This is the IPv4 address tools implementation.

Definition in file ip_addr.c.


Function Documentation

u8_t ip_addr_isbroadcast ( struct ip_addr addr,
struct netif netif 
)

Determine if an address is a broadcast address on a network interface

Parameters:
addr address to be checked
netif the network interface against which the address is checked
Returns:
returns non-zero if the address is a broadcast address

Definition at line 58 of file ip_addr.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines