zephyr/include/net
Jukka Rissanen 54ab6fad20 net: Add net_reply() function
The net_reply() can be used if the application wants to reply
something to peer right after receiving the data. The function
will reverse the source and destination addresses and ports,
and set the uIP internal structures in such a way that the
reply is possible. Using this function saves the application
from allocating a separate net_buf for just sending simple
message back.

Change-Id: Ia960c83b77a8f300222159ee085fed99e2b007c2
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2016-02-05 20:14:34 -05:00
..
net_buf.h doxygen: javadoc style 2016-02-05 20:14:32 -05:00
net_core.h net: Add net_reply() function 2016-02-05 20:14:34 -05:00
net_ip.h doxygen: javadoc style 2016-02-05 20:14:32 -05:00
net_socket.h doxygen: javadoc style 2016-02-05 20:14:32 -05:00