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 net: shell: Add ARP cache printing 2017-09-12 17:39:29 +03:00
bt.h net: bt: Add advertise management command 2017-08-04 18:18:40 +03:00
buf.h net: buf: Add net_buf_id() API 2017-11-01 12:08:27 +02:00
coap_link_format.h net: coap: Add multi fragment support to CoAP library 2017-10-06 22:07:37 -04:00
coap.h doc: Fix misspellings in header/doxygen comments 2017-10-17 19:40:29 -04:00
dhcpv4.h net: Add missing __cplusplus checks to includes 2017-07-24 14:54:34 -04:00
dns_resolve.h net: mdns: Add multicast DNS client support 2017-09-17 18:02:18 -04:00
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 net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
lwm2m.h net: lwm2m: fix all return values from resource callbacks 2017-10-31 09:41:27 +02:00
mii.h net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
mqtt_types.h net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
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/mgmt/event: Commands must be > 0 so masking them works 2017-09-08 12:49:26 +03:00
net_if.h net: Add hostname setting to Kconfig 2017-10-17 08:36:39 -04:00
net_ip.h net: ip: Check IPv4 multicast address using big-endian 2017-09-29 11:34:06 +03:00
net_l2.h net: l2: Declare Bluetooth and Offload L2 drivers public 2017-08-14 11:06:34 +03:00
net_linkaddr.h net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
net_mgmt.h net/mgmt: Make event notifiers able to pass info to listeners 2017-10-09 10:53:17 +03:00
net_offload.h doc: fix misspellings in include (API docs) 2017-08-10 12:22:19 -04:00
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 net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
sntp.h net: sntp: Implement SNTP client library 2017-10-03 15:29:27 -04:00
socket.h net: sockets: Implement sendto() and recvfrom() 2017-10-03 14:40:05 +03:00
trickle.h net: doc: Add missing defgroups to network header files 2017-07-31 20:59:09 +03:00
udp.h net: Clarify UDP and TCP header getter and setter documentation 2017-10-23 15:04:23 +03:00
zoap_link_format.h net: Deprecate ZOAP library 2017-10-06 22:07:37 -04:00
zoap.h net: Deprecate ZOAP library 2017-10-06 22:07:37 -04:00