2 Copyright (c) 2010 jimmikaelkael <jimmikaelkael@wanadoo.fr>
3 Licenced under Academic Free License version 3.0
15 #define ARP_REQUEST 0x01
16 #define ARP_REPLY 0x02
28 u8 arp_sender_eth_addr
[6];
29 ip_addr_t arp_sender_ip_addr
;
30 u8 arp_target_eth_addr
[6];
31 ip_addr_t arp_target_ip_addr
;
32 } arp_pkt_t
__attribute__((packed
));
34 void arp_init(g_param_t
*gparam
);
35 void arp_input(void *buf
, int size
);
36 void arp_request(void);