Page MenuHomeFreeBSD

if_wg: export tx_bytes, rx_bytes, and last_handshake
ClosedPublic

Authored by kevans on Mar 9 2021, 11:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 5, 6:47 AM
Unknown Object (File)
Wed, Sep 4, 11:27 PM
Unknown Object (File)
Thu, Aug 29, 6:35 AM
Unknown Object (File)
Aug 19 2024, 5:46 AM
Unknown Object (File)
Aug 16 2024, 1:14 AM
Unknown Object (File)
Aug 2 2024, 11:52 AM
Unknown Object (File)
Jul 23 2024, 4:57 PM
Unknown Object (File)
Jul 10 2024, 4:09 AM
Subscribers

Details

Summary

The names are self-explanatory; these are currently only used by the
wg(8) tool, but they are handy data points to have.

MFC after: 3 days
Discussed with: decke

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 9 2021, 11:38 AM
sys/dev/if_wg/module/module.c
487

Why is this conditional?

sys/dev/if_wg/module/module.c
487

My working thought process was to avoid the nvpair allocation since the wg(8) side will assume '0' if these are omitted -- their absence is insignificant.