zephyr/include/net
Johan Hedberg f801c1ca8e net: buf: Add net_buf_id() API
Add a net_buf_id() API which translates a buffer into a zero-based
index, based on its placement in the buffer pool. This can be useful
if you want to associate an external array of meta-data contexts with
the buffers of a pool.

The added value of this API is slightly limited at the moment, since
the net_buf API allows custom user-data sizes for each pool (i.e. the
user data can be used instead of a separately allocated meta-data
array). However, there's some refactoring coming soon which will unify
all net_buf structs to have the same fixed (and typically small)
amount of user data. In such cases it may be desirable to have
external user data in order not to inflate all buffers in the system
because of a single pool needing the extra memory.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-11-01 12:08:27 +02:00
..
arp.h
bt.h
buf.h net: buf: Add net_buf_id() API 2017-11-01 12:08:27 +02:00
coap_link_format.h
coap.h doc: Fix misspellings in header/doxygen comments 2017-10-17 19:40:29 -04:00
dhcpv4.h
dns_resolve.h
ethernet.h net: ethernet: Check multicast IPv4 MAC address 2017-10-17 08:36:39 -04:00
hostname.h net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
http_parser_state.h net: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http_parser_url.h net: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http_parser.h net: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http.h kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00
ieee802154_radio.h net/ieee802154: Add a hw capability for handling ACK request on TX 2017-10-13 13:48:32 +03:00
ieee802154.h
lwm2m.h net: lwm2m: fix all return values from resource callbacks 2017-10-31 09:41:27 +02:00
mii.h
mqtt_types.h
mqtt.h kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00
net_app.h net: app: TLS client handling issue when server closes connection 2017-10-31 09:54:39 +02:00
net_context.h net: context: net_context_setup_pools: Elaborate docs 2017-10-28 14:20:57 -04:00
net_core.h kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00
net_event.h
net_if.h net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
net_ip.h
net_l2.h
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h net: pkt: Use standard macros to define system pkt slabs/pools 2017-10-23 13:58:11 +03:00
net_stats.h
sntp.h
socket.h
trickle.h
udp.h net: Clarify UDP and TCP header getter and setter documentation 2017-10-23 15:04:23 +03:00
zoap_link_format.h
zoap.h