- ifnet_t gif_if; /* pointer back to the interface */
- struct sockaddr *gif_psrc; /* Physical src addr */
- struct sockaddr *gif_pdst; /* Physical dst addr */
+ ifnet_t gif_if; /* pointer back to the interface */
+ struct sockaddr *gif_psrc; /* Physical src addr */
+ struct sockaddr *gif_pdst; /* Physical dst addr */
const struct encaptab *encap_cookie4;
const struct encaptab *encap_cookie6;
TAILQ_ENTRY(gif_softc) gif_link; /* all gif's are linked */
const struct encaptab *encap_cookie4;
const struct encaptab *encap_cookie6;
TAILQ_ENTRY(gif_softc) gif_link; /* all gif's are linked */
- char gif_ifname[IFNAMSIZ];
- decl_lck_mtx_data(, gif_lock); /* lock for gif softc structure */
+ char gif_ifname[IFNAMSIZ];
+ decl_lck_mtx_data(, gif_lock); /* lock for gif softc structure */
-#define GIF_LOCK(_sc) lck_mtx_lock(&(_sc)->gif_lock)
-#define GIF_UNLOCK(_sc) lck_mtx_unlock(&(_sc)->gif_lock)
-#define GIF_LOCK_ASSERT(_sc) LCK_MTX_ASSERT(&(_sc)->gif_lock, \
+#define GIF_LOCK(_sc) lck_mtx_lock(&(_sc)->gif_lock)
+#define GIF_UNLOCK(_sc) lck_mtx_unlock(&(_sc)->gif_lock)
+#define GIF_LOCK_ASSERT(_sc) LCK_MTX_ASSERT(&(_sc)->gif_lock, \
-#define GIF_MTU (1280) /* Default MTU */
-#define GIF_MTU_MIN (1280) /* Minimum MTU */
-#define GIF_MTU_MAX (8192) /* Maximum MTU */
+#define GIF_MTU (1280) /* Default MTU */
+#define GIF_MTU_MIN (1280) /* Minimum MTU */
+#define GIF_MTU_MAX (8192) /* Maximum MTU */