You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change parse_ethhdr() to return network-byte-order
Raised as issue #59.
One advantage of not using bpf_nthos() call on packet data (eth->h_proto)
is that users of the API can instead do compares against constants
e.g. VLAN check bpf_htons(ETH_P_8021Q), which will allow compiler to
do this compile time (instead of runtime).
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
0 commit comments