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)
Sat, Oct 26, 11:07 AM
Unknown Object (File)
Sun, Oct 20, 10:42 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Sun, Oct 20, 10:41 PM
Unknown Object (File)
Oct 4 2024, 11:31 AM
Unknown Object (File)
Oct 3 2024, 3:11 PM
Unknown Object (File)
Oct 3 2024, 12:33 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