History log of /haiku/src/add-ons/kernel/network/stack/ancillary_data.cpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 36708e6a 05-Nov-2024 Augustin Cavalier <waddlesplash@gmail.com>

network: Let modules process all ancillary data at once, and adjust UNIX.

This way, modules can decide to do different things based on having
all the ancillary data available. In particular, the UNI

network: Let modules process all ancillary data at once, and adjust UNIX.

This way, modules can decide to do different things based on having
all the ancillary data available. In particular, the UNIX module will
now post only one message header for all the FDs, even if they came
from multiple sets of ancillary data.

This should fix "Message needs unreceived descriptors" from the Chromium
IPC code (which is used by Firefox).

show more ...


# da1e76be 19-Aug-2024 Augustin Cavalier <waddlesplash@gmail.com>

network/stack: Actually delete the ancillary data container.

We freed its contents but missed deleting the container itself.
Fixes a 2-pointer-size memory leak on every use of ancillary data.


# ad20cd0c 19-Aug-2024 Augustin Cavalier <waddlesplash@gmail.com>

network/stack: Define maximum ancillary data size based on void*.

Otherwise we would support sending up to 32 FDs on 32-bit and
only 16 FDs on 64-bit. This way we will support 32 FDs on both.


# 49e00d1f 02-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved the container management for ancillary data from the net_buffer
module to the stack module. There's a dedicated struct
ancillary_data_container, now. One can just set the container on a
net_buf

Moved the container management for ancillary data from the net_buffer
module to the stack module. There's a dedicated struct
ancillary_data_container, now. One can just set the container on a
net_buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25292 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...