Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/nhop.h
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | |||||
struct sysctl_req; | struct sysctl_req; | ||||
struct sockaddr_dl; | struct sockaddr_dl; | ||||
struct rib_head; | struct rib_head; | ||||
uint32_t nhop_get_idx(const struct nhop_object *nh); | uint32_t nhop_get_idx(const struct nhop_object *nh); | ||||
enum nhop_type nhop_get_type(const struct nhop_object *nh); | enum nhop_type nhop_get_type(const struct nhop_object *nh); | ||||
int nhop_get_rtflags(const struct nhop_object *nh); | int nhop_get_rtflags(const struct nhop_object *nh); | ||||
struct vnet *nhop_get_vnet(const struct nhop_object *nh); | struct vnet *nhop_get_vnet(const struct nhop_object *nh); | ||||
struct nhop_object *nhop_select_func(struct nhop_object *nh, uint32_t flowid); | |||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
/* Kernel <> userland structures */ | /* Kernel <> userland structures */ | ||||
/* Structure usage and layout are described in dump_nhop_entry() */ | /* Structure usage and layout are described in dump_nhop_entry() */ | ||||
struct nhop_external { | struct nhop_external { | ||||
uint32_t nh_len; /* length of the datastructure */ | uint32_t nh_len; /* length of the datastructure */ | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |