register struct mbuf *m, *n;
struct mbuf *m, *mlast, *n;
sbappendcontrol(sb, m0, control)	struct sockbuf *sb;	struct mbuf *m0, *control;{	register struct mbuf *m, *n;	int space = 0;	if (control == 0)		panic("sbappendcontrol");	for (m = control; ; m = m->m_next) {		space += m->m_len;		if (m->m_next == 0)			break;	}	n = m;			/* save pointer to last control buffer */	for (m = m0; m; m = m->m_next)		space += m->m_len;	if (space > sbspace(sb))		return (0);	n->m_next = m0;			/* concatenate data to control */	for (m = control; m; m = m->m_next)		sballoc(sb, m);	if ((n = sb->sb_mb) != NULL) {		while (n->m_nextpkt)			n = n->m_nextpkt;		n->m_nextpkt = control;	} else		sb->sb_mb = control;	return (1);}