zephyr/include/net
Andrew Boie 65a9d2a94a kernel: make K_.*_INITIALIZER private to kernel
Upcoming memory protection features will be placing some additional
constraints on kernel objects:

- They need to reside in memory owned by the kernel and not the
application
- Certain kernel object validation schemes will require some run-time
initialization of all kernel objects before they can be used.

Per Ben these initializer macros were never intended to be public. It is
not forbidden to use them, but doing so requires care: the memory being
initialized must reside in kernel space, and extra runtime
initialization steps may need to be peformed before they are fully
usable as kernel objects. In particular, kernel subsystems or drivers
whose objects are already in kernel memory may still need to use these
macros if they define kernel objects as members of a larger data
structure.

It is intended that application developers instead use the
K_<object>_DEFINE macros, which will automatically put the object in the
right memory and add them to a section which can be iterated over at
boot to complete initiailization.

There was no K_WORK_DEFINE() macro for creating struct k_work objects,
this is now added.

k_poll_event and k_poll_signal are intended to be instatiated from
application memory and have not been changed.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-07-10 11:44:56 -07:00
..
arp.h net: l2: Clear arp cache when disable interface. 2017-04-28 15:01:08 +03:00
bt.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
buf.h kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
dhcpv4.h Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
dns_resolve.h dns: Remove unused fields from dns_addrinfo struct 2017-04-28 15:01:10 +03:00
ethernet.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
http_parser.h http: client: Create a HTTP library 2017-05-04 15:58:45 -04:00
http.h net: shell: Add HTTP server connection monitoring 2017-06-09 13:09:10 +03:00
ieee802154_radio.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
ieee802154.h ieee802154: Realign structure bitfields 2017-06-09 13:19:50 +03:00
mii.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mqtt_types.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
mqtt.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_app.h kconfig: fixed stray Kconfig variables 2017-07-06 10:34:41 -05:00
net_context.h net: context: Remove useless asserts when setting net_buf pools 2017-07-06 14:27:55 +03:00
net_core.h misc: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
net_event.h net: mgmt: Add IPv6 DAD succeed/failed event 2017-04-13 15:21:45 +03:00
net_if.h net: if: Clean up docstrings in header file 2017-05-12 11:14:04 -04:00
net_ip.h net: ip: Make struct in_addr::s_addr compatible with POSIX definition 2017-06-13 10:32:03 +03:00
net_l2.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_linkaddr.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
net_mgmt.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
net_offload.h doc: spelling check doxygen comments include/ 2017-05-02 22:21:37 -04:00
net_pkt.h net: tcp: Remove NET_TCP_HDR() macro and direct access to net_buf 2017-07-07 15:24:00 +03:00
net_stats.h net: tcp: Add TCP statistics support 2017-05-17 13:55:21 +03:00
socket.h net: sockets: Implement recv() for STREAM sockets 2017-06-28 16:07:55 +03:00
trickle.h net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
udp.h net: udp: Remove NET_UDP_HDR() macro and direct access to net_buf 2017-07-07 15:24:00 +03:00
zoap_link_format.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00
zoap.h net: zoap: correct description of zoap_response_received() 2017-06-14 14:55:43 -04:00