Freeciv-3.1: socket_packet_buffer Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
socket_packet_buffer Struct Reference

`#include <connection.h>`

## Data Fields

int | ndata
int | do_buffer_sends
int | nsize
unsigned char * | data

## Detailed Description

Definition at line 121 of file connection.h.

## Field Documentation

## ◆ data

unsigned char* socket_packet_buffer::data

Definition at line 125 of file connection.h.

Referenced by add_connection_data(), buffer_ensure_free_extra_space(), connection_send_data(), free_socket_packet_buffer(), get_packet_from_connection_raw(), new_socket_packet_buffer(), read_socket_data(), remove_packet_from_buffer(), and write_socket_data().

## ◆ do_buffer_sends

int socket_packet_buffer::do_buffer_sends

Definition at line 123 of file connection.h.

Referenced by connection_do_buffer(), connection_do_unbuffer(), connection_send_data(), and new_socket_packet_buffer().

## ◆ ndata

int socket_packet_buffer::ndata

Definition at line 122 of file connection.h.

Referenced by add_connection_data(), buffer_ensure_free_extra_space(), flush_connection_send_buffer_all(), flush_connection_send_buffer_packets(), flush_packets(), get_packet_from_connection_raw(), new_socket_packet_buffer(), read_from_connection(), read_socket_data(), remove_packet_from_buffer(), server_sniff_all_input(), and write_socket_data().

## ◆ nsize

int socket_packet_buffer::nsize

Definition at line 124 of file connection.h.

Referenced by add_connection_data(), buffer_ensure_free_extra_space(), get_packet_from_connection_raw(), new_socket_packet_buffer(), and read_socket_data().