aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.c
AgeCommit message (Expand)AuthorFilesLines
9 daysadd osmo_sockaddr_to_str_buf/osmo_sockaddr_to_strAlexander Couzens1-0/+62
12 dayssocket: make the arguments of osmo_sockaddr_cmp() constVadim Yanitskiy1-1/+2
2020-09-07add osmo_sockaddr_local_ip() to determine the local address for a remote.Alexander Couzens1-0/+23
2020-09-02socket: add osmo_sockaddr_cmp()Alexander Couzens1-0/+29
2020-09-02socket: introduce osmo_sock_init_osa & osmo_sock_init_osa_ofdAlexander Couzens1-0/+159
2020-08-31socket: Fix bug in osmo_sock_init2(AF_UNSPEC) matching IP versionsPau Espin Pedrol1-13/+21
2020-08-31socket: Add some osmo_sockaddr print helpersPau Espin Pedrol1-0/+32
2020-08-31socket: fix wrong ipv6 dst buf size passed in osmo_sock_local_ipPau Espin Pedrol1-1/+1
2020-08-31socket: Fix stack-buffer-overflow in osmo_sock_local_ip()Pau Espin Pedrol1-6/+17
2020-08-31socket: Use AF_UNSPEC instead of PF_UNSPEC calling getaddrinfoPau Espin Pedrol1-1/+1
2020-08-31socket: Add support for AF_INET6 in osmo_sockaddr_to_str_and_uint()Pau Espin Pedrol1-2/+15
2020-08-30socket: Allow binding to :: (IPv6) and connecting to IPv4-only on the remotePau Espin Pedrol1-0/+17
2020-08-25socker: Remove AI_ADDRCONFIG from getaddrinfo flagsPau Espin Pedrol1-1/+1
2020-08-25osmo_sock_inti2_multiaddr: Fix memleak and free uninitialized memPau Espin Pedrol1-6/+13
2020-08-24osmo_sock_get_ip_and_port(): Support IPv6 socketsPau Espin Pedrol1-3/+3
2020-08-24socket: Log proper getaddrinfo() errorPau Espin Pedrol1-6/+3
2020-08-24socket: multiaddr: Support IPv4 + IPv6 addresses in SCTP associationsPau Espin Pedrol1-65/+86
2020-08-24sock: osmo_sock_init2_multiaddr: decouple addr resolution from socket creationPau Espin Pedrol1-46/+43
2020-08-06osmo_sock_init2: improve support for AF_UNSPECAlexander Couzens1-14/+78
2020-07-28socket: osmo_sock_local_ip: correct doxygen commentAlexander Couzens1-1/+0
2020-03-10socket: Add osmo_sock_mcast_iface_set() to bind multicast to deviceHarald Welte1-0/+22
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