mirror of
https://passt.top/passt
synced 2025-06-19 13:35:34 +02:00
tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket too
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
eef4e82903
commit
d4d61480b6
7 changed files with 49 additions and 40 deletions
4
tcp.h
4
tcp.h
|
@ -51,8 +51,6 @@ union tcp_epoll_ref {
|
|||
* @pipe_size: Size of pipes for spliced connections
|
||||
* @refill_ts: Time of last refill operation for pools of sockets/pipes
|
||||
* @port_detect_ts: Time of last TCP port detection/rebind, if enabled
|
||||
* @low_wmem: Low probed net.core.wmem_max
|
||||
* @low_rmem: Low probed net.core.rmem_max
|
||||
*/
|
||||
struct tcp_ctx {
|
||||
uint64_t hash_secret[2];
|
||||
|
@ -67,8 +65,6 @@ struct tcp_ctx {
|
|||
size_t pipe_size;
|
||||
struct timespec refill_ts;
|
||||
struct timespec port_detect_ts;
|
||||
int low_wmem;
|
||||
int low_rmem;
|
||||
};
|
||||
|
||||
#endif /* TCP_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue