send_kiss(type, buf, l)
void send_kiss(type, buf, l)
send_kiss(type, buf, l)unsigned char type;unsigned char *buf;int l;{#define KISSEMIT(x) if(ofcount<MAX_FRAME){*ofptr=(x);ofptr++;ofcount++;}	int i;	ofptr = oframe;	ofcount = 0;	KISSEMIT(FEND);	if(type==FEND){		KISSEMIT(FESC);		KISSEMIT(TFEND);	}else if (type==FESC){		KISSEMIT(FESC);		KISSEMIT(TFESC);	}else {		KISSEMIT(type);	}	for(i=0;i<l;i++,buf++){		if(*buf==FEND){			KISSEMIT(FESC);			KISSEMIT(TFEND);		}else if (*buf==FESC){			KISSEMIT(FESC);			KISSEMIT(TFESC);		}else {			KISSEMIT(*buf);		}	} /* for each character in the incoming AX25 frame */	KISSEMIT(FEND);	send_tty(oframe, ofcount);}