In a data communications system employing a signaling protocol for conducting data communications between computers over a network, each computer including a memory and a data processor connected by a data bus and processing messages through plural message handling layers in a protocol stack, a method comprising the steps of:
- forming in each memory plural classes of memory blocks with memory blocks in each class having the same size, wherein each of the memory blocks has a starting address that is a multiple of a bit width of the data bus;
- linking memory blocks in each class together and establishing a first pointer for each class pointing to the first memory block allocated in that said class and a second pointer pointing to the first available memory block in that class;
- receiving a message to be processed through the message handling layers of the protocol stack;
- upon receipt of the message, writing the message in one or more of linked together ones of the memory blocks;
- and
- providing the message stored in the one or more linked memory blocks to another of the layers in the protocol stack by passing a pointer to the one or more linked memory blocks to a process corresponding to the another layer.