35 #ifndef __NETIF_ETHARP_H__ 36 #define __NETIF_ETHARP_H__ 39 #define ETH_PAD_SIZE 0 47 #ifdef PACK_STRUCT_USE_INCLUDES 48 # include "arch/bpstruct.h" 55 #ifdef PACK_STRUCT_USE_INCLUDES 56 # include "arch/epstruct.h" 59 #ifdef PACK_STRUCT_USE_INCLUDES 60 # include "arch/bpstruct.h" 72 #ifdef PACK_STRUCT_USE_INCLUDES 73 # include "arch/epstruct.h" 76 #ifdef PACK_STRUCT_USE_INCLUDES 77 # include "arch/bpstruct.h" 93 #ifdef PACK_STRUCT_USE_INCLUDES 94 # include "arch/epstruct.h" 97 #ifdef PACK_STRUCT_USE_INCLUDES 98 # include "arch/bpstruct.h" 106 #ifdef PACK_STRUCT_USE_INCLUDES 107 # include "arch/epstruct.h" 111 #define ARP_TMR_INTERVAL 5000 113 #define ETHTYPE_ARP 0x0806 114 #define ETHTYPE_IP 0x0800 void etharp_init(void)
Definition: etharp.c:117
s8_t err_t
Definition: err.h:39
PACK_STRUCT_FIELD(struct eth_addr dest)
#define PACK_STRUCT_BEGIN
Definition: arch.h:46
PACK_STRUCT_BEGIN struct eth_addr PACK_STRUCT_STRUCT
err_t etharp_request(struct netif *netif, struct ip_addr *ipaddr)
Definition: etharp.c:784
void etharp_ip_input(struct netif *netif, struct pbuf *p)
Definition: etharp.c:431
#define ETH_PAD_SIZE
Definition: etharp.h:39
GLenum type
Definition: glext.h:6233
err_t etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q)
Definition: etharp.c:690
GLenum const GLvoid * addr
Definition: glext.h:10528
GLenum src
Definition: glext.h:6980
PACK_STRUCT_FIELD(struct eth_hdr ethhdr)
GLdouble GLdouble GLdouble GLdouble q
Definition: glext.h:6414
void etharp_tmr(void)
Definition: etharp.c:137
PACK_STRUCT_FIELD(u8_t addr[6])
GLfloat GLfloat p
Definition: glext.h:9809
#define PACK_STRUCT_END
Definition: arch.h:50
err_t etharp_output(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q)
Definition: etharp.c:594
u8 u8_t
Definition: cc.h:43
const char * proto
Definition: civetweb.c:11575
PACK_STRUCT_FIELD(struct eth_hdr eth)
void etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr, struct pbuf *p)
Definition: etharp.c:468
u16 u16_t
Definition: cc.h:45