struct tcp_message_t

Overview

struct tcp_message_t {
    // fields

    struct sockaddr_storage source_sa;
    struct sockaddr_storage dest_sa;
    uint8_t flags;
    uint8_t* payload;
    size_t pld_len;
};

Detailed Documentation

Fields

struct sockaddr_storage source_sa

source address

struct sockaddr_storage dest_sa

destination address

uint8_t flags

TCP checksum

uint8_t* payload

TCP payload

size_t pld_len

payload length