commit | 0bac136604142faa0747a5ef8b28d52d0f7fc321 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Thu Aug 13 15:12:20 2020 +0300 |
committer | Jukka Rissanen <jukka.rissanen+github@gmail.com> | Thu Aug 27 10:56:06 2020 +0300 |
tree | 718f9b18768f1fa1b6e2ece272aff8fd16e3c09f | |
parent | e6672f848a9555fc09209458f9a9c7b7b59532c7 [diff] |
samples: net: socket: packet: Add SOCK_DGRAM support If user has enabled SOCK_DGRAM support for AF_PACKET type, then use that in the packet sample application instead of SOCK_RAW. This simplifies the application as we do not need to handle the Ethernet frame when sending or receiving the packets. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>