Home
last modified time | relevance | path

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

/third_party/lwip/test/unit/tcp/
Dtest_tcp.c105 struct test_tcp_txcounters txcounters; in START_TEST() local
114 test_tcp_init_netif(&netif, &txcounters, &test_local_ip, &test_netmask); in START_TEST()
137 EXPECT(txcounters.num_tx_calls == 1); in START_TEST()
151 EXPECT(txcounters.num_tx_calls == 1); in START_TEST()
167 struct test_tcp_txcounters txcounters; in START_TEST() local
171 test_tcp_init_netif(&netif, &txcounters, &test_local_ip, &test_netmask); in START_TEST()
213 struct test_tcp_txcounters txcounters; in START_TEST() local
218 test_tcp_init_netif(&netif, &txcounters, &test_local_ip, &test_netmask); in START_TEST()
305 struct test_tcp_txcounters txcounters; in START_TEST() local
309 test_tcp_init_netif(&netif, &txcounters, &test_local_ip, &test_netmask); in START_TEST()
[all …]
Dtcp_helper.c277 struct test_tcp_txcounters *txcounters = (struct test_tcp_txcounters*)netif->state; in test_tcp_netif_output() local
279 if (txcounters != NULL) in test_tcp_netif_output()
281 txcounters->num_tx_calls++; in test_tcp_netif_output()
282 txcounters->num_tx_bytes += p->tot_len; in test_tcp_netif_output()
283 if (txcounters->copy_tx_packets) { in test_tcp_netif_output()
289 if (txcounters->tx_packets == NULL) { in test_tcp_netif_output()
290 txcounters->tx_packets = p_copy; in test_tcp_netif_output()
292 pbuf_cat(txcounters->tx_packets, p_copy); in test_tcp_netif_output()
299 void test_tcp_init_netif(struct netif *netif, struct test_tcp_txcounters *txcounters, in test_tcp_init_netif() argument
304 if (txcounters != NULL) { in test_tcp_init_netif()
[all …]
Dtcp_helper.h54 void test_tcp_init_netif(struct netif *netif, struct test_tcp_txcounters *txcounters,