Wrong function descriptio
Ivo Vachkov
ivo.vachkov at gmail.com
Wed Aug 22 06:00:18 PDT 2007
Hello all,
I find this:
. . .
/*
* Try to forward a packet based on the destination address.
* This is a fast path optimized for the plain forwarding case.
* If the packet is handled (and consumed) here then we return 1;
* otherwise 0 is returned and the packet should be delivered
* to ip_input for full processing.
*/
struct mbuf *
ip_fastforward(struct mbuf *m)
. . .
in ip_fastfwd.c (FreeBSD CURRENT source tree).
I'd say this is probably true for the NetBSD, but i see that return
value is actually a pointer to struct mbut, not an integer.
Probably someone should update it with the right description of the
return value type and meaning.
/ipv
More information about the freebsd-net
mailing list