aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.c
AgeCommit message (Expand)AuthorFilesLines
2019-10-24socket.c: build multiaddr socket API helpers only if used by public APIsPau Espin Pedrol1-0/+4
2019-10-21socket: Remove unneeded condition check in osmo_sock_init2_multiaddr()Pau Espin Pedrol1-15/+15
2019-10-18socket: Introduce API osmo_sock_init2_multiaddr()Pau Espin Pedrol1-0/+286
2019-10-10socket.c: Move glibc workarounds to same place in addrinfo_helper()Pau Espin Pedrol1-19/+10
2019-07-21tell ubsan to ignore SUN_LENEric Wild1-0/+3
2019-06-04make all library-internal static buffers thread-localHarald Welte1-1/+1
2019-06-01socket.c: fix Doxygen doc for osmo_sock_unix_init_ofd()Vadim Yanitskiy1-2/+2
2019-05-10osmo_sock_get_name_*: Ensure string is returned in error caseHarald Welte1-1/+3
2019-04-12Fix incorrect buffer size calculationVadim Yanitskiy1-1/+1
2019-04-10Add _c versions of functions that otherwise return static buffersHarald Welte1-0/+14
2019-03-21select: Rename BSC_FD_* constants to OSMO_FD_*Harald Welte1-1/+1
2019-03-19socket: osmo_sock_get_name() Use "const void *" as talloc contextHarald Welte1-1/+1
2019-01-17socket: add define for socket name lengthPhilipp Maier1-4/+2
2018-12-19add to osmo_sock_get_name*() APINeels Hofmeyr1-17/+47
2018-12-07Add osmo_sockaddr_in_to_str_and_uint()Max1-5/+20
2018-11-06socket.c: fix IP and port buffer sizesOliver Smith1-4/+4
2018-10-26add osmo_sock_get_{local,remote}_ip{,_port}()Oliver Smith1-25/+86
2018-10-25cosmetic: fix typo (soocket -> socket)Oliver Smith1-1/+1
2018-09-26ensure unix socket paths are NUL-terminated for bind/connectStefan Sperling1-7/+5
2018-08-29Properly deal with sockaddr_un socket path length limitations.Stefan Sperling1-4/+11
2018-08-23socket: add flag to enforce SO_REUSEADDR on UDP socketsPhilipp Maier1-3/+3
2018-08-02socket: do not set SO_REUSEADDR for IPPROTO_UDPPhilipp Maier1-25/+33
2018-08-02socket: check return code of setsockoptPhilipp Maier1-1/+8
2018-07-27fix strncpy bugs in socket.cNeels Hofmeyr1-2/+1
2018-07-20add osmo_sockaddr_to_str_and_uint()Neels Hofmeyr1-0/+20
2018-04-18osmo_sockaddr_is_local: Fix memleakPau Espin Pedrol1-1/+4
2018-04-05socket.c: osmo_sock_init: Several logic fixes and log improvementsPau Espin Pedrol1-8/+16
2018-04-05socket.c: osmo_sock_init2: connect: Several logic fixes and log improvementsPau Espin Pedrol1-8/+17
2018-04-05socket.c: osmo_sock_init2: bind: Several logic fixes and log improvementsPau Espin Pedrol1-7/+19
2018-01-22socket: use inet_ntop() instead of inet_ntoa() in osmo_sock_local_ip()Philipp Maier1-2/+2
2018-01-22socket: fix socket leak in osmo_sock_local_ip()Philipp Maier1-0/+1
2017-11-13Fix/Update copyright notices; Add SPDX annotationHarald Welte1-0/+2
2017-10-23socket: add function osmo_sock_local_ip() to query local ipPhilipp Maier1-0/+53
2017-07-21osmo_sock_init2(): Fix creation of non-bound socketsHarald Welte1-1/+1
2017-07-13socket: Add new OSMO_SOCK_F_NO_MCAST_ALL optionHarald Welte1-0/+10
2017-07-13socket: Allow disabling multicast loop on socket creationHarald Welte1-4/+16
2017-07-13socket: Unify listen() calls and check for erroneous returnsHarald Welte1-20/+33
2017-07-13socket.c: Add multicast related convenience functionsHarald Welte1-0/+135
2017-07-03osmo_sock_get_name(): clearly indicate local and remoteNeels Hofmeyr1-2/+2
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-4/+3
2017-06-23doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr1-11/+11
2017-06-12update/extend doxygen documentationHarald Welte1-3/+2
2017-05-26socket: Add osmo_sock_init2_ofd() functionPau Espin Pedrol1-0/+23
2017-04-09Add osmo_sock_init2() function, allowing both BIND *and* CONNECTHarald Welte1-33/+187
2017-02-09cosmetic: replace fprintf with LOGPPhilipp Maier1-8/+12
2017-01-27socket: Introduce function to obtain socket nameHarald Welte1-1/+43
2016-11-26osmo_sock_init(): Fix memory leak in error pathHarald Welte1-0/+1
2016-08-29fix printf format for commit 'osmo_sock_init(): include host and port in erro...Neels Hofmeyr1-1/+1
2016-08-27osmo_sock_init(): include host and port in error messagesNeels Hofmeyr1-5/+16
2016-05-05Update doxygen annotations in libosmocoreHarald Welte1-0/+6