Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

# rpcap_header Struct Reference
[Internal Structures and Definitions]

Common header for all the RPCAP messages. More...

`#include <pcap-remote.h>`

## Data Fields
uint8 | ver
| RPCAP version number.
uint8 | type
| RPCAP message type (error, findalldevs, ...).
uint16 | value
| Message-dependent value (not always used).
uint32 | plen
| Length of the payload of this RPCAP message.

## Detailed Description

Common header for all the RPCAP messages.

Definition at line 149 of file pcap-remote.h.

## Field Documentation

uint32 plen

| Length of the payload of this RPCAP message. Definition at line 154 of file pcap-remote.h. Referenced by rpcap_checkmsg(), rpcap_checkver(), and rpcap_createhdr().

uint8 type

| RPCAP message type (error, findalldevs, ...). Definition at line 152 of file pcap-remote.h. Referenced by rpcap_checkmsg(), and rpcap_createhdr().

uint16 value

| Message-dependent value (not always used). Definition at line 153 of file pcap-remote.h. Referenced by rpcap_createhdr().

uint8 ver

| RPCAP version number. Definition at line 151 of file pcap-remote.h. Referenced by rpcap_checkver(), and rpcap_createhdr().

The documentation for this struct was generated from the following file:

- pcap-remote.h

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.