struct rpcs_msghdr_helper

Overview

Helper structure used when converting tarpc_msghdr to struct msghdr and vice versa. More…

#include <rpcs_msghdr.h>

struct rpcs_msghdr_helper {
    // fields

    uint8_t* addr_data;
    struct sockaddr* addr;
    socklen_t addr_len;
    socklen_t addr_rlen;
    int orig_msg_flags;
    uint8_t* orig_control;
    size_t orig_controllen;
    size_t real_controllen;
};

Detailed Documentation

Helper structure used when converting tarpc_msghdr to struct msghdr and vice versa.

Fields

uint8_t* addr_data

Pointer to address buffer

struct sockaddr* addr

Pointer to address to be placed in msg_name

socklen_t addr_len

Value to set for msg_namelen

socklen_t addr_rlen

Real length of addr_data buffer

int orig_msg_flags

Original value of msg_flags

uint8_t* orig_control

Where original content of msg_control is stored

size_t orig_controllen

Original value of msg_controllen

size_t real_controllen

Real length of buffer allocated for msg_control