Lines Matching defs:ndh
428 NbtDataHeader *ndh;
439 ndh = (NbtDataHeader *)udp_next(uh);
440 if ((char *)(ndh + 1) > pmax)
443 printf("\nType=%02x,", ndh->type);
445 switch (ndh->type) {
449 p = (u_char *) ndh + 14;
454 p = (u_char *) ndh + 11;
459 p = (u_char *) ndh + 10;
466 printf("%s:%d-->", inet_ntoa(ndh->source_ip), ntohs(ndh->source_port));
473 acc = ndh->source_port;
475 sptr = (u_short *) & (ndh->source_ip);
483 ndh->source_ip = *alias_address;
484 ndh->source_port = alias_port;
486 printf("%s:%d\n", inet_ntoa(ndh->source_ip), ntohs(ndh->source_port));