mopPutChar
mopPutChar (pkt,idx,0x00);
mopPutChar (pkt, idx, MOP_K_PROTO_802_DSAP);
mopPutChar (pkt, idx, MOP_K_PROTO_802_SSAP);
mopPutChar (pkt, idx, MOP_K_PROTO_802_CNTL);
mopPutChar (pkt, idx, 0x08);
mopPutChar (pkt, idx, 0x00);
mopPutChar (pkt, idx, 0x2b);
mopPutChar(pkt, idx, (proto / 256));
mopPutChar(pkt, idx, (proto % 256));
mopPutChar(pkt, idx, (proto / 256));
mopPutChar(pkt, idx, (proto % 256));
mopPutChar(pkt, idx, (proto % 256));
mopPutChar(pkt, idx, (proto / 256));
mopPutChar(pkt, &idx, ((len - 16) % 256));
mopPutChar(pkt, &idx, ((len - 16) / 256));
mopPutChar(pkt, &idx, ((len - 14) / 256));
mopPutChar(pkt, &idx, ((len - 14) % 256));
mopPutChar(pkt, &idx, ((len - 14) % 256));
mopPutChar(pkt, &idx, ((len - 14) / 256));
mopPutChar (pkt,idx,10);
mopPutChar (pkt,idx,(timenow->tm_year / 100) + 19);
mopPutChar (pkt,idx,(timenow->tm_year % 100));
mopPutChar (pkt,idx,(timenow->tm_mon + 1));
mopPutChar (pkt,idx,(timenow->tm_mday));
mopPutChar (pkt,idx,(timenow->tm_hour));
mopPutChar (pkt,idx,(timenow->tm_min));
mopPutChar (pkt,idx,(timenow->tm_sec));
mopPutChar (pkt,idx,0x00);
mopPutChar (pkt,idx,0x00);
void mopPutChar(u_char *, int *, u_char);
mopPutChar(pkt,&idx,mopcode);
mopPutChar (pkt, &idx, mopcode);
mopPutChar (pkt, &idx, dle->count);
mopPutChar (pkt,&idx, mopcode);
mopPutChar (pkt,&idx, dle->count);
mopPutChar (pkt, &idx, mopcode);
mopPutChar (pkt, &idx, dle->count);
mopPutChar (pkt, &idx, MOP_K_PLTP_HSN);
mopPutChar (pkt, &idx, 3);
mopPutChar (pkt, &idx, MOP_K_PLTP_HSA);
mopPutChar (pkt, &idx, 6);
mopPutChar (pkt, &idx, MOP_K_PLTP_HST);
mopPutChar (pkt, &idx, 0);