#include <ddp.h>
Data Fields | |
| union { | |
| struct { | |
| unsigned dub_pad: 2 | |
| unsigned dub_hops: 4 | |
| unsigned dub_len: 10 | |
| unsigned dub_sum: 16 | |
| } du_bits | |
| unsigned du_bytes | |
| } | deh_u |
| unsigned short | deh_dnet |
| unsigned short | deh_snet |
| unsigned char | deh_dnode |
| unsigned char | deh_snode |
| unsigned char | deh_dport |
| unsigned char | deh_sport |
Extended DDP header. Includes sickness for dealing with arbitrary bitfields on a little-endian arch.
| unsigned short ddpehdr::deh_dnet |
| unsigned char ddpehdr::deh_dnode |
| unsigned char ddpehdr::deh_dport |
| unsigned short ddpehdr::deh_snet |
| unsigned char ddpehdr::deh_snode |
| unsigned char ddpehdr::deh_sport |
| union { ... } ddpehdr::deh_u |
| struct { ... } ddpehdr::du_bits |
| unsigned ddpehdr::du_bytes |
| unsigned ddpehdr::dub_hops |
| unsigned ddpehdr::dub_len |
| unsigned ddpehdr::dub_pad |
| unsigned ddpehdr::dub_sum |