zephyr/subsys
Tomasz Bursztyka dcc6eddfef net/ethernet: Centralize where and when header is filled in
Current code generating Ethernet header is scattered all over the place,
sometimes in functions that are supposed to check something (and not
filling the header). Not to say about innefficiency.

Src ll address does not need to be set in L2 as net_if.c handles that
already.

Broadcast dst ll address is the same in ipv4 or ipv6, thus factorizing.
In each case, multicast is filled in only at the relevant place.

This is the first step towards changing L2 sending logic, when L2 send
API function will be the only point of sending. The redirection from
driver to L2 again (which finally uses the right device API function to
send) it a temporary hack.

This simplifies the code but will also enable using statically
allocated net_buf and ethernet header payload buffer afterwards.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2018-11-30 11:12:13 -08:00
..
app_memory subsys: app_memory: Fixed the size calculation for power of 2 MPUs 2018-09-20 11:25:53 -04:00
bluetooth Bluetooth: Mesh: Fix matching for all elements of an LPN 2018-11-29 17:55:23 +02:00
console subsys: console: tty: Use tty_putchar() instead of console_putchar() 2018-11-30 08:05:40 -08:00
cpp c++: kconfig: EXCEPTIONS needs to depend on NEWLIB_LIBC 2018-11-28 13:51:35 -08:00
debug debug: tracing: Add CPU stats module 2018-11-30 11:01:32 -08:00
dfu dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
disk subsys: disk: move conditional location 2018-11-02 15:31:44 -05:00
fb subsys: add monochrome character framebuffer 2018-10-16 14:54:47 -04:00
fs dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
logging logging: Make logging thread priority fixed 2018-11-30 10:59:02 -08:00
mgmt subsys/mgmt: Avoid C++ comments inside C comments 2018-11-15 17:38:25 -05:00
net net/ethernet: Centralize where and when header is filled in 2018-11-30 11:12:13 -08:00
power power: Move application level API's to public header 2018-11-26 18:38:40 -08:00
random subsys: random: xoroshiro128: Use entropy get isr during init 2018-09-05 13:04:20 -04:00
settings cmake: settings: Don't add ext nffs include dir to global includes 2018-07-25 08:27:45 -04:00
shell shell: utils: Remove dead code 2018-11-30 08:06:40 -08:00
stats stats: move from misc to subsys/stats 2018-11-12 08:01:15 -05:00
storage storage: flash_map: Make flash_map as extern 2018-11-20 11:15:16 +01:00
usb usb: device: Use sys_le16_to_cpu conversion 2018-11-30 07:58:31 -08:00
CMakeLists.txt stats: move from misc to subsys/stats 2018-11-12 08:01:15 -05:00
Kconfig Build: Improve C++ support 2018-10-29 09:15:04 -04:00