Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros
lwip/prot/etharp.h File Reference

ARP protocol definitions. More...

#include "lwip/arch.h"
#include "lwip/prot/ethernet.h"

Go to the source code of this file.

Data Structures

struct  ip4_addr_wordaligned
 struct ip4_addr_wordaligned is used in the definition of the ARP packet format in order to support compilers that don't have structure packing. More...
 
struct  etharp_hdr
 the ARP message, see RFC 826 ("Packet format") More...
 

Macros

#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src)   SMEMCPY(dest, src, sizeof(ip4_addr_t))
 MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed. More...
 
#define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src)   SMEMCPY(dest, src, sizeof(ip4_addr_t))
 MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed. More...
 

Detailed Description

ARP protocol definitions.

Definition in file lwip/prot/etharp.h.

Macro Definition Documentation

#define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T (   dest,
  src 
)    SMEMCPY(dest, src, sizeof(ip4_addr_t))

MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed.

Definition at line 78 of file lwip/prot/etharp.h.

#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T (   dest,
  src 
)    SMEMCPY(dest, src, sizeof(ip4_addr_t))

MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed.

Definition at line 71 of file lwip/prot/etharp.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.