Page MenuHomeFreeBSD

carp: refactor packet tagging for ether_output()
ClosedPublic

Authored by kp on May 1 2024, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 6:02 AM
Unknown Object (File)
Nov 8 2025, 5:51 AM
Unknown Object (File)
Nov 5 2025, 6:39 PM
Unknown Object (File)
Nov 5 2025, 4:13 PM
Unknown Object (File)
Nov 5 2025, 6:28 AM
Unknown Object (File)
Nov 5 2025, 3:46 AM
Unknown Object (File)
Oct 27 2025, 5:44 AM
Unknown Object (File)
Oct 16 2025, 5:07 AM

Details

Summary
  • Separate HMAC preparation (CARP specific) from tagging.
  • In unicast mode (CARP specific) don't put tag at all.
  • Don't put pointer to software context into the tag. Putting just vhid, an integer value, is a safer design.

Diff Detail

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