routing-table.h (723B)
1 // #ifndef __PMLAG_UTIL_RT_H__ 2 // #define __PMLAG_UTIL_RT_H__ 3 4 // #define PMLAG_RT_MAX 4096 5 6 // #include "config.h" 7 8 // #include "finwo/mindex.h" 9 10 // struct pmlag_rt_entry { 11 // unsigned char *mac; // mac address of the remote entity 12 // uint16_t bcidx; // broadcast index last seen from the mac 13 // struct pmlag_iface **iface; 14 // int iface_count; 15 // }; 16 17 // struct mindex_t * rt_init(void *udata); 18 19 // int rt_upsert( 20 // struct mindex_t *rt, 21 // struct pmlag_iface *iface, 22 // unsigned char *mac, 23 // int16_t bcidx 24 // ); 25 26 // struct pmlag_iface * rt_find( 27 // struct mindex_t *rt, 28 // unsigned char *mac 29 // ); 30 31 // #endif // __PMLAG_UTIL_RT_H__