Need Netgraph Help [fixed]

Marko Zec zec at fer.hr
Sat Jan 6 16:31:14 UTC 2018


On Sat, 6 Jan 2018 08:22:25 -0500
John Lyon <johnllyon at gmail.com> wrote:

> I just woke up with a follow-up question that may be my aha moment.
> Are Netgraph edges between nodes always bidirectional? I have been
> treating all of the edges as unidirectional, requiring me to create
> two separate Netgraphs.  But if they are bidirectional, that would
> explain some things.

edges -> hooks in netgraph parlance

man 4 netgraph -> /Hooks -> "Data flows bidirectionally between nodes"

A lot of people arrive at BSD / netgraph with previous experiences
with the Click modular router, which might have caused the confusion,
since in Click all datapaths are always unidirectional.  Not
(necessarily) so in netgraph.


More information about the freebsd-net mailing list