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, Oct 9, 5:06 AM
Unknown Object (File)
Wed, Oct 8, 5:39 AM
Unknown Object (File)
Thu, Sep 11, 9:14 PM
Unknown Object (File)
Aug 30 2025, 4:03 AM
Unknown Object (File)
Aug 29 2025, 9:27 PM
Unknown Object (File)
Aug 22 2025, 2:11 AM
Unknown Object (File)
Aug 22 2025, 2:11 AM
Unknown Object (File)
Aug 22 2025, 2:11 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