The Sequence Toolkit
www.sequence-toolkit.com
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
stk_rawudp_api.h
Go to the documentation of this file.
1 
12 #ifndef STK_RAWUDP_API_H
13 #define STK_RAWUDP_API_H
14 #include "stk_udp.h"
15 #include "stk_data_flow.h"
16 #include <sys/socket.h>
17 
25 #define stk_rawudp_create_subscriber stk_rawudp_listener_create_data_flow
31 int stk_rawudp_listener_fd(stk_data_flow_t *svr_df);
32 
47 
52 stk_ret stk_rawudp_listener_data_flow_id_ip(stk_data_flow_t *df,struct sockaddr *data_flow_id,socklen_t addrlen);
57 stk_ret stk_rawudp_listener_data_flow_clientip(stk_data_flow_t *df,struct sockaddr *data_flow_id,socklen_t addrlen);
67 stk_ret stk_rawudp_listener_data_flow_send_dest(stk_data_flow_t *df,char *buf,stk_uint64 buflen,stk_uint64 flags,struct sockaddr_in *dest_addr,size_t sz);
75 #define stk_rawudp_create_publisher stk_rawudp_client_create_data_flow
82 int stk_rawudp_client_fd(stk_data_flow_t *df);
83 
87 stk_ret stk_rawudp_client_data_flow_id_ip(stk_data_flow_t *df,struct sockaddr *data_flow_id,socklen_t addrlen);
92 stk_ret stk_rawudp_client_data_flow_serverip(stk_data_flow_t *df,struct sockaddr *data_flow_id,socklen_t addrlen);
93 
94 #endif