From 3719dedb91ebdfdfb7aa7d3c21f02176b21f6d29 Mon Sep 17 00:00:00 2001 From: KUROSAWA Takahiro Date: Mon, 30 May 2022 07:36:52 +0000 Subject: [PATCH] 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;