Home
last modified time | relevance | path

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

/tools/testing/selftests/net/tcp_ao/lib/
A Dproc.c14 struct netstat { struct
16 struct netstat *next; argument
21 static struct netstat *lookup_type(struct netstat *ns, in lookup_type() argument
34 static struct netstat *lookup_get(struct netstat *ns, in lookup_get()
37 struct netstat *ret; in lookup_get()
43 ret = malloc(sizeof(struct netstat)); in lookup_get()
57 static struct netstat *lookup_get_column(struct netstat *ns, const char *line) in lookup_get_column()
145 struct netstat *netstat_read(void) in netstat_read()
147 struct netstat *ret = 0; in netstat_read()
191 struct netstat *prev = ns; in netstat_free()
[all …]
A Daolib.h639 struct netstat;
640 extern struct netstat *netstat_read(void);
641 extern void netstat_free(struct netstat *ns);
642 extern void netstat_print_diff(struct netstat *nsa, struct netstat *nsb);
643 extern uint64_t netstat_get(struct netstat *ns,
648 struct netstat *ns = netstat_read(); in netstat_get_one()
A Dsock.c413 struct netstat *ns; in test_get_tcp_counters()
/tools/testing/selftests/net/
A Dtest_vxlan_fdb_changelink.sh59 netstat -n --groups |
75 check_command netstat || return
/tools/testing/selftests/net/tcp_ao/
A Drst.c37 static void netstats_check(struct netstat *before, struct netstat *after, in netstats_check()
175 struct netstat *ns_before, *ns_after; in server_fn()
438 struct netstat *ns_before, *ns_after; in client_fn()
A Dconnect.c37 struct netstat *ns_before, *ns_after; in client_fn()
A Dself-connect.c38 struct netstat *ns_before, *ns_after; in tcp_self_connect()
A Dicmps-discard.c58 struct netstat *ns_after, *ns_before; in serve_interfered()

Completed in 14 milliseconds