zephyr/include/net
Patrik Flykt 753daa65f9 net: pkt: Compute TX payload data length
Compute the length of the TX payload that is transported in one
IPv4 or IPv6 datagram taking into account UDP, ICMP or TCP
headers in addition to any IPv6 extension headers added by RPL.
The TCP implementation in Zephyr is known to currently carry at
maximum 8 bytes of options. If the protocol is not known to the
stack, assume that the application handles any protocol headers
as well as the data. Also, if the net_pkt does not have a
context associated, length check on the data is omitted when
appending.

Although payload length is calculated also for TCP, the TCP MSS
value is used as before.

Define IPv4 minimum MTU as 576 octets, See RFC 791, Sections 3.1.
and 3.2.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2017-11-24 08:27:39 -05:00
..
arp.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
bt.h net: bt: Add advertise management command 2017-08-04 18:18:40 +03:00
buf.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05: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 doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
ethernet.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
hostname.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
http_app.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
http_legacy.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: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http.h net: http: Create HTTP library that uses net-app 2017-11-06 09:33:00 -05:00
ieee802154_radio.h net/ieee802154: Make RAW mode generic 2017-11-22 10:10:09 -05:00
ieee802154.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05: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 doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_app.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_context.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_core.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05: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 doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_ip.h net: pkt: Compute TX payload data length 2017-11-24 08:27:39 -05:00
net_l2.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_linkaddr.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_mgmt.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_offload.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_pkt.h net: pkt: Compute TX payload data length 2017-11-24 08:27:39 -05:00
net_stats.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
sntp.h net: sntp: Implement SNTP client library 2017-10-03 15:29:27 -04:00
socket.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05: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
zoap_link_format.h net: Deprecate ZOAP library 2017-10-06 22:07:37 -04:00
zoap.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00