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)
Fri, May 10, 7:29 PM
Unknown Object (File)
Fri, May 10, 5:48 AM
Unknown Object (File)
Sat, May 4, 12:08 AM
Unknown Object (File)
Wed, May 1, 10:37 AM
Unknown Object (File)
Wed, May 1, 7:01 AM
Unknown Object (File)
Apr 20 2024, 2:45 PM
Unknown Object (File)
Apr 19 2024, 8:15 PM
Unknown Object (File)
Feb 27 2024, 8:02 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.