Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
libosmocore
/
2ba641edaaba0233f5b14ba85f48924f0333512d
/
src
/
socket.c
b20d852
socket: osmo_sock_local_ip: correct doxygen comment
by Alexander Couzens
· 4 years, 2 months ago
44b9926
socket: Add osmo_sock_mcast_iface_set() to bind multicast to device
by Harald Welte
· 4 years, 6 months ago
8fac511
socket.c: build multiaddr socket API helpers only if used by public APIs
by Pau Espin Pedrol
· 4 years, 11 months ago
272dfc1
socket: Remove unneeded condition check in osmo_sock_init2_multiaddr()
by Pau Espin Pedrol
· 5 years ago
3f464fc
socket: Introduce API osmo_sock_init2_multiaddr()
by Pau Espin Pedrol
· 5 years ago
ff42852
socket.c: Move glibc workarounds to same place in addrinfo_helper()
by Pau Espin Pedrol
· 5 years ago
eb5769b
tell ubsan to ignore SUN_LEN
by Eric Wild
· 5 years ago
171ef82
make all library-internal static buffers thread-local
by Harald Welte
· 5 years ago
b606d76
socket.c: fix Doxygen doc for osmo_sock_unix_init_ofd()
by Vadim Yanitskiy
· 5 years ago
ea9ea52
osmo_sock_get_name_*: Ensure string is returned in error case
by Harald Welte
· 5 years ago
4f619c2
Fix incorrect buffer size calculation
by Vadim Yanitskiy
· 5 years ago
179f357
Add _c versions of functions that otherwise return static buffers
by Harald Welte
· 5 years ago
1688699
select: Rename BSC_FD_* constants to OSMO_FD_*
by Harald Welte
· 5 years ago
c0dfc9d
socket: osmo_sock_get_name() Use "const void *" as talloc context
by Harald Welte
· 5 years ago
64b51eb
socket: add define for socket name length
by Philipp Maier
· 6 years ago
0145751
add to osmo_sock_get_name*() API
by Neels Hofmeyr
· 6 years ago
9d7a247
Add osmo_sockaddr_in_to_str_and_uint()
by Max
· 6 years ago
860651e
socket.c: fix IP and port buffer sizes
by Oliver Smith
· 6 years ago
7acd5d0
add osmo_sock_get_{local,remote}_ip{,_port}()
by Oliver Smith
· 6 years ago
e74f49d
cosmetic: fix typo (soocket -> socket)
by Oliver Smith
· 6 years ago
6afb3f5
ensure unix socket paths are NUL-terminated for bind/connect
by Stefan Sperling
· 6 years ago
896ff6d
Properly deal with sockaddr_un socket path length limitations.
by Stefan Sperling
· 6 years ago
73196e7
socket: add flag to enforce SO_REUSEADDR on UDP sockets
by Philipp Maier
· 6 years ago
99f706d
socket: do not set SO_REUSEADDR for IPPROTO_UDP
by Philipp Maier
· 6 years ago
0659c5d
socket: check return code of setsockopt
by Philipp Maier
· 6 years ago
1cea7b5
fix strncpy bugs in socket.c
by Neels Hofmeyr
· 6 years ago
59f4caf
add osmo_sockaddr_to_str_and_uint()
by Neels Hofmeyr
· 6 years ago
15753e9
osmo_sockaddr_is_local: Fix memleak
by Pau Espin Pedrol
· 6 years ago
3a32147
socket.c: osmo_sock_init: Several logic fixes and log improvements
by Pau Espin Pedrol
· 6 years ago
27cf8df
socket.c: osmo_sock_init2: connect: Several logic fixes and log improvements
by Pau Espin Pedrol
· 6 years ago
5d50fa5
socket.c: osmo_sock_init2: bind: Several logic fixes and log improvements
by Pau Espin Pedrol
· 6 years ago
91cfda8
socket: use inet_ntop() instead of inet_ntoa() in osmo_sock_local_ip()
by Philipp Maier
· 7 years ago
8b7975b
socket: fix socket leak in osmo_sock_local_ip()
by Philipp Maier
· 7 years ago
e08da97
Fix/Update copyright notices; Add SPDX annotation
by Harald Welte
· 7 years ago
2d2490e
socket: add function osmo_sock_local_ip() to query local ip
by Philipp Maier
· 7 years ago
5cfa6dc
osmo_sock_init2(): Fix creation of non-bound sockets
by Harald Welte
· 7 years ago
37d204a
socket: Add new OSMO_SOCK_F_NO_MCAST_ALL option
by Harald Welte
· 7 years ago
bc43a62
socket: Allow disabling multicast loop on socket creation
by Harald Welte
· 7 years ago
c47bbda
socket: Unify listen() calls and check for erroneous returns
by Harald Welte
· 7 years ago
e30d7e6
socket.c: Add multicast related convenience functions
by Harald Welte
· 7 years ago
1f82d0a
osmo_sock_get_name(): clearly indicate local and remote
by Neels Hofmeyr
· 7 years ago
17518fe
doxygen: unify use of \file across the board
by Neels Hofmeyr
· 7 years ago
87e4550
doxygen: enable AUTOBRIEF, drop \brief
by Neels Hofmeyr
· 7 years ago
96e2a00
update/extend doxygen documentation
by Harald Welte
· 7 years ago
75989e6
socket: Add osmo_sock_init2_ofd() function
by Pau Espin Pedrol
· 7 years ago
dda70fc
Add osmo_sock_init2() function, allowing both BIND *and* CONNECT
by Harald Welte
· 7 years ago
6f0f560
cosmetic: replace fprintf with LOGP
by Philipp Maier
· 8 years ago
48f5583
socket: Introduce function to obtain socket name
by Harald Welte
· 8 years ago
0fc315d
osmo_sock_init(): Fix memory leak in error path
by Harald Welte
· 8 years ago
b7f191f
fix printf format for commit 'osmo_sock_init(): include host and port in error messages'
by Neels Hofmeyr
· 8 years ago
f0f07d9
osmo_sock_init(): include host and port in error messages
by Neels Hofmeyr
· 8 years ago
2d2e2cc
Update doxygen annotations in libosmocore
by Harald Welte
· 8 years ago
862ba65
Move common socket routine into separate function
by Max
· 10 years ago
468b643
add missing copyright statements to source code files
by Harald Welte
· 10 years ago
5ade61a
src/socket: Adding unix domain socket support
by Álvaro Neira Ayuso
· 10 years ago
c28c6a0
misc: Doxygen tweaks: fixed some typos and minor errors
by Katerina Barone-Adesi
· 12 years ago
e04a14d
socket: fix osmo_sock_init with SOCK_RAW and IPPROTO_RAW
by Pablo Neira Ayuso
· 12 years ago
dca7d2c
doc: Fix the Doxygen section endings
by Sylvain Munaut
· 12 years ago
bc32d05
sync prototype of osmo_sockaddr_is_local with declaration
by Harald Welte
· 12 years ago
4772348
freebsd: Fixes for the compilation of libosmocore on FreeBSD
by Holger Hans Peter Freyther
· 13 years ago
ba6988b
some more doxygen work (include the notion of modules)
by Harald Welte
· 13 years ago
0849c9a
socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flags
by Pablo Neira Ayuso
· 13 years ago
f9e0746
socket: getaddrinfo(): set AI_PASSIVE if we want to bind
by Harald Welte
· 13 years ago
08de66d
socket: remove unused IPv4 related header includes
by Harald Welte
· 13 years ago
4d3a7b1
socket: Skip ifa's without ifa->ifa_addr
by Harald Welte
· 13 years ago
68b1574
socket: use listen() and SO_REUSEADDR, new osmo_sock_init_ofd() function
by Harald Welte
· 13 years ago
8265939
remove debug printf from socket.c
by Harald Welte
· 13 years ago
e476442
GSMTAP/socket code: Check for sys/socket.h and conditionally compile
by Harald Welte
· 13 years ago
33cb71a
gsmtap: rework GSMTAP API to be more future-proof
by Harald Welte
· 13 years ago
0.3.1