• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/msdos/

Lines Matching defs:ofs

363     static char pktStr[9] = "PKT DRVR";  /* ASCIIZ string at ofs 3 */

828 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs);
830 if (ofs != _farpeekw (_dos_ds, realBase+rxInOfs))
835 head.firstCount = _farpeekw (_dos_ds, realBase+ofs);
836 head.secondCount = _farpeekw (_dos_ds, realBase+ofs+2);
837 head.handle = _farpeekw (_dos_ds, realBase+ofs+4);
843 dosmemget (realBase+ofs+6, len, buf);
848 ofs += sizeof (RX_ELEMENT);
849 if (ofs > LAST_RX_BUF)
851 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
859 WORD ofs;
862 ofs = _farpeekw (_dos_ds, realBase+rxInOfs);
864 ofs += sizeof (RX_ELEMENT);
866 if (ofs > LAST_RX_BUF)
868 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
894 WORD ofs = *(WORD*) (realBase+rxOutOfs);
896 if (ofs != *(WORD*) (realBase+rxInOfs))
901 head.firstCount = *(WORD*) (realBase+ofs);
902 head.secondCount = *(WORD*) (realBase+ofs+2);
903 head.handle = *(WORD*) (realBase+ofs+4);
909 memcpy (buf, (const void*)(realBase+ofs+6), len);
914 ofs += sizeof (RX_ELEMENT);
915 if (ofs > LAST_RX_BUF)
917 else *(WORD*) (realBase+rxOutOfs) = ofs;
925 WORD ofs;
928 ofs = *(WORD*) (realBase+rxInOfs);
930 ofs += sizeof (RX_ELEMENT);
932 if (ofs > LAST_RX_BUF)
934 else *(WORD*) (realBase+rxOutOfs) = ofs;
1020 unsigned ofs; /* clear the DOS-mem to prevent further upcalls */
1022 for (ofs = 0; ofs < 16 * rm_mem.size / 4; ofs += 4)
1023 _farpokel (_dos_ds, realBase + ofs, 0);
1246 unsigned sel, ofs;
1252 ofs = _FP_OFF (protBase);
1253 printf ("Protbase = %04X:%08X\n", sel,ofs);
1257 ofs = _FP_OFF (rxOutOfsFp);
1258 printf ("rxOutOfsFp = %04X:%08X\n", sel,ofs);
1261 ofs = _FP_OFF (rxInOfsFp);
1262 printf ("rxInOfsFp = %04X:%08X\n", sel,ofs);