arp.h File Reference

#include "os_core.h"

Include dependency graph for arp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ARP_PACKET
 ARP packet structure. More...
struct  ARP_CACHE

Defines

#define NIP_ARP_CACHE_SIZE   4
 number of entries in ARP cache
#define NIP_ARP_CACHE_LIFE   300
 lifetime of ARP cache entry in seconds
#define NIP_ARP_MAX_RETRIES   3
 maximum number of ARP resolve retries
#define NIP_ARP_RETRY_INTVL   1
 interval of ARP resolve retries in seconds
#define NIP_ARP_OP_REQUEST   0x01
#define NIP_ARP_OP_REPLY   0x02
#define NIP_ARP_HW_SIZE   6
 ethernet address length
#define NIP_ARP_PR_TYPE   NIP_NUM_PR_IP
 IP protocol type in network byte order.
#define NIP_ARP_PR_SIZE   4
 IP address length.

Typedefs

typedef uint8_t arp_cache_id_t

Functions

void nip_arp_disp_resolve_any (void)
void nip_disp_arp_receive (void)
void nip_arp_disp_resolve (void)
void nip_arp_disp_probe_announcement (void)


Define Documentation

#define NIP_ARP_CACHE_LIFE   300

lifetime of ARP cache entry in seconds

Definition at line 39 of file arp.h.

#define NIP_ARP_CACHE_SIZE   4

number of entries in ARP cache

Definition at line 37 of file arp.h.

#define NIP_ARP_HW_SIZE   6

ethernet address length

Definition at line 47 of file arp.h.

#define NIP_ARP_MAX_RETRIES   3

maximum number of ARP resolve retries

Definition at line 40 of file arp.h.

#define NIP_ARP_OP_REPLY   0x02

Definition at line 44 of file arp.h.

#define NIP_ARP_OP_REQUEST   0x01

Definition at line 43 of file arp.h.

#define NIP_ARP_PR_SIZE   4

IP address length.

Definition at line 49 of file arp.h.

#define NIP_ARP_PR_TYPE   NIP_NUM_PR_IP

IP protocol type in network byte order.

Definition at line 48 of file arp.h.

#define NIP_ARP_RETRY_INTVL   1

interval of ARP resolve retries in seconds

Definition at line 41 of file arp.h.


Typedef Documentation

typedef uint8_t arp_cache_id_t

Definition at line 75 of file arp.h.


Function Documentation

void nip_arp_disp_probe_announcement ( void   ) 

void nip_arp_disp_resolve ( void   ) 

void nip_arp_disp_resolve_any ( void   ) 

void nip_disp_arp_receive ( void   ) 


Generated on Thu Jul 10 01:09:44 2008 for NIP by  doxygen 1.5.5