• David G Andersen's avatar
    Somewhat cleaned up FreeBSD version of the divert sockets interface. · b731e3dc
    David G Andersen authored
    Note that it still has the ugly, hacked up hash table to track
    local vs. non-local addresses, and as such, is definitely not
    production quality.  It also has the interface name hack...
    Fortunately, if you're only using it as a router, it's trivial to remove
    this code and default to the "always remote" case.  I'll merge in these
    changes with an appropriate define one of these days.
    b731e3dc
divert_hash.h 420 Bytes