Displaying 1 result from an estimated 1 matches for "packet_struct".
1999 Sep 14
0
SCO lan manager
...now if this is a correct choice :
/*******************************************************************
Process an incoming LanMan host announcement packet.
*******************************************************************/
void process_lm_host_announce(struct subnet_record *subrec, struct
packet_struct *p, char *buf)
{
struct dgram_packet *dgram = &p->packet.dgram;
uint32 servertype = IVAL(buf,1);
int osmajor=CVAL(buf,5); /* major version of node software */
int osminor=CVAL(buf,6); /* minor version of node software */
int ttl = SVAL(buf,7);
char *ann...