Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/in_fib.h
Show All 39 Lines | struct route_in { | ||||
uint16_t ro_plen; | uint16_t ro_plen; | ||||
uint16_t ro_flags; | uint16_t ro_flags; | ||||
uint16_t ro_mtu; /* saved ro_rt mtu */ | uint16_t ro_mtu; /* saved ro_rt mtu */ | ||||
uint16_t spare; | uint16_t spare; | ||||
/* custom sockaddr */ | /* custom sockaddr */ | ||||
struct sockaddr_in ro_dst4; | struct sockaddr_in ro_dst4; | ||||
}; | }; | ||||
struct rtentry; | |||||
struct route_nhop_data; | |||||
struct nhop_object *fib4_lookup(uint32_t fibnum, struct in_addr dst, | struct nhop_object *fib4_lookup(uint32_t fibnum, struct in_addr dst, | ||||
uint32_t scopeid, uint32_t flags, uint32_t flowid); | uint32_t scopeid, uint32_t flags, uint32_t flowid); | ||||
int fib4_check_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, | int fib4_check_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, | ||||
uint32_t flags, const struct ifnet *src_if); | uint32_t flags, const struct ifnet *src_if); | ||||
struct rtentry *fib4_lookup_rt(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, | |||||
uint32_t flags, struct route_nhop_data *nrd); | |||||
struct nhop_object *fib4_lookup_debugnet(uint32_t fibnum, struct in_addr dst, | struct nhop_object *fib4_lookup_debugnet(uint32_t fibnum, struct in_addr dst, | ||||
uint32_t scopeid, uint32_t flags); | uint32_t scopeid, uint32_t flags); | ||||
uint32_t fib4_calc_software_hash(struct in_addr src, struct in_addr dst, | uint32_t fib4_calc_software_hash(struct in_addr src, struct in_addr dst, | ||||
unsigned short src_port, unsigned short dst_port, char proto, | unsigned short src_port, unsigned short dst_port, char proto, | ||||
uint32_t *phashtype); | uint32_t *phashtype); | ||||
#endif | #endif |