Page MenuHomeFreeBSD

lltable: use sa_family_t instead of int for lltable.llt_af
ClosedPublic

Authored by takahiro.kurosawa_gmail.com on May 26 2022, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 27 2024, 8:02 AM
Unknown Object (File)
Feb 18 2024, 5:32 PM
Unknown Object (File)
Feb 12 2024, 4:27 AM
Unknown Object (File)
Jan 8 2024, 5:48 AM
Unknown Object (File)
Dec 20 2023, 5:34 AM
Unknown Object (File)
Dec 12 2023, 6:25 PM
Unknown Object (File)
Nov 27 2023, 7:18 AM
Unknown Object (File)
Nov 25 2023, 2:00 AM

Details

Summary

Use proper type for address family instead of int.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

melifaro added inline comments.
sys/net/if_llatbl.h
169–170

Nit: I'd add explicit uint8_t llt_spare[3] to indicate the spare field that arises due to alignment.

This revision is now accepted and ready to land.May 26 2022, 9:59 AM

Add the spare member to indicate explicit alignment.

This revision now requires review to proceed.May 26 2022, 10:13 AM
sys/net/if_llatbl.h
169–170

I've added the llt_spare member.

This revision was not accepted when it landed; it landed in state Needs Review.May 30 2022, 10:54 AM
This revision was automatically updated to reflect the committed changes.