FreeBSD kernel IPv4 code
in_fib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  route_in
 

Functions

struct nhop_object * fib4_lookup (uint32_t fibnum, struct in_addr dst, uint32_t scopeid, uint32_t flags, uint32_t flowid)
 
int fib4_check_urpf (uint32_t fibnum, struct in_addr dst, uint32_t scopeid, 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, uint32_t scopeid, uint32_t flags)
 
uint32_t fib4_calc_software_hash (struct in_addr src, struct in_addr dst, unsigned short src_port, unsigned short dst_port, char proto, uint32_t *phashtype)
 

Function Documentation

◆ fib4_calc_software_hash()

uint32_t fib4_calc_software_hash ( struct in_addr  src,
struct in_addr  dst,
unsigned short  src_port,
unsigned short  dst_port,
char  proto,
uint32_t phashtype 
)

◆ fib4_check_urpf()

int fib4_check_urpf ( uint32_t  fibnum,
struct in_addr  dst,
uint32_t  scopeid,
uint32_t  flags,
const struct ifnet *  src_if 
)

Referenced by in_gif_lookup().

Here is the caller graph for this function:

◆ fib4_lookup()

struct nhop_object * fib4_lookup ( uint32_t  fibnum,
struct in_addr  dst,
uint32_t  scopeid,
uint32_t  flags,
uint32_t  flowid 
)

Referenced by in_lltable_rtcheck(), inp_lookup_mcast_ifp(), ip_dooptions(), ip_findroute(), ip_forward(), ip_output(), and tcp_offload_connect().

Here is the caller graph for this function:

◆ fib4_lookup_debugnet()

struct nhop_object * fib4_lookup_debugnet ( uint32_t  fibnum,
struct in_addr  dst,
uint32_t  scopeid,
uint32_t  flags 
)

◆ fib4_lookup_rt()

struct rtentry * fib4_lookup_rt ( uint32_t  fibnum,
struct in_addr  dst,
uint32_t  scopeid,
uint32_t  flags,
struct route_nhop_data *  nrd 
)

Referenced by initheap().

Here is the caller graph for this function: