There are no BPF 'devices'. 2.1.x allows BPF filters on arbitary sockets
BPF does not write packets just test them.
> I mean is it possible that after it intercepts the outgoing package it
> can modify the package contents(e.g. destination port) and inject into
> NIC? Or, modify the package contents when intercept the incoming
> packages and poll them back to the higher level protocols or
> applications?
Not trivially.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu