git: 3719dedb91eb - main - lltable: use sa_family_t instead of int for lltable.llt_af
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 May 2022 10:54:02 UTC
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=3719dedb91ebdfdfb7aa7d3c21f02176b21f6d29
commit 3719dedb91ebdfdfb7aa7d3c21f02176b21f6d29
Author: KUROSAWA Takahiro <takahiro.kurosawa@gmail.com>
AuthorDate: 2022-05-30 07:36:52 +0000
Commit: Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2022-05-30 10:53:33 +0000
lltable: use sa_family_t instead of int for lltable.llt_af
Reviewed By: melifaro, #network
Differential Revision: https://reviews.freebsd.org/D35323
MFC after: 2 weeks
---
sys/net/if_llatbl.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index 143b000adc22..059e918d4fea 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -166,7 +166,8 @@ typedef int (llt_foreach_entry_t)(struct lltable *, llt_foreach_cb_t *, void *);
struct lltable {
SLIST_ENTRY(lltable) llt_link;
- int llt_af;
+ sa_family_t llt_af;
+ uint8_t llt_spare[3];
int llt_hsize;
int llt_entries;
int llt_maxentries;