Page MenuHomeFreeBSD

tcp: rename syncookie_lookup() into syncookie_expand() and make it bool
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 29, 6:05 AM
Unknown Object (File)
Mon, Apr 27, 11:45 PM
Unknown Object (File)
Wed, Apr 22, 4:46 AM
Unknown Object (File)
Tue, Apr 21, 7:39 PM
Unknown Object (File)
Mon, Apr 20, 6:14 PM
Unknown Object (File)
Thu, Apr 16, 5:16 PM
Unknown Object (File)
Mar 5 2026, 7:09 PM
Unknown Object (File)
Feb 8 2026, 4:09 PM
Subscribers

Details

Summary

This function always returns the same pointer it was passed. With new
name and return type the code is easier to understand. Mark the hash
bucket argument as pointer to const, since function doesn't modify it,
just uses value as integer. No functional changes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64928
Build 61811: arc lint + arc unit