Lines Matching refs:tun_buffer_t
98 } tun_buffer_t; typedef
111 tun_buffer_t buffers[TUN_MAX_BUFFER_COUNT];
112 tun_buffer_t* free_list;
113 tun_buffer_t* output_queue_front;
114 tun_buffer_t* output_queue_back;
119 static tun_buffer_t* get_buffer_from_free_list(tap_win32_overlapped_t* const overlapped) in get_buffer_from_free_list()
121 tun_buffer_t* buffer = NULL; in get_buffer_from_free_list()
132 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const b… in put_buffer_on_free_list()
141 static tun_buffer_t* get_buffer_from_output_queue(tap_win32_overlapped_t* const overlapped, const i… in get_buffer_from_output_queue()
143 tun_buffer_t* buffer = NULL; in get_buffer_from_output_queue()
174 static tun_buffer_t* get_buffer_from_output_queue_immediate (tap_win32_overlapped_t* const overlapp… in get_buffer_from_output_queue_immediate()
179 static void put_buffer_on_output_queue(tap_win32_overlapped_t* const overlapped, tun_buffer_t* cons… in put_buffer_on_output_queue()
451 tun_buffer_t* element = &overlapped->buffers[index]; in tap_win32_overlapped_init()
521 tun_buffer_t* buffer = get_buffer_from_free_list(overlapped); in tap_win32_thread_entry()
575 tun_buffer_t* buffer = get_buffer_from_output_queue_immediate(overlapped); in tap_win32_read()
591 tun_buffer_t* buffer = (tun_buffer_t*)pbuf; in tap_win32_free_buffer()