summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-12-26 07:01:05 +0000
committerwpaul <wpaul@FreeBSD.org>2003-12-26 07:01:05 +0000
commit57cde0f9a725c266d83624b53174fd6d15564985 (patch)
tree369c2b936158e3011feb06fb0c987635f7c72b48 /lib/libc/gen
parentebda8238cd6c308fee05639feb3a0614f972e7db (diff)
downloadFreeBSD-src-57cde0f9a725c266d83624b53174fd6d15564985.zip
FreeBSD-src-57cde0f9a725c266d83624b53174fd6d15564985.tar.gz
Attempt to handle the status field in the ndis_packet oob area correctly.
For received packets, an status of NDIS_STATUS_RESOURCES means we need to copy the packet data and return the ndis_packet to the driver immediatel. NDIS_STATUS_SUCCESS means we get to hold onto the packet, but we have to set the status to NDIS_STATUS_PENDING so the driver knows we're going to hang onto it for a while. For transmit packets, NDIS_STATUS_PENDING means the driver will asynchronously return the packet to us via the ndis_txeof() routine, and NDIS_STATUS_SUCCESS means the driver sent the frame, and NDIS (i.e. the OS) retains ownership of the packet and can free it right away.
Diffstat (limited to 'lib/libc/gen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud