diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-05 14:22:53 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-05 16:58:43 +0100 |
commit | 1e00f310ec542ebb37969471214b66866fd520eb (patch) | |
tree | b290efb9c30cde6f0b636c9a8e800995d3622eee /README.md | |
parent | api: rearrange wintun.h to have better grouping and improve docs (diff) | |
download | wintun-1e00f310ec542ebb37969471214b66866fd520eb.tar.xz wintun-1e00f310ec542ebb37969471214b66866fd520eb.zip |
example: raise to 4MiB
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ WINTUN_ADAPTER_HANDLE Adapter3 = WintunCreateAdapter(L"WireGuard", L"Data Center After creating an adapter, we can use it by starting a session: ```C -WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter2, 0x40000); +WINTUN_SESSION_HANDLE Session = WintunStartSession(Adapter2, 0x400000); ``` Then, the `WintunAllocateSendPacket` and `WintunSendPacket` functions can be used for sending packets ([used by `SendPackets` in the example.c code](https://git.zx2c4.com/wintun/tree/example/example.c)): |