Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / usrsctp / usrsctplib / netinet / sctp_peeloff.c
index bba97f6..beb11fb 100755 (executable)
@@ -32,7 +32,7 @@
 
 #ifdef __FreeBSD__
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_peeloff.c 243565 2012-11-26 16:44:03Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctp_peeloff.c 269858 2014-08-12 11:30:16Z tuexen $");
 #endif
 
 #include <netinet/sctp_os.h>
@@ -125,7 +125,13 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id)
        n_inp->sctp_mobility_features = inp->sctp_mobility_features;
        n_inp->sctp_frag_point = inp->sctp_frag_point;
        n_inp->sctp_cmt_on_off = inp->sctp_cmt_on_off;
-       n_inp->sctp_ecn_enable = inp->sctp_ecn_enable;
+       n_inp->ecn_supported = inp->ecn_supported;
+       n_inp->prsctp_supported = inp->prsctp_supported;
+       n_inp->auth_supported = inp->auth_supported;
+       n_inp->asconf_supported = inp->asconf_supported;
+       n_inp->reconfig_supported = inp->reconfig_supported;
+       n_inp->nrsack_supported = inp->nrsack_supported;
+       n_inp->pktdrop_supported = inp->pktdrop_supported;
        n_inp->partial_delivery_point = inp->partial_delivery_point;
        n_inp->sctp_context = inp->sctp_context;
        n_inp->local_strreset_support = inp->local_strreset_support;
@@ -234,7 +240,13 @@ sctp_get_peeloff(struct socket *head, sctp_assoc_t assoc_id, int *error)
        n_inp->sctp_features = inp->sctp_features;
        n_inp->sctp_frag_point = inp->sctp_frag_point;
        n_inp->sctp_cmt_on_off = inp->sctp_cmt_on_off;
-       n_inp->sctp_ecn_enable = inp->sctp_ecn_enable;
+       n_inp->ecn_supported = inp->ecn_supported;
+       n_inp->prsctp_supported = inp->prsctp_supported;
+       n_inp->auth_supported = inp->auth_supported;
+       n_inp->asconf_supported = inp->asconf_supported;
+       n_inp->reconfig_supported = inp->reconfig_supported;
+       n_inp->nrsack_supported = inp->nrsack_supported;
+       n_inp->pktdrop_supported = inp->pktdrop_supported;
        n_inp->partial_delivery_point = inp->partial_delivery_point;
        n_inp->sctp_context = inp->sctp_context;
        n_inp->local_strreset_support = inp->local_strreset_support;