Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_vxlan.h
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | #define VXLAN_CMD_FLAG_LEARN 0x0002 | ||||
uint16_t vxlcmd_port_min; | uint16_t vxlcmd_port_min; | ||||
uint16_t vxlcmd_port_max; | uint16_t vxlcmd_port_max; | ||||
uint8_t vxlcmd_mac[ETHER_ADDR_LEN]; | uint8_t vxlcmd_mac[ETHER_ADDR_LEN]; | ||||
uint8_t vxlcmd_ttl; | uint8_t vxlcmd_ttl; | ||||
union vxlan_sockaddr vxlcmd_sa; | union vxlan_sockaddr vxlcmd_sa; | ||||
char vxlcmd_ifname[IFNAMSIZ]; | char vxlcmd_ifname[IFNAMSIZ]; | ||||
}; | }; | ||||
#ifdef _KERNEL | |||||
typedef void (*vxlan_event_handler_t)(void *, struct ifnet *, sa_family_t, | |||||
u_int); | |||||
EVENTHANDLER_DECLARE(vxlan_start, vxlan_event_handler_t); | |||||
EVENTHANDLER_DECLARE(vxlan_stop, vxlan_event_handler_t); | |||||
#endif | |||||
#endif /* _NET_IF_VXLAN_H_ */ | #endif /* _NET_IF_VXLAN_H_ */ |