Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/bpf/
A Dsockex1_user.c45 long long tcp_cnt, udp_cnt, icmp_cnt; in main() local
49 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in main()
58 tcp_cnt, udp_cnt, icmp_cnt); in main()
A Dsock_example.c39 long long value = 0, tcp_cnt, udp_cnt, icmp_cnt; in test_sock() local
85 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in test_sock()
94 tcp_cnt, udp_cnt, icmp_cnt); in test_sock()
/linux-6.3-rc2/net/ipv4/
A Dproc.c473 const int tcp_cnt = ARRAY_SIZE(snmp4_net_list) - 1; in netstat_seq_show() local
479 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()
483 buff = kzalloc(max(tcp_cnt * sizeof(long), ip_cnt * sizeof(u64)), in netstat_seq_show()
488 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()
491 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()

Completed in 4 milliseconds