Motr  M0
packet Struct Reference

#include <xcode.h>

Collaboration diagram for packet:
Collaboration graph

Data Fields

struct m0_format_header p_header
 
struct bdesc p_src
 
struct bdesc p_dst
 
uint32_t p_idx
 
uint32_t p_nr
 
m0_bcount_t p_size
 
m0_bindex_t p_offset
 
m0_bcount_t p_totalsize
 
struct m0_format_footer p_footer
 

Detailed Description

Packet header.

Definition at line 95 of file xcode.h.

Field Documentation

◆ p_dst

struct bdesc p_dst

Target buffer.

Definition at line 101 of file xcode.h.

◆ p_footer

struct m0_format_footer p_footer

Format footer, contains checksum.

Definition at line 116 of file xcode.h.

◆ p_header

struct m0_format_header p_header

Format header, contains opcode (GET vs. PUT).

Definition at line 97 of file xcode.h.

◆ p_idx

uint32_t p_idx

Packet index within the source buffer.

Definition at line 103 of file xcode.h.

◆ p_nr

uint32_t p_nr

Total number of packets that will be sent to transfer the source buffer.

Definition at line 108 of file xcode.h.

◆ p_offset

m0_bindex_t p_offset

Starting offset in the source buffer.

Definition at line 112 of file xcode.h.

◆ p_size

m0_bcount_t p_size

Number of bytes in the packet payload.

Definition at line 110 of file xcode.h.

◆ p_src

struct bdesc p_src

Source buffer.

Definition at line 99 of file xcode.h.

◆ p_totalsize

m0_bcount_t p_totalsize

Size of the source buffer.

Definition at line 114 of file xcode.h.


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