summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-13 08:16:02 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-13 08:16:02 +0000
commit889970baeca780212c1953e389cafda53b2d471e (patch)
tree05d50ddf0fbcaea01b865047037901b81150c361 /sys/net/if_trunk.h
parent796ce93199b85ac41c23d60203aa891aec3d181e (diff)
Get rid of the last "#if NTRUNK" by overwriting trunk ports' output
function. ok claudio@, reyk@
Diffstat (limited to 'sys/net/if_trunk.h')
-rw-r--r--sys/net/if_trunk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_trunk.h b/sys/net/if_trunk.h
index 91000813b89..b335d2360b0 100644
--- a/sys/net/if_trunk.h
+++ b/sys/net/if_trunk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_trunk.h,v 1.20 2015/05/11 08:41:43 mpi Exp $ */
+/* $OpenBSD: if_trunk.h,v 1.21 2015/05/13 08:16:01 mpi Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -141,6 +141,8 @@ struct trunk_port {
/* Redirected callbacks */
void (*tp_watchdog)(struct ifnet *);
int (*tp_ioctl)(struct ifnet *, u_long, caddr_t);
+ int (*tp_output)(struct ifnet *, struct mbuf *, struct sockaddr *,
+ struct rtentry *);
SLIST_ENTRY(trunk_port) tp_entries;
};