/* tp_output.c 1.2 82/05/15 */
#include "../h/protosw.h"
#include "../net/in_systm.h"
#include "../net/tp_var.h"
* Transport output routine. Fill in the
* transport header and pass it off to the
if (dstnode
> tprp
.tprp_nn
) /* node number out of range? */
m
->m_off
-= sizeof (struct tprh
);
m
->m_len
+= sizeof (struct tprh
);
t
= mtod(m
, struct tprh
*);
AD_SHORT(t
->tprh_srcnode
, tp_host
);
AD_SHORT(t
->tprh_dstnode
, dstnode
);
return ((*tpifp
->if_output
)(tpifp
, m
, PF_DECNET
));