]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Change reliable_get_buf_sequenced to reliable_get_entry_sequenced
authorArne Schwabe <arne@rfc2549.org>
Fri, 22 Apr 2022 14:29:45 +0000 (16:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 27 Apr 2022 16:05:52 +0000 (18:05 +0200)
commit32f13c1e8902bd44c26b54de45f12e0cab642156
tree8011f17f75dc25120d4ddce7c3ecf10176d8f144
parentfb6e6c2ae3e6ecdc6ac0b69a79741d52189c0c70
Change reliable_get_buf_sequenced to reliable_get_entry_sequenced

This returns not just the buffer of a reliable_entry but the whole
entry. This allows the caller to also inspect the original opcode
and packet id.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20220422142953.3805364-11-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24153.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/reliable.c
src/openvpn/reliable.h
src/openvpn/ssl.c