summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2012-12-19 22:04:08 +0900
committerSung-jae Park <nicesj.park@samsung.com>2012-12-19 23:27:04 +0900
commitb784165da37d22e5b0589ae414630d547f229a89 (patch)
tree90d45677df27b41a9a25c6c38de5dec78fafbca4 /include
parentc79fbde41343e9fe4edf5bb1bdeed0bfe2972e00 (diff)
downloadcom-core-b784165da37d22e5b0589ae414630d547f229a89.tar.gz
com-core-b784165da37d22e5b0589ae414630d547f229a89.tar.bz2
com-core-b784165da37d22e5b0589ae414630d547f229a89.zip
Enable the send thread.
Packet should be sent via ONE thread. If it sent from the multiple threads, we have to care the thread-safety. If the packet's destination address is 'ZERO', Pull up it to the server's main thread and handle it using the method_table, or forward packet to the destination. Change-Id: Ied696b921747e6dc009fc1c0be06cf587b0c6af8
Diffstat (limited to 'include')
-rw-r--r--include/packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/packet.h b/include/packet.h
index cfbd838..abdb046 100644
--- a/include/packet.h
+++ b/include/packet.h
@@ -60,6 +60,7 @@ extern const unsigned long const packet_destination(const struct packet *packet)
extern int packet_set_destination(struct packet *packet, unsigned long destination);
extern int packet_set_mask(struct packet *packet, unsigned long mask);
extern unsigned long packet_mask(const struct packet *packet);
+extern int packet_swap_address(struct packet *packet);
extern const int const packet_version(const struct packet *packet);
extern const int const packet_payload_size(const struct packet *packet);