summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ngatm
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-11-07 08:48:43 +0000
committerharti <harti@FreeBSD.org>2003-11-07 08:48:43 +0000
commit7e00060782791cb54160c8376b65cd40ea41a7cf (patch)
treee0547a5a89c754b0e8a038b1994e38e61daf3e18 /sys/contrib/ngatm
parentaa350024a0cd5dfbf44c93c326c007f5e5c3d9d8 (diff)
downloadFreeBSD-src-7e00060782791cb54160c8376b65cd40ea41a7cf.zip
FreeBSD-src-7e00060782791cb54160c8376b65cd40ea41a7cf.tar.gz
These two files are generated with the ../genfiles script and are
not part of the imported distribution.
Diffstat (limited to 'sys/contrib/ngatm')
-rw-r--r--sys/contrib/ngatm/netnatm/sig/sig_unimsgcpy.c594
-rw-r--r--sys/contrib/ngatm/netnatm/sig/unimsgcpy.h113
2 files changed, 707 insertions, 0 deletions
diff --git a/sys/contrib/ngatm/netnatm/sig/sig_unimsgcpy.c b/sys/contrib/ngatm/netnatm/sig/sig_unimsgcpy.c
new file mode 100644
index 0000000..1653ba7
--- /dev/null
+++ b/sys/contrib/ngatm/netnatm/sig/sig_unimsgcpy.c
@@ -0,0 +1,594 @@
+/* This file was created automatically
+ * Source file: $Begemot: libunimsg/atm/msg/msg.def,v 1.3 2003/09/19 11:58:15 hbb Exp $
+ * $FreeBSD$
+ */
+
+#include <netnatm/msg/unistruct.h>
+#include <netnatm/sig/unimsgcpy.h>
+
+void
+copy_msg_alerting(struct uni_alerting *src, struct uni_alerting *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ if(IE_ISGOOD(src->report))
+ dst->report = src->report;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_call_proc(struct uni_call_proc *src, struct uni_call_proc *dst)
+{
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_connect(struct uni_connect *src, struct uni_connect *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->aal))
+ dst->aal = src->aal;
+ if(IE_ISGOOD(src->blli))
+ dst->blli = src->blli;
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->conned))
+ dst->conned = src->conned;
+ if(IE_ISGOOD(src->connedsub))
+ dst->connedsub = src->connedsub;
+ if(IE_ISGOOD(src->eetd))
+ dst->eetd = src->eetd;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ if(IE_ISGOOD(src->traffic))
+ dst->traffic = src->traffic;
+ if(IE_ISGOOD(src->exqos))
+ dst->exqos = src->exqos;
+ if(IE_ISGOOD(src->facility))
+ dst->facility = src->facility;
+ if(IE_ISGOOD(src->abrsetup))
+ dst->abrsetup = src->abrsetup;
+ if(IE_ISGOOD(src->abradd))
+ dst->abradd = src->abradd;
+ if(IE_ISGOOD(src->called_soft))
+ dst->called_soft = src->called_soft;
+ if(IE_ISGOOD(src->report))
+ dst->report = src->report;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_connect_ack(struct uni_connect_ack *src, struct uni_connect_ack *dst)
+{
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_release(struct uni_release *src, struct uni_release *dst)
+{
+ u_int s, d;
+
+ for(s = d = 0; s < 2; s++)
+ if(IE_ISGOOD(src->cause[s]))
+ dst->cause[d++] = src->cause[s];
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ if(IE_ISGOOD(src->facility))
+ dst->facility = src->facility;
+ if(IE_ISGOOD(src->crankback))
+ dst->crankback = src->crankback;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_release_compl(struct uni_release_compl *src, struct uni_release_compl *dst)
+{
+ u_int s, d;
+
+ for(s = d = 0; s < 2; s++)
+ if(IE_ISGOOD(src->cause[s]))
+ dst->cause[d++] = src->cause[s];
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ if(IE_ISGOOD(src->crankback))
+ dst->crankback = src->crankback;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_setup(struct uni_setup *src, struct uni_setup *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->aal))
+ dst->aal = src->aal;
+ if(IE_ISGOOD(src->traffic))
+ dst->traffic = src->traffic;
+ if(IE_ISGOOD(src->bearer))
+ dst->bearer = src->bearer;
+ if(IE_ISGOOD(src->bhli))
+ dst->bhli = src->bhli;
+ if(IE_ISGOOD(src->blli_repeat))
+ dst->blli_repeat = src->blli_repeat;
+ for(s = d = 0; s < UNI_NUM_IE_BLLI; s++)
+ if(IE_ISGOOD(src->blli[s]))
+ dst->blli[d++] = src->blli[s];
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ for(s = d = 0; s < UNI_NUM_IE_CALLEDSUB; s++)
+ if(IE_ISGOOD(src->calledsub[s]))
+ dst->calledsub[d++] = src->calledsub[s];
+ if(IE_ISGOOD(src->calling))
+ dst->calling = src->calling;
+ for(s = d = 0; s < UNI_NUM_IE_CALLINGSUB; s++)
+ if(IE_ISGOOD(src->callingsub[s]))
+ dst->callingsub[d++] = src->callingsub[s];
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->qos))
+ dst->qos = src->qos;
+ if(IE_ISGOOD(src->eetd))
+ dst->eetd = src->eetd;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->scompl))
+ dst->scompl = src->scompl;
+ for(s = d = 0; s < UNI_NUM_IE_TNS; s++)
+ if(IE_ISGOOD(src->tns[s]))
+ dst->tns[d++] = src->tns[s];
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->atraffic))
+ dst->atraffic = src->atraffic;
+ if(IE_ISGOOD(src->mintraffic))
+ dst->mintraffic = src->mintraffic;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->lij_callid))
+ dst->lij_callid = src->lij_callid;
+ if(IE_ISGOOD(src->lij_param))
+ dst->lij_param = src->lij_param;
+ if(IE_ISGOOD(src->lij_seqno))
+ dst->lij_seqno = src->lij_seqno;
+ if(IE_ISGOOD(src->exqos))
+ dst->exqos = src->exqos;
+ if(IE_ISGOOD(src->abrsetup))
+ dst->abrsetup = src->abrsetup;
+ if(IE_ISGOOD(src->abradd))
+ dst->abradd = src->abradd;
+ if(IE_ISGOOD(src->cscope))
+ dst->cscope = src->cscope;
+ if(IE_ISGOOD(src->calling_soft))
+ dst->calling_soft = src->calling_soft;
+ if(IE_ISGOOD(src->called_soft))
+ dst->called_soft = src->called_soft;
+ if(IE_ISGOOD(src->dtl_repeat))
+ dst->dtl_repeat = src->dtl_repeat;
+ for(s = d = 0; s < UNI_NUM_IE_DTL; s++)
+ if(IE_ISGOOD(src->dtl[s]))
+ dst->dtl[d++] = src->dtl[s];
+ if(IE_ISGOOD(src->report))
+ dst->report = src->report;
+ if(IE_ISGOOD(src->mdcr))
+ dst->mdcr = src->mdcr;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_status(struct uni_status *src, struct uni_status *dst)
+{
+ if(IE_ISGOOD(src->callstate))
+ dst->callstate = src->callstate;
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->epstate))
+ dst->epstate = src->epstate;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_status_enq(struct uni_status_enq *src, struct uni_status_enq *dst)
+{
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_notify(struct uni_notify *src, struct uni_notify *dst)
+{
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_restart(struct uni_restart *src, struct uni_restart *dst)
+{
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->restart))
+ dst->restart = src->restart;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_restart_ack(struct uni_restart_ack *src, struct uni_restart_ack *dst)
+{
+ if(IE_ISGOOD(src->connid))
+ dst->connid = src->connid;
+ if(IE_ISGOOD(src->restart))
+ dst->restart = src->restart;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_add_party(struct uni_add_party *src, struct uni_add_party *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->aal))
+ dst->aal = src->aal;
+ if(IE_ISGOOD(src->bhli))
+ dst->bhli = src->bhli;
+ if(IE_ISGOOD(src->blli))
+ dst->blli = src->blli;
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ for(s = d = 0; s < UNI_NUM_IE_CALLEDSUB; s++)
+ if(IE_ISGOOD(src->calledsub[s]))
+ dst->calledsub[d++] = src->calledsub[s];
+ if(IE_ISGOOD(src->calling))
+ dst->calling = src->calling;
+ for(s = d = 0; s < UNI_NUM_IE_CALLINGSUB; s++)
+ if(IE_ISGOOD(src->callingsub[s]))
+ dst->callingsub[d++] = src->callingsub[s];
+ if(IE_ISGOOD(src->scompl))
+ dst->scompl = src->scompl;
+ for(s = d = 0; s < UNI_NUM_IE_TNS; s++)
+ if(IE_ISGOOD(src->tns[s]))
+ dst->tns[d++] = src->tns[s];
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->eetd))
+ dst->eetd = src->eetd;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->lij_seqno))
+ dst->lij_seqno = src->lij_seqno;
+ if(IE_ISGOOD(src->calling_soft))
+ dst->calling_soft = src->calling_soft;
+ if(IE_ISGOOD(src->called_soft))
+ dst->called_soft = src->called_soft;
+ if(IE_ISGOOD(src->dtl_repeat))
+ dst->dtl_repeat = src->dtl_repeat;
+ for(s = d = 0; s < UNI_NUM_IE_DTL; s++)
+ if(IE_ISGOOD(src->dtl[s]))
+ dst->dtl[d++] = src->dtl[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_add_party_ack(struct uni_add_party_ack *src, struct uni_add_party_ack *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->aal))
+ dst->aal = src->aal;
+ if(IE_ISGOOD(src->blli))
+ dst->blli = src->blli;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->eetd))
+ dst->eetd = src->eetd;
+ if(IE_ISGOOD(src->conned))
+ dst->conned = src->conned;
+ if(IE_ISGOOD(src->connedsub))
+ dst->connedsub = src->connedsub;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->called_soft))
+ dst->called_soft = src->called_soft;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_party_alerting(struct uni_party_alerting *src, struct uni_party_alerting *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_add_party_rej(struct uni_add_party_rej *src, struct uni_add_party_rej *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->crankback))
+ dst->crankback = src->crankback;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_drop_party(struct uni_drop_party *src, struct uni_drop_party *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_drop_party_ack(struct uni_drop_party_ack *src, struct uni_drop_party_ack *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->uu))
+ dst->uu = src->uu;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_leaf_setup_req(struct uni_leaf_setup_req *src, struct uni_leaf_setup_req *dst)
+{
+ u_int s, d;
+
+ for(s = d = 0; s < UNI_NUM_IE_TNS; s++)
+ if(IE_ISGOOD(src->tns[s]))
+ dst->tns[d++] = src->tns[s];
+ if(IE_ISGOOD(src->calling))
+ dst->calling = src->calling;
+ for(s = d = 0; s < UNI_NUM_IE_CALLINGSUB; s++)
+ if(IE_ISGOOD(src->callingsub[s]))
+ dst->callingsub[d++] = src->callingsub[s];
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ for(s = d = 0; s < UNI_NUM_IE_CALLEDSUB; s++)
+ if(IE_ISGOOD(src->calledsub[s]))
+ dst->calledsub[d++] = src->calledsub[s];
+ if(IE_ISGOOD(src->lij_callid))
+ dst->lij_callid = src->lij_callid;
+ if(IE_ISGOOD(src->lij_seqno))
+ dst->lij_seqno = src->lij_seqno;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_leaf_setup_fail(struct uni_leaf_setup_fail *src, struct uni_leaf_setup_fail *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ if(IE_ISGOOD(src->calledsub))
+ dst->calledsub = src->calledsub;
+ if(IE_ISGOOD(src->lij_seqno))
+ dst->lij_seqno = src->lij_seqno;
+ for(s = d = 0; s < UNI_NUM_IE_TNS; s++)
+ if(IE_ISGOOD(src->tns[s]))
+ dst->tns[d++] = src->tns[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_cobisetup(struct uni_cobisetup *src, struct uni_cobisetup *dst)
+{
+ if(IE_ISGOOD(src->facility))
+ dst->facility = src->facility;
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ if(IE_ISGOOD(src->calledsub))
+ dst->calledsub = src->calledsub;
+ if(IE_ISGOOD(src->calling))
+ dst->calling = src->calling;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_facility(struct uni_facility *src, struct uni_facility *dst)
+{
+ if(IE_ISGOOD(src->facility))
+ dst->facility = src->facility;
+ if(IE_ISGOOD(src->called))
+ dst->called = src->called;
+ if(IE_ISGOOD(src->calledsub))
+ dst->calledsub = src->calledsub;
+ if(IE_ISGOOD(src->calling))
+ dst->calling = src->calling;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_modify_req(struct uni_modify_req *src, struct uni_modify_req *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->traffic))
+ dst->traffic = src->traffic;
+ if(IE_ISGOOD(src->atraffic))
+ dst->atraffic = src->atraffic;
+ if(IE_ISGOOD(src->mintraffic))
+ dst->mintraffic = src->mintraffic;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_modify_ack(struct uni_modify_ack *src, struct uni_modify_ack *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->report))
+ dst->report = src->report;
+ if(IE_ISGOOD(src->traffic))
+ dst->traffic = src->traffic;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_modify_rej(struct uni_modify_rej *src, struct uni_modify_rej *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->cause))
+ dst->cause = src->cause;
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_conn_avail(struct uni_conn_avail *src, struct uni_conn_avail *dst)
+{
+ u_int s, d;
+
+ if(IE_ISGOOD(src->notify))
+ dst->notify = src->notify;
+ for(s = d = 0; s < UNI_NUM_IE_GIT; s++)
+ if(IE_ISGOOD(src->git[s]))
+ dst->git[d++] = src->git[s];
+ if(IE_ISGOOD(src->report))
+ dst->report = src->report;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
+
+void
+copy_msg_unknown(struct uni_unknown *src, struct uni_unknown *dst)
+{
+ if(IE_ISGOOD(src->epref))
+ dst->epref = src->epref;
+ if(IE_ISGOOD(src->unrec))
+ dst->unrec = src->unrec;
+}
diff --git a/sys/contrib/ngatm/netnatm/sig/unimsgcpy.h b/sys/contrib/ngatm/netnatm/sig/unimsgcpy.h
new file mode 100644
index 0000000..70e4e2e
--- /dev/null
+++ b/sys/contrib/ngatm/netnatm/sig/unimsgcpy.h
@@ -0,0 +1,113 @@
+/* This file was created automatically
+ * Source file: $Begemot: libunimsg/atm/msg/msg.def,v 1.3 2003/09/19 11:58:15 hbb Exp $
+ * $FreeBSD$
+ */
+
+
+void
+copy_msg_alerting(struct uni_alerting *src, struct uni_alerting *dst);
+
+
+void
+copy_msg_call_proc(struct uni_call_proc *src, struct uni_call_proc *dst);
+
+
+void
+copy_msg_connect(struct uni_connect *src, struct uni_connect *dst);
+
+
+void
+copy_msg_connect_ack(struct uni_connect_ack *src, struct uni_connect_ack *dst);
+
+
+void
+copy_msg_release(struct uni_release *src, struct uni_release *dst);
+
+
+void
+copy_msg_release_compl(struct uni_release_compl *src, struct uni_release_compl *dst);
+
+
+void
+copy_msg_setup(struct uni_setup *src, struct uni_setup *dst);
+
+
+void
+copy_msg_status(struct uni_status *src, struct uni_status *dst);
+
+
+void
+copy_msg_status_enq(struct uni_status_enq *src, struct uni_status_enq *dst);
+
+
+void
+copy_msg_notify(struct uni_notify *src, struct uni_notify *dst);
+
+
+void
+copy_msg_restart(struct uni_restart *src, struct uni_restart *dst);
+
+
+void
+copy_msg_restart_ack(struct uni_restart_ack *src, struct uni_restart_ack *dst);
+
+
+void
+copy_msg_add_party(struct uni_add_party *src, struct uni_add_party *dst);
+
+
+void
+copy_msg_add_party_ack(struct uni_add_party_ack *src, struct uni_add_party_ack *dst);
+
+
+void
+copy_msg_party_alerting(struct uni_party_alerting *src, struct uni_party_alerting *dst);
+
+
+void
+copy_msg_add_party_rej(struct uni_add_party_rej *src, struct uni_add_party_rej *dst);
+
+
+void
+copy_msg_drop_party(struct uni_drop_party *src, struct uni_drop_party *dst);
+
+
+void
+copy_msg_drop_party_ack(struct uni_drop_party_ack *src, struct uni_drop_party_ack *dst);
+
+
+void
+copy_msg_leaf_setup_req(struct uni_leaf_setup_req *src, struct uni_leaf_setup_req *dst);
+
+
+void
+copy_msg_leaf_setup_fail(struct uni_leaf_setup_fail *src, struct uni_leaf_setup_fail *dst);
+
+
+void
+copy_msg_cobisetup(struct uni_cobisetup *src, struct uni_cobisetup *dst);
+
+
+void
+copy_msg_facility(struct uni_facility *src, struct uni_facility *dst);
+
+
+void
+copy_msg_modify_req(struct uni_modify_req *src, struct uni_modify_req *dst);
+
+
+void
+copy_msg_modify_ack(struct uni_modify_ack *src, struct uni_modify_ack *dst);
+
+
+void
+copy_msg_modify_rej(struct uni_modify_rej *src, struct uni_modify_rej *dst);
+
+
+void
+copy_msg_conn_avail(struct uni_conn_avail *src, struct uni_conn_avail *dst);
+
+
+void
+copy_msg_unknown(struct uni_unknown *src, struct uni_unknown *dst);
+
OpenPOWER on IntegriCloud