Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_var.h
Show First 20 Lines • Show All 300 Lines • ▼ Show 20 Lines | |||||
int nhgrp_get_addition_group(struct rib_head *rnh, | int nhgrp_get_addition_group(struct rib_head *rnh, | ||||
struct route_nhop_data *rnd_orig, struct route_nhop_data *rnd_add, | struct route_nhop_data *rnd_orig, struct route_nhop_data *rnd_add, | ||||
struct route_nhop_data *rnd_new); | struct route_nhop_data *rnd_new); | ||||
void nhgrp_ref_object(struct nhgrp_object *nhg); | void nhgrp_ref_object(struct nhgrp_object *nhg); | ||||
uint32_t nhgrp_get_idx(const struct nhgrp_object *nhg); | uint32_t nhgrp_get_idx(const struct nhgrp_object *nhg); | ||||
void nhgrp_free(struct nhgrp_object *nhg); | void nhgrp_free(struct nhgrp_object *nhg); | ||||
/* rtsock */ | |||||
int rtsock_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, | |||||
int fibnum); | |||||
int rtsock_routemsg_info(int cmd, struct rt_addrinfo *info, int fibnum); | |||||
int rtsock_addrmsg(int cmd, struct ifaddr *ifa, int fibnum); | |||||
/* lookup_framework.c */ | /* lookup_framework.c */ | ||||
void fib_grow_rtables(uint32_t new_num_tables); | void fib_grow_rtables(uint32_t new_num_tables); | ||||
int fib_select_algo_initial(struct rib_head *rh); | int fib_select_algo_initial(struct rib_head *rh); | ||||
void fib_destroy_rib(struct rib_head *rh); | void fib_destroy_rib(struct rib_head *rh); | ||||
void vnet_fib_init(void); | void vnet_fib_init(void); | ||||
void vnet_fib_destroy(void); | void vnet_fib_destroy(void); | ||||
/* Entropy data used for outbound hashing */ | /* Entropy data used for outbound hashing */ | ||||
#define MPATH_ENTROPY_KEY_LEN 40 | #define MPATH_ENTROPY_KEY_LEN 40 | ||||
extern uint8_t mpath_entropy_key[MPATH_ENTROPY_KEY_LEN]; | extern uint8_t mpath_entropy_key[MPATH_ENTROPY_KEY_LEN]; | ||||
#endif | #endif |