摘要 |
A system of managing memory used by communications tasks of a communications network operating with a multi-layered communications protocol, Specially formatted buffers are used to contain data to be passed down the protocol stack of a source node, across a communications link, and up the protocol stack of a destination node. before entering the source stack, message data is presegmented so that each buffer contains only so much message data as may be transmitted as a single data unit from source to destination, even after all layers of the source stack have added layer headers to that portion. Then, when the buffers axe being passed within the source stack, any layer may segment the message data by simply unlinking buffers and adding its layer header to each segment. Inter-layer data passing is by means of exclusive access to buffers by one layer at a time. At the source stack, any layer that must send multiple copies of the message data may checkpoint the buffers and thereby regain the same buffers. At the destination stack, the buffers may be reassembled by relinking them.
|