Networking: Get rid of the tcp_mss macro. It is confusing and only obfuscates what is really going on

This commit is contained in:
Gregory Nutt
2015-08-27 08:39:17 -06:00
parent 007aabc46f
commit 3bcdb218ff
7 changed files with 14 additions and 20 deletions
+2 -2
View File
@@ -423,8 +423,8 @@ uint16_t devif_dev_event(FAR struct net_driver_s *dev, void *pvconn,
* The amount of data that actually is sent out after a call to this
* function is determined by the maximum amount of data TCP allows. uIP
* will automatically crop the data so that only the appropriate
* amount of data is sent. The function tcp_mss() can be used to query
* uIP for the amount of data that actually will be sent.
* amount of data is sent. The mss field of the TCP connection structure
* can be used to determine the amount of data that actually will be sent.
*
* Note: This function does not guarantee that the sent data will
* arrive at the destination. If the data is lost in the network, the