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.

Details

Summary

Use proper type for address family instead of int.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.