Home
last modified time | relevance | path

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

/third_party/lwip/test/unit/mqtt/
Dtest_mqtt.c30 for (n = netif_list; n != NULL; n = n->next) { in test_mqtt_init_netif()
36 netif_list = netif; in test_mqtt_init_netif()
46 old_netif_list = netif_list; in mqtt_setup()
48 netif_list = NULL; in mqtt_setup()
56 netif_list = NULL; in mqtt_teardown()
59 netif_list = old_netif_list; in mqtt_teardown()
/third_party/lwip/test/unit/ip4/
Dtest_ip4.c20 struct netif *input_netif = netif_list; /* just use any netif */ in create_ip4_input_fragment()
66 if (netif_list->loop_first != NULL) { in ip4_teardown()
67 pbuf_free(netif_list->loop_first); in ip4_teardown()
68 netif_list->loop_first = NULL; in ip4_teardown()
70 netif_list->loop_last = NULL; in ip4_teardown()
/third_party/lwip/src/core/ipv6/
Dip6.c103 if ((group->netif_list != NULL) && (group->netif_list->next == NULL)) {
104 if (!netif_is_up(group->netif_list) || !netif_is_link_up(group->netif_list) ||
105 (ip6_addr_has_zone(dest) && !ip6_addr_test_zone(dest, group->netif_list))) {
107 if ((netif_list != NULL) && (netif_list->next == NULL)) {
108 if (!netif_is_up(netif_list) || !netif_is_link_up(netif_list) ||
109 (ip6_addr_has_zone(dest) && !ip6_addr_test_zone(dest, netif_list))) {
114 return group->netif_list;
116 return netif_list;
/third_party/lwip/test/unit/udp/
Dtest_udp.c74 fail_unless(netif_list != NULL); /* the loopif */ in default_netif_add()
75 fail_unless(netif_list->next == NULL); in default_netif_add()
77 fail_unless(netif_list == NULL); in default_netif_add()
108 fail_unless(netif_list != NULL); /* the loopif */ in default_netif_remove()
109 fail_unless(netif_list->next == NULL); in default_netif_remove()
111 fail_unless(netif_list == NULL); in default_netif_remove()
/third_party/lwip/test/unit/ip6/
Dtest_ip6.c78 if (netif_list->loop_first != NULL) { in ip6_teardown()
79 pbuf_free(netif_list->loop_first); in ip6_teardown()
80 netif_list->loop_first = NULL; in ip6_teardown()
82 netif_list->loop_last = NULL; in ip6_teardown()
/third_party/lwip/src/core/
Dnetif.c111 struct netif *netif_list; variable
461 for (netif2 = group->netif_list; netif2 != NULL; netif2 = netif2->next) {
463 for (netif2 = netif_list; netif2 != NULL; netif2 = netif2->next) {
491 netif->next = group->netif_list;
492 group->netif_list = netif;
494 netif->next = netif_list;
495 netif_list = netif;
887 if (group->netif_list == netif) {
888 group->netif_list = netif->next;
890 if (netif_list == netif) {
[all …]
/third_party/lwip/src/include/lwip/
Dnet_group.h44 struct netif *netif_list; member
Dnetif.h416 #define NETIF_FOREACH(netif, group) for ((netif) = group->netif_list; (netif) != NULL; (netif) = (n…
419 extern struct netif *netif_list;
420 #define NETIF_FOREACH(netif) for ((netif) = netif_list; (netif) != NULL; (netif) = (netif)->next)
/third_party/lwip/test/unit/tcp/
Dtcp_helper.c312 for (n = netif_list; n != NULL; n = n->next) { in test_tcp_init_netif()
318 netif_list = netif; in test_tcp_init_netif()
Dtest_tcp_oos.c127 old_netif_list = netif_list; in tcp_oos_setup()
129 netif_list = NULL; in tcp_oos_setup()
138 netif_list = NULL; in tcp_oos_teardown()
142 netif_list = old_netif_list; in tcp_oos_teardown()
Dtest_tcp.c51 old_netif_list = netif_list; in tcp_setup()
53 netif_list = NULL; in tcp_setup()
69 netif_list = NULL; in tcp_teardown()
73 netif_list = old_netif_list; in tcp_teardown()
/third_party/lwip/
D0002-adapt-lstack.patch2223 -struct netif *netif_list;
2224 +PER_THREAD struct netif *netif_list;
4023 -extern struct netif *netif_list;
4024 +extern PER_THREAD struct netif *netif_list;
4025 #define NETIF_FOREACH(netif) for ((netif) = netif_list; (netif) != NULL; (netif) = (netif)->next)
DCHANGELOG2787 netifs on netif_list (speeds up packet receiving in most cases)