Re: umb(4) switch bpf to DLT_LOOP

2019-10-02 Thread David Gwynne
ok. > On 2 Oct 2019, at 18:17, Claudio Jeker wrote: > > umb(4) is currently the only user of DLT_RAW. The problem with this is > that it only works for IPv4 packets and that is less than ideal. > This diff switches umb(4) to DLT_LOOP like lo(4), tun(4), gif(4), ... > > To make this work the

umb(4) switch bpf to DLT_LOOP

2019-10-02 Thread Claudio Jeker
umb(4) is currently the only user of DLT_RAW. The problem with this is that it only works for IPv4 packets and that is less than ideal. This diff switches umb(4) to DLT_LOOP like lo(4), tun(4), gif(4), ... To make this work the driver injects the af header in umb_decap() when pulling the packet