zephyr/include/net
Michael Scott db577f00b1 net: buf: add linearize, append_bytes and skip APIs to net_buf
This change moves the logic for linearize and append_bytes from
the net_pkt sources into the net_buf sources where it can be
made available to layers which to not depend on net_pkt.  It also,
adds a new net_buf_skip() function which can be used to iterated
through a list of net_buf (freeing the buffers as it goes).

For the append_bytes function to be generic in nature, a net_buf
allocator callback was created.  Callers of append_bytes pass in
the callback which determines where the resulting net_buf is
allocated from.

Also, the dst buffer in linearize is now cleared prior to copy
(this was an addition from the code moved from net_pkt).

In order to preserve existing callers, the original functions are
left in the net_pkt layer, but now merely act as wrappers.

Signed-off-by: Michael Scott <mike@foundries.io>
2018-08-06 10:43:46 +03:00
..
bt.h
buf.h net: buf: add linearize, append_bytes and skip APIs to net_buf 2018-08-06 10:43:46 +03: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: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
dhcpv4.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
dns_resolve.h net: llmnr: Add link-local mcast name resolution client support 2018-06-29 13:11:18 +03:00
ethernet_mgmt.h net: eth: mgmt: Merge 802.1Qav related mgmt requests 2018-08-01 15:58:05 +03:00
ethernet_vlan.h net: if: vlan: Add virtual lan support 2018-04-05 08:54:19 -04:00
ethernet.h net: eth: mgmt: Add remaining 802.1Qav parameter types 2018-08-06 10:37:09 +03:00
gptp.h net: gptp: Use the ptp clock instead of zephyr uptime 2018-07-02 16:52:49 +03:00
hostname.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05: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: http: Provide destination address in http replies 2018-03-05 10:23:17 +01:00
http.h net: http: Fix client compilation if HTTPS is enabled 2018-04-26 12:35:05 +03:00
ieee802154_mgmt.h net/ieee802154: Split the net mgmt part from the L2 specific header 2017-12-12 09:29:48 -05:00
ieee802154_radio.h ieee802154: Add support for energy detection scan on driver API 2018-05-17 16:18:53 +03:00
ieee802154.h net/ieee802154: Do not set the device UP by default 2018-01-15 15:15:38 +02:00
ipv4_autoconf.h net: IPv4 link local support 2018-07-31 16:34:28 +03:00
lwm2m.h net: lwm2m: introduce user-code callbacks for obj create/delete 2018-07-17 13:03:18 +03:00
mii.h
mqtt_types.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
mqtt.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_app.h net: config: Introduce a dedicated header for the library 2018-07-02 12:36:35 +03:00
net_config.h net: config: Introduce a dedicated header for the library 2018-07-02 12:36:35 +03:00
net_context.h net: Avoid holes in structs 2018-07-25 15:20:34 +03:00
net_core.h net: Align the stack infos in net_stack linker section 2018-03-27 10:06:54 -04:00
net_event.h net/mgmt: Move NET_EVENT_INFO_MAX_SIZE into net core's private header 2018-04-12 09:56:07 -04:00
net_if.h net: IPv4 link local support 2018-07-31 16:34:28 +03:00
net_ip.h net: ip: Fix net priorities definitions 2018-08-06 10:23:57 +03:00
net_l2.h net: Remove the need for an l2 on offloaded drivers 2018-04-12 09:56:07 -04:00
net_linkaddr.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_mgmt.h net/mgmt: Fix how event_mask is handled on layer and layer code part 2018-03-02 16:50:21 +01:00
net_offload.h net: if: Separate IP address configuration from net_if 2018-03-27 10:06:54 -04:00
net_pkt.h net: Avoid holes in structs 2018-07-25 15:20:34 +03:00
net_stats.h net: eth: Vendor specific statistics 2018-08-02 12:42:27 +03:00
openthread.h include: net: net_l2: Add OpenThread L2 2018-01-29 22:42:03 -05:00
promiscuous.h net: Add promiscuous mode support 2018-07-24 15:12:37 +03:00
ptp_time.h net: if: Add TX timestamp callback support 2018-06-22 12:31:32 -04:00
sntp.h
socket.h net: tls: Add socket option to set peer verification level 2018-07-26 12:13:15 -04:00
tcp.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
tls_credentials.h net: tls: Add credential management subsystem 2018-07-26 12:13:15 -04:00
trickle.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
udp.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
websocket_console.h net: websocket: Add console support 2018-03-15 15:17:36 +02:00
websocket.h net: websocket: Initial support for server websocket 2018-03-15 15:17:36 +02:00
wifi_mgmt.h net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices 2018-04-12 09:56:07 -04:00
wifi.h net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices 2018-04-12 09:56:07 -04:00