path: root/src/socket.c
AgeCommit message (Expand)AuthorFilesLines
10 dayssocket, select: Fix -Wsign-compare warningsHarald Welte1-4/+5
2021-12-14treewide: remove FSF addressOliver Smith1-4/+0
2021-10-06gsmtap: allow 127.0.0.x local listenersEric1-0/+22
2021-07-16Make gcc 11.1.0 false positivies happyPau Espin Pedrol1-1/+3
2021-05-08osmo_sock_*_ofd(): Mark OSMO_FD_WRITE on non-blocking connect()Harald Welte1-5/+14
2021-04-28socket: IPv6 support for osmo_sock_set_dscp()Harald Welte1-7/+36
2021-04-28socket: QoS support for all our socket init functionsHarald Welte1-1/+21
2021-04-28socket: reduce code duplication, introduce socket_helper_tail()Harald Welte1-39/+38
2021-04-27socket: Introduce osmo_sock_set_priority() helper functionHarald Welte1-0/+8
2021-04-27socket: Introduce osmo_sock_set_dscp() to set socket DSCP valueHarald Welte1-0/+26
2020-10-12add osmo_sockaddr_to_str_buf/osmo_sockaddr_to_strAlexander Couzens1-0/+62
2020-10-09socket: 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