Module: kamailio
Branch: master
Commit: b57a2d7815ad374ba799af4b02c3bccd7942d539
URL: 
https://github.com/kamailio/kamailio/commit/b57a2d7815ad374ba799af4b02c3bccd7942d539

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2016-01-11T22:24:28+01:00

core: relocated sr_net_info_t struct for availability

---

Modified: forward.h
Modified: ip_addr.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/b57a2d7815ad374ba799af4b02c3bccd7942d539.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b57a2d7815ad374ba799af4b02c3bccd7942d539.patch

---

diff --git a/forward.h b/forward.h
index 537d378..9c15236 100644
--- a/forward.h
+++ b/forward.h
@@ -56,10 +56,6 @@ enum ss_mismatch {
        SS_MISMATCH_MCAST  /* mcast forced send socket */
 };
 
-typedef struct sr_send_info {
-       str data;
-       struct dest_info* dst;
-} sr_net_info_t;
 
 struct socket_info* get_send_socket2(struct socket_info* force_send_socket,
                                                                        union 
sockaddr_union* su, int proto,
diff --git a/ip_addr.h b/ip_addr.h
index 20176b0..c2b724c 100644
--- a/ip_addr.h
+++ b/ip_addr.h
@@ -136,6 +136,11 @@ struct receive_info{
        /* no need for dst_su yet */
 };
 
+typedef struct sr_net_info {
+       str data;
+       struct dest_info* dst;
+       struct receive_info* rcv;
+} sr_net_info_t;
 
 /* send flags */
 #define SND_F_FORCE_CON_REUSE  1 /* reuse an existing connection or fail */


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to