Lines Matching defs:handle
211 DWORD wrongHandle; /* upcall to wrong handle */
220 "Invalid handle number",
232 "Cannot change hardware address ( > 1 handle open)",
234 "Cannot reset interface (more than 1 handle open)",
429 pktInfo.handle = reg.r_ax;
435 PUBLIC BOOL PktReleaseHandle (WORD handle)
438 reg.r_bx = handle;
486 * We got an upcall to the same RMCB with wrong handle.
487 * This can happen if we failed to release handle at program exit
489 if (rx->handle != pktInfo.handle)
491 pktInfo.error = "Wrong handle";
493 PktReleaseHandle (rx->handle);
524 PUBLIC BOOL PktTerminHandle (WORD handle)
527 reg.r_bx = handle;
533 PUBLIC BOOL PktResetInterface (WORD handle)
536 reg.r_bx = handle;
548 reg.r_bx = pktInfo.handle;
563 reg.r_bx = pktInfo.handle;
577 PUBLIC BOOL PktGetStatistics (WORD handle)
580 reg.r_bx = handle;
603 PUBLIC BOOL PktSessStatistics (WORD handle)
605 if (!PktGetStatistics(pktInfo.handle))
624 PUBLIC BOOL PktResetStatistics (WORD handle)
626 if (!PktGetStatistics(pktInfo.handle))
639 reg.r_bx = pktInfo.handle;
837 head.handle = _farpeekw (_dos_ds, realBase+ofs+4);
903 head.handle = *(WORD*) (realBase+ofs+4);
1040 if (pktInfo.handle)
1045 if (!PktReleaseHandle(pktInfo.handle))
1046 PUTS ("Error releasing PKT-DRVR handle.");
1049 pktInfo.handle = 0;
1054 "wrong-handle %lu\n",
1235 pktInfo.funcs, pktInfo.intr, pktInfo.handle,