diff options
| author | yamaguchi <yamaguchi@NetBSD.org> | 2022-06-20 08:20:09 +0000 |
|---|---|---|
| committer | yamaguchi <yamaguchi@NetBSD.org> | 2022-06-20 08:20:09 +0000 |
| commit | 5bc4e2d498bd4920634dbf43cc15ea46ffebefcf (patch) | |
| tree | 24a4bc313407f743503799295ee6f9fd3988d878 /sys/net/if.h | |
| parent | 60b4fee954e46bea638258bd4bd2649f32f8ce4b (diff) | |
bpf(4): added support for VLAN hardware offloading of ethernet devices
Diffstat (limited to 'sys/net/if.h')
| -rw-r--r-- | sys/net/if.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 9bdd5074029..f9476108558 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $NetBSD: if.h,v 1.297 2022/06/20 08:02:25 yamaguchi Exp $ */ +/* $NetBSD: if.h,v 1.298 2022/06/20 08:20:09 yamaguchi Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -340,6 +340,8 @@ typedef struct ifnet { #define if_watchdog if_slowtimo void (*if_drain) /* :: routine to release resources */ (struct ifnet *); + void (*if_bpf_mtap) /* :: bpf routine */ + (struct bpf_if *, struct mbuf *, u_int); struct ifaltq if_snd; /* q: output queue (includes altq) */ struct ifaddr *if_dl; /* i: identity of this interface. */ const struct sockaddr_dl |
