Ben Greear writes:
> It requires a hook in dev.c, or at least that is the only way I can
> think to implement it.
Well the hook be placed along the packet path even in drivers. In tulip I
didn't
even take packet of the ring in some experiments.
And there plenty of existing hooks already i.e PRE_ROUTE?
> I don't think that hook is going to be allowed into the kernel, so the
> best I was hoping for was to have the code in pktgen with #if 0 and let
> users patch their kernel to add the hook...
Right so what I was trying to say was rather having #if 0 and dead code in
pktgen it could be kept separate.
Cheers.
--ro
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html