summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2011-03-21 09:40:01 +0000
committerjeff <jeff@FreeBSD.org>2011-03-21 09:40:01 +0000
commit2d7d8c05e7404fbebf1f0fe24c13bc5bb58d2338 (patch)
tree79d67d85de5b498560d0272509bd0b1bfccf7d86 /sys/net/if_var.h
parent3420a736119b646db3defc2c3e24d534e35d73a0 (diff)
downloadFreeBSD-src-2d7d8c05e7404fbebf1f0fe24c13bc5bb58d2338.zip
FreeBSD-src-2d7d8c05e7404fbebf1f0fe24c13bc5bb58d2338.tar.gz
- Merge changes to the base system to support OFED. These include
a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small features.
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 6320352..b3ecb7d 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -352,6 +352,9 @@ EVENTHANDLER_DECLARE(ifnet_arrival_event, ifnet_arrival_event_handler_t);
/* interface departure event */
typedef void (*ifnet_departure_event_handler_t)(void *, struct ifnet *);
EVENTHANDLER_DECLARE(ifnet_departure_event, ifnet_departure_event_handler_t);
+/* Interface link state change event */
+typedef void (*ifnet_link_event_handler_t)(void *, struct ifnet *, int);
+EVENTHANDLER_DECLARE(ifnet_link_event, ifnet_link_event_handler_t);
/*
* interface groups
OpenPOWER on IntegriCloud