Re: fib[46]_lookup_rt usage in netflow.c, sa_len comparison with AF_INET

2021-05-18 Thread Hans Petter Selasky
On 5/18/21 5:46 PM, Guy Yur wrote: Hi, I was looking for examples on how to use fib6_lookup_rt and noticed there are comparisons between sa_len and AF_ flags in netflow.c if (nh->gw_sa.sa_len == AF_INET) if (nh->gw_sa.sa_len == AF_INET6) Are these typos for sa_family? Hi, According to: sys/

fib[46]_lookup_rt usage in netflow.c, sa_len comparison with AF_INET

2021-05-18 Thread Guy Yur
Hi, I was looking for examples on how to use fib6_lookup_rt and noticed there are comparisons between sa_len and AF_ flags in netflow.c if (nh->gw_sa.sa_len == AF_INET) if (nh->gw_sa.sa_len == AF_INET6) Are these typos for sa_family? https://cgit.freebsd.org/src/tree/sys/netgraph/netflow/netflo