Page MenuHomeFreeBSD

carp: refactor packet tagging for ether_output()
ClosedPublic

Authored by kp on Wed, May 1, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 16, 6:12 AM
Unknown Object (File)
Wed, May 8, 3:02 PM
Unknown Object (File)
Sat, May 4, 6:52 PM
Unknown Object (File)
Wed, May 1, 11:55 PM
Unknown Object (File)
Wed, May 1, 10:45 PM
Unknown Object (File)
Wed, May 1, 10:32 PM

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