#include "endian.h"Go to the source code of this file.
Data Structures | |
| struct | elaphdr |
| struct | ddpehdr |
| struct | ddpshdr |
Macros | |
| #define | SZ_ELAPHDR 3 |
| #define | ELAP_DDPSHORT 0x01 |
| #define | ELAP_DDPEXTEND 0x02 |
| #define | deh_pad deh_u.du_bits.dub_pad |
| #define | deh_hops deh_u.du_bits.dub_hops |
| #define | deh_len deh_u.du_bits.dub_len |
| #define | deh_sum deh_u.du_bits.dub_sum |
| #define | deh_bytes deh_u.du_bytes |
| #define | SZ_DDPEHDR 12 |
| #define | DDP_MAXHOPS 15 |
| #define | dsh_pad dsh_u.du_bits.dub_pad |
| #define | dsh_len dsh_u.du_bits.dub_len |
| #define | dsh_dport dsh_u.du_bits.dub_dport |
| #define | dsh_sport dsh_u.du_bits.dub_sport |
| #define | dsh_bytes dsh_u.du_bytes |
| #define | SZ_DDPSHDR 4 |
On Apples, there is also a ddp_type field, after src_port. However, under this unix implementation, user level processes need to be able to set the ddp_type. In later revisions, the ddp_type may only be available in a raw_appletalk interface.
| #define DDP_MAXHOPS 15 |
| #define deh_bytes deh_u.du_bytes |
| #define deh_hops deh_u.du_bits.dub_hops |
| #define deh_len deh_u.du_bits.dub_len |
| #define deh_pad deh_u.du_bits.dub_pad |
| #define deh_sum deh_u.du_bits.dub_sum |
| #define dsh_bytes dsh_u.du_bytes |
| #define dsh_dport dsh_u.du_bits.dub_dport |
| #define dsh_len dsh_u.du_bits.dub_len |
| #define dsh_pad dsh_u.du_bits.dub_pad |
| #define dsh_sport dsh_u.du_bits.dub_sport |
| #define ELAP_DDPEXTEND 0x02 |
| #define ELAP_DDPSHORT 0x01 |
| #define SZ_DDPEHDR 12 |
| #define SZ_DDPSHDR 4 |
| #define SZ_ELAPHDR 3 |