File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,22 @@ Bluetooth Host
5555Networking
5656**********
5757
58+ * Networking APIs found in
59+
60+ * :zephyr_file: `include/zephyr/net/net_ip.h `
61+ * :zephyr_file: `include/zephyr/net/socket.h `
62+
63+ and relevant code in ``subsys/net `` etc. is namespaced. This means that either
64+ ``net_ ``, ``NET_ `` or ``ZSOCK_ `` prefix is added to the network API name. This is done in order
65+ to avoid circular dependency with POSIX or libc that might define the same symbol.
66+ A compatibility header file :zephyr_file: `include/zephyr/net/net_compat.h `
67+ is created that provides the old symbols allowing the user to continue use the old symbols.
68+ External network applications can continue to use POSIX defined network symbols and
69+ include relevant POSIX header files like ``sys/socket.h `` to get the POSIX symbols as Zephyr
70+ networking header files will no longer include those. If the application or Zephyr internal
71+ code cannot use POSIX APIs, then the relevant network API prefix needs to be added to the
72+ code calling a network API.
73+
5874Other subsystems
5975****************
6076
You can’t perform that action at this time.
0 commit comments