Instead of setting the upper protocol type in ethernet_send() by checking the protocol type bits, use the ptype that is already set by the caller. This allows new protocol types to be supported and makes the system extensible. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| canbus | ||
| dummy | ||
| ethernet | ||
| ieee802154 | ||
| offloaded_netdev | ||
| openthread | ||
| ppp | ||
| virtual | ||
| wifi | ||
| CMakeLists.txt | ||
| Kconfig | ||