Motr  M0
xcode.h File Reference
#include "xcode/xcode_attr.h"
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include "lib/assert.h"
#include "lib/types.h"
#include "lib/cookie.h"
#include "format/format.h"
#include "lib/cookie_xc.h"
#include "format/format_xc.h"
Include dependency graph for xcode.h:

Go to the source code of this file.

Data Structures

struct  addrdata
 
struct  addr
 
struct  bdesc
 
struct  packet
 

Macros

#define __MOTR_NET_SOCK_XCODE_H__
 

Enumerations

enum  { WADDR_LEN = sizeof(struct in6_addr) }
 

Functions

 M0_BASSERT (sizeof(struct in_addr)<=sizeof(struct in6_addr))
 
struct addrdata M0_XCA_DOMAIN (rpc)
 

Variables

char v_data [WADDR_LEN]
 
uint32_t a_family
 
uint32_t a_socktype
 
uint32_t a_protocol
 
uint32_t a_port
 
struct addrdata a_data
 
struct addr bd_addr
 
struct m0_cookie bd_cookie
 
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
 

Variable Documentation

◆ a_data

struct addrdata a_data

Definition at line 70 of file xcode.h.

◆ a_family

uint32_t a_family

Definition at line 66 of file xcode.h.

◆ a_port

uint32_t a_port

Definition at line 69 of file xcode.h.

◆ a_protocol

uint32_t a_protocol

Definition at line 68 of file xcode.h.

◆ a_socktype

uint32_t a_socktype

Definition at line 67 of file xcode.h.

◆ bd_addr

struct addr bd_addr

Definition at line 66 of file xcode.h.

◆ bd_cookie

struct m0_cookie bd_cookie

Definition at line 67 of file xcode.h.

◆ p_dst

struct bdesc p_dst

Target buffer.

Definition at line 71 of file xcode.h.

◆ p_footer

struct m0_format_footer p_footer

Format footer, contains checksum.

Definition at line 86 of file xcode.h.

◆ p_header

struct m0_format_header p_header

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

Definition at line 67 of file xcode.h.

◆ p_idx

uint32_t p_idx

Packet index within the source buffer.

Definition at line 73 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 78 of file xcode.h.

◆ p_offset

m0_bindex_t p_offset

Starting offset in the source buffer.

Definition at line 82 of file xcode.h.

◆ p_size

m0_bcount_t p_size

Number of bytes in the packet payload.

Definition at line 80 of file xcode.h.

◆ p_src

struct bdesc p_src

Source buffer.

Definition at line 69 of file xcode.h.

◆ p_totalsize

m0_bcount_t p_totalsize

Size of the source buffer.

Definition at line 84 of file xcode.h.

◆ v_data

char v_data[WADDR_LEN]

Definition at line 66 of file xcode.h.