XINU
|
ARPのパケットフォーマットやキャッシュに関する定義 More...
Go to the source code of this file.
Data Structures | |
struct | arpentry |
ARPキャッシュエントリ More... | |
struct | arppacket |
IP&Ethernet用のARPパケットフォーマット More... | |
Macros | |
#define | AR_FREE 0 |
ARPキャッシュエントリ状態:スロットが未使用 More... | |
#define | AR_PENDING 1 |
ARPキャッシュエントリ状態:解決中 More... | |
#define | AR_RESOLVED 2 |
ARPキャッシュエントリ状態:エントリが正常 More... | |
#define | ARP_HALEN 6 |
EthernetのMACアドレスサイズ More... | |
#define | ARP_HTYPE 1 |
Ethernetハードウェアタイプ More... | |
#define | ARP_OP_REQ 1 |
リクエストオペコード More... | |
#define | ARP_OP_RPLY 2 |
リプライオペコード More... | |
#define | ARP_PALEN 4 |
IPアドレスサイズ More... | |
#define | ARP_PTYPE 0x0800 |
IPプロトコルタイプ More... | |
#define | ARP_RETRY 3 |
ARPリクエストのリトライ回数 More... | |
#define | ARP_SIZ 16 |
キャシュ中のエントリ数 More... | |
#define | ARP_TIMEOUT 300 /* Retry timer in milliseconds */ |
[ms]毎のリトライタイマ More... | |
Variables | |
struct arpentry | arpcache [] |
ARPキャッシュエントリテーブル More... | |
ARPのパケットフォーマットやキャッシュに関する定義
ARP(Address Resolution Protocolは、IPアドレスからEthernetのMACアドレスの情報を得られるプロトコル
Definition in file arp.h.
#define AR_FREE 0 |
ARPキャッシュエントリ状態:スロットが未使用
Definition at line 27 of file arp.h.
Referenced by arp_alloc(), arp_dmp(), arp_in(), arp_init(), and arp_resolve().
#define AR_PENDING 1 |
ARPキャッシュエントリ状態:解決中
Definition at line 29 of file arp.h.
Referenced by arp_dmp(), arp_in(), and arp_resolve().
#define AR_RESOLVED 2 |
ARPキャッシュエントリ状態:エントリが正常
Definition at line 31 of file arp.h.
Referenced by arp_alloc(), arp_dmp(), arp_in(), and arp_resolve().
#define ARP_HALEN 6 |
EthernetのMACアドレスサイズ
Definition at line 8 of file arp.h.
Referenced by arp_dmp(), arp_dump(), arp_in(), and arp_resolve().
#define ARP_HTYPE 1 |
#define ARP_OP_REQ 1 |
#define ARP_OP_RPLY 2 |
#define ARP_PALEN 4 |
#define ARP_PTYPE 0x0800 |
#define ARP_RETRY 3 |
#define ARP_SIZ 16 |
キャシュ中のエントリ数
Definition at line 20 of file arp.h.
Referenced by arp_alloc(), arp_dmp(), arp_in(), arp_init(), and arp_resolve().
#define ARP_TIMEOUT 300 /* Retry timer in milliseconds */ |
struct arpentry arpcache[] |
ARPキャッシュエントリテーブル
Definition at line 5 of file arp.c.
Referenced by arp_alloc(), arp_dmp(), arp_in(), arp_init(), and arp_resolve().