path: root/src/socket.c
AgeCommit message (Expand)AuthorFilesLines
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
2014-10-13Move common socket routine into separate functionMax1-29/+24
2014-09-11add missing copyright statements to source code filesHarald Welte1-0/+21
2014-03-26src/socket: Adding unix domain socket supportÁlvaro Neira Ayuso1-0/+102
2013-02-15misc: Doxygen tweaks: fixed some typos and minor errorsKaterina Barone-Adesi1-1/+1
2013-01-15socket: fix osmo_sock_init with SOCK_RAW and IPPROTO_RAWPablo Neira Ayuso1-3/+16
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut1-1/+1
2012-04-08sync prototype of osmo_sockaddr_is_local with declarationHarald Welte1-1/+1
2011-11-09freebsd: Fixes for the compilation of libosmocore on FreeBSDHolger Hans Peter Freyther1-0/+2
2011-08-17some more doxygen work (include the notion of modules)Harald Welte1-1/+48
2011-06-13socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flagsPablo Neira Ayuso1-10/+28
2011-05-31socket: getaddrinfo(): set AI_PASSIVE if we want to bindHarald Welte1-0/+3
2011-05-29socket: remove unused IPv4 related header includesHarald Welte1-2/+0