Home
last modified time | relevance | path

Searched refs:sock_count (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_iter_batch.c20 struct sock_count { struct
25 static int insert(__u64 cookie, struct sock_count counts[], int counts_len) in insert() argument
47 static int read_n(int iter_fd, int n, struct sock_count counts[], in read_n()
77 static bool was_seen(int fd, struct sock_count counts[], int counts_len) in was_seen()
89 static int get_seen_socket(int *fds, struct sock_count counts[], int n) in get_seen_socket()
162 static int get_seen_count(int fd, struct sock_count counts[], int n) in get_seen_count()
176 struct sock_count counts[], int counts_len) in check_n_were_seen_once()
260 int established_socks_len, struct sock_count *counts, in remove_seen()
293 struct sock_count *counts, int counts_len, in remove_seen_established()
329 struct sock_count *counts, int counts_len, in remove_unseen()
[all …]