]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Rename oncp_rec_size → partial_rec_size
authorDaniel Lenski <dlenski@gmail.com>
Tue, 8 Jun 2021 18:13:39 +0000 (11:13 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 8 Jun 2021 20:32:08 +0000 (21:32 +0100)
commit59572533adbcb70d3603a6bd87d8332d8863dc7f
treeaa35bd3d3b5d8c6d972456f89970c01f6e58ad60
parent9d7dea1283a852996ae4b7ebb571a47fade97453
Rename oncp_rec_size → partial_rec_size

This variable is used to track the size of partially-received tunnel packets
across mainloop invocations.

It was intially used by the oNCP protocol, where tunneled packets can be
split across TLS records.  We're now going to use it to deal with an
extremely similar mis-layering of packetisation for PPP-based protocols
as well.

Renaming it to partial_rec_size to emphasize its cross-protocol nature (cf.
https://gitlab.com/openconnect/openconnect/-/merge_requests/151).

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
oncp.c
openconnect-internal.h