aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorLaurent Fasnacht <laurent.fasnacht@proton.ch>2023-02-15 11:56:15 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2023-02-16 07:42:03 +0000
commitde2a2c5ddbca39f1372834ef26c1360020eab671 (patch)
tree99faf6df4f859a5a16e7fcda3bd647ca18618563 /file.c
parent45cf6d9d6e1c9440a378fe0c7f974920f9c9833d (diff)
packet-netlink-net_dm: try to guess the payload type
The kernel unfortunately doesn't indicate which payload type it is. In particular, it might be an Ethernet packet or an IP one, depending on how the SKB has been generated. We work around this issue by guessing if the packet contains the EtherType at the right offset to be an Ethernet packet, and decode accordingly the payload.
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions