index
:
passt
Plug A Simple Socket Transport
about
git
code
bugs
lists
chat
path:
root
/
util.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
util: Remove possible quadratic behaviour from write_remainder()
David Gibson
2024-09-18
1
-10
/
+17
*
util: Add helper to write() all of a buffer
David Gibson
2024-09-18
1
-0
/
+25
*
util: Fix order of operands and carry of one second in timespec_diff_us()
Stefano Brivio
2024-09-06
1
-1
/
+1
*
util: Don't stop on unrelated values when looking for --fd in close_open_files()
Stefano Brivio
2024-08-21
1
-1
/
+1
*
util: Correct sock_l4() binding for link local addresses
David Gibson
2024-08-21
1
-2
/
+1
*
util: Helper for formatting MAC addresses
David Gibson
2024-08-21
1
-0
/
+19
*
conf: Stop parsing options at first non-option argument
Stefano Brivio
2024-08-08
1
-1
/
+1
*
passt, util: Close any open file that the parent might have leaked
Stefano Brivio
2024-08-08
1
-0
/
+41
*
util: Some corrections for timespec_diff_us
David Gibson
2024-08-07
1
-2
/
+2
*
util: Use unsigned (size_t) value for iov length
David Gibson
2024-08-06
1
-3
/
+2
*
log, util: Fix sub-second part in relative log time calculation
Stefano Brivio
2024-07-26
1
-7
/
+18
*
udp: Rename UDP listening sockets
David Gibson
2024-07-19
1
-1
/
+1
*
udp: Handle "spliced" datagrams with per-flow sockets
David Gibson
2024-07-19
1
-0
/
+1
*
flow: Helper to create sockets based on flowside
David Gibson
2024-07-19
1
-3
/
+3
*
udp: Handle errors on UDP sockets
David Gibson
2024-07-17
1
-0
/
+29
*
util: Add AF_UNSPEC support to sockaddr_ntop()
David Gibson
2024-07-17
1
-0
/
+4
*
util: sock_l4() determine protocol from epoll type rather than the reverse
David Gibson
2024-07-05
1
-22
/
+26
*
treewide: Replace strerror() calls
Stefano Brivio
2024-06-21
1
-7
/
+5
*
util: Split construction of bind socket address from the rest of sock_l4()
David Gibson
2024-06-14
1
-53
/
+70
*
util: Use 'long' to represent millisecond durations
David Gibson
2024-06-07
1
-1
/
+1
*
util: Use unsigned indices for bits in bitmaps
David Gibson
2024-06-07
1
-4
/
+4
*
passt, util: Move opening of PID file to its own function
Stefano Brivio
2024-05-23
1
-0
/
+22
*
util: Rename write_pidfile() to pidfile_write()
Stefano Brivio
2024-05-23
1
-3
/
+3
*
util, tcp: Add helper to display socket addresses
David Gibson
2024-05-22
1
-0
/
+56
*
util: fix confusion between offset in the iovec array and in the entry
2024_03_20.71dd405
Laurent Vivier
2024-03-20
1
-4
/
+5
*
icmp: Use 'flowside' epoll references for ping sockets
David Gibson
2024-03-12
1
-3
/
+1
*
util: move IP stuff from util.[ch] to ip.[ch]
Laurent Vivier
2024-03-06
1
-55
/
+0
*
util: Add write_remainder() helper
David Gibson
2024-02-29
1
-0
/
+35
*
treewide: Use sa_family_t for address family variables
David Gibson
2024-02-27
1
-1
/
+1
*
treewide: Make a bunch of pointer variables pointers to const
David Gibson
2024-01-16
1
-2
/
+2
*
util: Make sock_l4() treat empty string ifname like NULL
David Gibson
2023-12-27
1
-1
/
+1
*
treewide: Avoid in_addr_t
David Gibson
2023-12-27
1
-1
/
+1
*
util: Drop explicit setting to INADDR_ANY/in6addr_any in sock_l4()
David Gibson
2023-12-27
1
-4
/
+0
*
port_fwd, util: Don't bind UDP ports with opposite-side bound TCP ports
Stefano Brivio
2023-11-22
1
-0
/
+21
*
util: Add open_in_ns() helper
David Gibson
2023-11-07
1
-0
/
+53
*
port_fwd: Move automatic port forwarding code to port_fwd.[ch]
David Gibson
2023-11-07
1
-64
/
+1
*
cppcheck: Make many pointers const
David Gibson
2023-10-04
1
-2
/
+3
*
Avoid shadowing index(3)
David Gibson
2023-09-27
1
-6
/
+6
*
epoll: Split handling of listening TCP sockets into their own handler
David Gibson
2023-08-13
1
-1
/
+1
*
epoll: Generalize epoll_ref to cover things other than sockets
David Gibson
2023-08-13
1
-7
/
+20
*
util: Make ns_enter() a void function and report setns() errors
David Gibson
2023-08-04
1
-5
/
+3
*
Use C11 anonymous members to make poll refs less verbose to use
David Gibson
2023-08-04
1
-2
/
+2
*
util, conf: Add and use ns_is_init() helper
Stefano Brivio
2023-05-23
1
-0
/
+25
*
passt: Relicense to GPL 2.0, or any later version
Stefano Brivio
2023-04-06
1
-1
/
+1
*
tcp, udp, util: Pass socket creation errors all the way up
Stefano Brivio
2023-03-09
1
-13
/
+18
*
treewide: Fix header includes to build with musl
Chris Kuhn
2023-03-09
1
-0
/
+1
*
util: Add own prototype for __clone2() on ia64
2023_02_27.c538ee8
Stefano Brivio
2023-02-27
1
-0
/
+9
*
Make assertions actually useful
David Gibson
2023-02-12
1
-1
/
+0
*
util: Always return -1 on error in sock_l4()
David Gibson
2022-11-25
1
-1
/
+1
*
util: Allow sock_l4() to open dual stack sockets
David Gibson
2022-11-25
1
-2
/
+15
[next]