Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

net_ipv4.h/net_ipv4.c

Prototype

Code Block

          CPU_BOOLEAN NetIPv4_GetAddrHost(NET_IF_NBR          if_nbr,
                                          NET_IPv4_ADDR      *p_addr_tbl,
                                          NET_IP_ADDRS_QTY   *p_addr_tbl_qty,
                                          NET_ERR            *p_err);

Arguments

if_nbr

Interface number to get configured IPv4 host address(es).

...

Pointer to a variable to:

Pass - Pass the size of the address table, in number of IPv4 addresses, pointed to by p_addr_tbl.

Returns - Returns the actual number of IPv4 addresses, if no errors.

...