if_vxlan.h (4b49587c3dd54aed8eb103d838a89ca79484a9b6) | if_vxlan.h (b092fd6c973dab0ffaca8144f435c91a2588aa21) |
---|---|
1/*- 2 * Copyright (c) 2014, Bryan Venteicher <bryanv@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 129 unchanged lines hidden (view full) --- 138 uint16_t vxlcmd_port_min; 139 uint16_t vxlcmd_port_max; 140 uint8_t vxlcmd_mac[ETHER_ADDR_LEN]; 141 uint8_t vxlcmd_ttl; 142 union vxlan_sockaddr vxlcmd_sa; 143 char vxlcmd_ifname[IFNAMSIZ]; 144}; 145 | 1/*- 2 * Copyright (c) 2014, Bryan Venteicher <bryanv@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 129 unchanged lines hidden (view full) --- 138 uint16_t vxlcmd_port_min; 139 uint16_t vxlcmd_port_max; 140 uint8_t vxlcmd_mac[ETHER_ADDR_LEN]; 141 uint8_t vxlcmd_ttl; 142 union vxlan_sockaddr vxlcmd_sa; 143 char vxlcmd_ifname[IFNAMSIZ]; 144}; 145 |
146#ifdef _KERNEL 147typedef void (*vxlan_event_handler_t)(void *, struct ifnet *, sa_family_t, 148 u_int); 149EVENTHANDLER_DECLARE(vxlan_start, vxlan_event_handler_t); 150EVENTHANDLER_DECLARE(vxlan_stop, vxlan_event_handler_t); 151#endif 152 |
|
146#endif /* _NET_IF_VXLAN_H_ */ | 153#endif /* _NET_IF_VXLAN_H_ */ |