OpenVPN
Data Fields
tun_ring Struct Reference

Wintun ring buffer See https://github.com/WireGuard/wintun#ring-layout. More...

#include <ring_buffer.h>

Data Fields

volatile ULONG head
 
volatile ULONG tail
 
volatile LONG alertable
 
UCHAR data [WINTUN_RING_CAPACITY+WINTUN_RING_TRAILING_BYTES]
 

Detailed Description

Wintun ring buffer See https://github.com/WireGuard/wintun#ring-layout.

Definition at line 50 of file ring_buffer.h.

Field Documentation

◆ alertable

volatile LONG tun_ring::alertable

Definition at line 54 of file ring_buffer.h.

Referenced by write_wintun().

◆ data

Definition at line 55 of file ring_buffer.h.

Referenced by read_wintun(), and write_wintun().

◆ head

volatile ULONG tun_ring::head

Definition at line 52 of file ring_buffer.h.

Referenced by read_wintun(), tuntap_ring_empty(), and write_wintun().

◆ tail

volatile ULONG tun_ring::tail

Definition at line 53 of file ring_buffer.h.

Referenced by read_wintun(), tuntap_ring_empty(), and write_wintun().


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