diff options
author | Justin Sobota | 2015-06-24 15:45:25 -0500 |
---|---|---|
committer | Justin Sobota | 2015-06-24 15:45:25 -0500 |
commit | 449b16e50779486282ad1bbed96badea242a62d1 (patch) | |
tree | 49b1ada38e35d28318e2ffcdd79693987baa7640 /include | |
parent | da0e9eaf95a195ba0e081809964038f72136eb7e (diff) | |
download | mpm-transport-449b16e50779486282ad1bbed96badea242a62d1.tar.gz mpm-transport-449b16e50779486282ad1bbed96badea242a62d1.tar.xz mpm-transport-449b16e50779486282ad1bbed96badea242a62d1.zip |
srio_rcv now returns SRIO source address. Fixed SDOCM00117465
Diffstat (limited to 'include')
-rwxr-xr-x | include/mpm_transport.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/mpm_transport.h b/include/mpm_transport.h index 01f14fb..b91f86f 100755 --- a/include/mpm_transport.h +++ b/include/mpm_transport.h | |||
@@ -295,6 +295,24 @@ int mpm_transport_packet_send(mpm_transport_h h, char **buf, int *len, | |||
295 | mpm_transport_packet_addr_t *addr_info, mpm_transport_send_t *cfg); | 295 | mpm_transport_packet_addr_t *addr_info, mpm_transport_send_t *cfg); |
296 | 296 | ||
297 | /** | 297 | /** |
298 | * @b Function mpm_transport_packet_recv2 | ||
299 | * @n Pops information from the packet_addr_t binded to handle h. Data is | ||
300 | * copied to buf, of size len. | ||
301 | * | ||
302 | * Valid for SRIO recv: The source address from which the data was | ||
303 | * received is returned in the src_addr structure. | ||
304 | * | ||
305 | * @retval | ||
306 | * Success - returns 0 | ||
307 | * @retval | ||
308 | * Failure - returns value less than 0 (negative integer) | ||
309 | * | ||
310 | */ | ||
311 | int mpm_transport_packet_recv2(mpm_transport_h h, char **buf, int *len, | ||
312 | mpm_transport_packet_addr_t *src_addr, | ||
313 | mpm_transport_recv_t *cfg); | ||
314 | |||
315 | /** | ||
298 | * @b Function mpm_transport_packet_recv | 316 | * @b Function mpm_transport_packet_recv |
299 | * @n Pops information from the packet_addr_t binded to handle h. Data is | 317 | * @n Pops information from the packet_addr_t binded to handle h. Data is |
300 | * copied to buf, of size len. | 318 | * copied to buf, of size len. |