aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/osmo_io.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-24osmo_io: Add iofd param to segmentation_cbPau Espin Pedrol1-3/+9
2024-03-19osmo_io: Make {write,sendto,sendmsg} completion callback optionalHarald Welte1-15/+6
2024-03-19osmo_io: Massive improvement of API documentationHarald Welte1-43/+122
2024-03-15osmo_io: Dont use __linux__ but !EMBEDDEDHarald Welte1-2/+2
2024-03-07osmo_io: Avoid implementing non-existant situationsHarald Welte1-7/+4
2024-03-07osmo_io: avoid OSMO_ASSERT one each API callHarald Welte1-2/+7
2024-03-07osmo_io: Don't pretend to support backends without close_cbHarald Welte1-2/+2
2024-03-07osmo_io: Log error message in case call-backs incompatible with modeHarald Welte1-2/+15
2024-03-07osmo_io: Guard osmo_iofd_register() with invalid file descriptorHarald Welte1-0/+5
2024-03-04osmo_io: do check_mode_callback_compat() only if ioops is set at osmo_iofd_se...Andreas Eversberg1-1/+1
2024-02-29osmo_io: Assign const name when stealing TX msg from iofd ctxAndreas Eversberg1-3/+1
2024-02-29osmo_io: Add osmo_io_get_ioops() functionHarald Welte1-0/+8
2024-02-28osmo_io_poll: Use -errno as result on read errorAndreas Eversberg1-0/+1
2024-02-28osmo_io: Reject writing messages with length of 0Andreas Eversberg1-0/+15
2024-02-28osmo_io: sendmsg/recvmsg supportHarald Welte1-11/+117
2024-02-28osmo_io: Move notify_connected function to backendAndreas Eversberg1-1/+2
2024-02-23osmo_io: Change struct osmo_io_ops to contain struct, not unionHarald Welte1-2/+32
2023-11-30osmo_io: Factor out and use common send function from backendDaniel Willmann1-0/+40
2023-11-22osmo_io: Reject unknown/unsupported modes in osmo_iofd_setup()Harald Welte1-1/+12
2023-11-22osmo_io: rename unsupported SCTP mode to OSMO_IO_FD_MODE_SCTP_RECVMSG_SENDHarald Welte1-2/+2
2023-11-22io_uring: add some more source code comments/docsHarald Welte1-0/+4
2023-11-21osmo_io: Assert that iofd mode is correct when calling *_write_msgbDaniel Willmann1-0/+1
2023-09-28osmo_io: Only allow reading/writing if the relevant callback is setDaniel Willmann1-1/+30
2023-08-31osmo_io: Change parent of msghdr to iofd (instead of msg)Daniel Willmann1-1/+1
2023-08-24osmo_io: Add io_uring backendDaniel Willmann1-0/+15
2023-08-24osmo_io: Avoid potential double free when sending msgbDaniel Willmann1-8/+15
2023-08-24osmo_io: Add iofd_handle_recv()Daniel Willmann1-0/+16
2023-08-08osmo_io: Use MSG_NOSIGNAL to avoid SIGPIPE on writeDaniel Willmann1-1/+1
2023-08-08osmo_io: Ensure correct ownership of msgb when sendingDaniel Willmann1-0/+2
2023-07-18osmo_io: Fix length calculation in iofd_handle_segmentation()Daniel Willmann1-1/+1
2023-07-18osmo_io(cosmetic): End in a dot for doxygen AUTO_BRIEFDaniel Willmann1-24/+24
2023-07-18cosmetic: Fix doc commentDaniel Willmann1-0/+1
2023-07-18osmo_io: Add function to change the maximum length of the tx_queueDaniel Willmann1-0/+9
2023-07-18osmo_io: Document expectation that segmentation_cb() can modify msgbDaniel Willmann1-3/+8
2023-06-30osmo_io: Add osmo_iofd_notify_connected()Daniel Willmann1-1/+13
2023-06-30osmo_io: Fix write_enable handling in iofd_txqueueDaniel Willmann1-1/+4
2023-06-29osmo_io: Use bitfield for various boolean flagsDaniel Willmann1-5/+7
2023-06-26osmo_io: Return early on error in osmo_iofd_register()Daniel Willmann1-1/+3
2023-06-20osmo_io: Make name optional, add _set_name() APIPau Espin Pedrol1-2/+12
2023-06-19core/osmo_io: Rename variables for readabilityarehbein1-9/+10
2023-06-07osmo_io: Remove osmo_iofd_read/write_enable/disableDaniel Willmann1-43/+8
2023-05-19osmo_io: Support detecting non-blocking connect()arehbein/osmo_io_ipaDaniel Willmann1-2/+1
2023-05-19osmo_io: Improve handling and documentation of segmentation_cbDaniel Willmann1-11/+25
2023-05-19core: Add function to update osmo_io_ops field for osmo_io_fdarehbein1-0/+8
2023-05-10Add osmo_io with initial poll backendHarald Welte1-0/+602