Page MenuHomeFreeBSD

carp: refactor packet tagging for ether_output()
ClosedPublic

Authored by kp on May 1 2024, 9:43 AM.
Tags
None
Referenced Files
F132357513: D45038.id137932.diff
Thu, Oct 16, 5:07 AM
F132357496: D45038.id138232.diff
Thu, Oct 16, 5:07 AM
F132357495: D45038.id.diff
Thu, Oct 16, 5:07 AM
Unknown Object (File)
Wed, Oct 15, 6:00 PM
Unknown Object (File)
Sun, Oct 12, 3:32 AM
Unknown Object (File)
Sat, Oct 11, 11:26 PM
Unknown Object (File)
Thu, Oct 9, 5:06 AM
Unknown Object (File)
Wed, Oct 8, 5:39 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