Searched refs:tcp_cnt (Results 1 – 3 of 3) sorted by relevance
/linux/samples/bpf/ |
A D | sockex1_user.c | 36 long long tcp_cnt, udp_cnt, icmp_cnt; in main() local 40 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in main() 49 tcp_cnt, udp_cnt, icmp_cnt); in main()
|
A D | sock_example.c | 38 long long value = 0, tcp_cnt, udp_cnt, icmp_cnt; in test_sock() local 80 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in test_sock() 89 tcp_cnt, udp_cnt, icmp_cnt); in test_sock()
|
/linux/net/ipv4/ |
A D | proc.c | 470 const int tcp_cnt = ARRAY_SIZE(snmp4_net_list) - 1; in netstat_seq_show() local 476 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show() 480 buff = kzalloc(max(tcp_cnt * sizeof(long), ip_cnt * sizeof(u64)), in netstat_seq_show() 485 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show() 488 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()
|
Completed in 13 milliseconds