IPSetReassemblyBuffer


C Specification

#include <dolphin/ip.h>

s32 IPSetReassemblyBuffer(void* buffer, s32 len, s32 mtu);

Description

IPSetReassemblyBuffer() initializes the IP fragment packet reassembly buffer. Note for RFC 1122 compliance, IP stack must be able to reassemble fragmented IP datagram whose size is at least 576 bytes.

Note: By default the reassembly buffer is not set up and any fragmented IP packets are simply dropped.

Arguments

buffer Pointer to the buffer to be used as the IP fragment packet reassembly buffer.
len The size of the buffer in bytes.
mtu Effective MTU to receive. Must be greater than or equal to 576. Should be 1500 or more for Ethernet.

Return Values

None.

See Also