zephyr/include/net
Tomasz Bursztyka 7bcf00dc07 net/pkt: Add a function to trim the buffer
pkt->buffer is represented by 1+ net_buf. If some are unused, this will
deallocates them.

This situation can happen on TCP where net_pkt allocator evaluates the
header size to its maximum size. Which space might not be (fully) used
in the end. On fixed data size buffer, this might end up by having last
buffer(s) not bein used. So better removing those.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-02-12 09:46:01 -05:00
..
bt.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
buf.h net: buf: Add net_buf_pull_mem() API 2019-01-28 15:21:23 +02:00
coap_link_format.h net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
coap.h net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
dhcpv4.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
dns_resolve.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
dummy.h net/dummy: Switch to L2 sending path 2018-11-30 11:12:13 -08:00
ethernet_mgmt.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ethernet_vlan.h doc: networking: move API reference to new section 2019-02-05 07:04:40 -05:00
ethernet.h net: ethernet: Add more IEEE 802.3 protocol types 2019-02-07 14:43:30 +02:00
gptp.h net: gptp: Get the gPTP header properly 2018-12-07 16:43:59 +02:00
hostname.h net: sockets: Add gethostname() call 2019-02-08 10:39:30 +02:00
http_parser_state.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
http_parser_url.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
http_parser.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ieee802154_mgmt.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ieee802154_radio.h net: ieee802154: Fix ack check 2019-01-17 11:16:26 +02:00
ieee802154.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ipv4_autoconf.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
lldp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
lwm2m.h net: lwm2m: add doxygen group 2019-02-05 07:04:40 -05:00
mii.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
mqtt.h net: mqtt: Add SOCKS5 proxy support 2019-02-08 14:20:44 +02:00
net_config.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
net_context.h net: removed CONFIG_NET_APP 2019-02-08 13:57:55 +02:00
net_core.h net: Simplifying log macros 2018-12-13 14:21:25 +01:00
net_event.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
net_if.h net: ip: Introduce mesh_local address flag 2019-01-28 21:24:26 -05:00
net_ip.h net: socket: can: Add socket CAN support 2019-02-07 18:08:27 +02:00
net_l2.h net: l2: Add CANBUS L2 layer 2019-02-07 18:08:27 +02:00
net_linkaddr.h net: link: Add link addres type for CANBUS addresses 2019-02-07 18:08:27 +02:00
net_mgmt.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
net_offload.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
net_pkt.h net/pkt: Add a function to trim the buffer 2019-02-12 09:46:01 -05:00
net_stats.h net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_timeout.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
openthread.h openthread: Update openthread version to latest upstream/master. 2018-12-20 12:24:51 +01:00
promiscuous.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ptp_time.h net: gptp: Convert SyncReceiptTime to ExtendedTimestamp 2018-10-01 14:48:53 +03:00
sntp.h net: sntp: get rid of the callback function 2019-01-31 10:14:12 +02:00
socket_can.h net: socket: can: Add getsockopt() and setsockopt() support 2019-02-07 18:08:27 +02:00
socket_offload_ops.h net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
socket_offload.h net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
socket.h net: socket: Add zsock_freeaddrinfo() 2019-02-08 14:36:05 +02:00
socks.h net: Add initial SOCKS5 support 2019-02-08 14:20:44 +02:00
tcp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
tls_credentials.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
trickle.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
udp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
wifi_mgmt.h net: wifi: Add Access Point mode interface 2019-01-19 07:20:36 -05:00
wifi.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00