Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/in_fib.c
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
#include <net/radix_mpath.h> | #include <net/radix_mpath.h> | ||||
#endif | #endif | ||||
#include <netinet/in.h> | #include <netinet/in.h> | ||||
#include <netinet/in_var.h> | #include <netinet/in_var.h> | ||||
#include <netinet/in_fib.h> | #include <netinet/in_fib.h> | ||||
#ifdef INET | #ifdef INET | ||||
/* Verify struct route compatiblity */ | |||||
/* Assert 'struct route_in' is compatible with 'struct route' */ | |||||
CHK_STRUCT_ROUTE_COMPAT(struct route_in, ro_dst4); | |||||
static void fib4_rte_to_nh_basic(struct nhop_object *nh, struct in_addr dst, | static void fib4_rte_to_nh_basic(struct nhop_object *nh, struct in_addr dst, | ||||
uint32_t flags, struct nhop4_basic *pnh4); | uint32_t flags, struct nhop4_basic *pnh4); | ||||
static void fib4_rte_to_nh_extended(struct nhop_object *nh, struct in_addr dst, | static void fib4_rte_to_nh_extended(struct nhop_object *nh, struct in_addr dst, | ||||
uint32_t flags, struct nhop4_extended *pnh4); | uint32_t flags, struct nhop4_extended *pnh4); | ||||
#define RNTORT(p) ((struct rtentry *)(p)) | #define RNTORT(p) ((struct rtentry *)(p)) | ||||
static void | static void | ||||
▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines |