Home
last modified time | relevance | path

Searched refs:netif (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/components/net/lwip/lwip-2.0.3/src/core/
A Dnetif.c248 netif_add(struct netif *netif, in netif_add() argument
384 netif_remove(struct netif *netif) in netif_remove() argument
465 netif->remove_callback(netif); in netif_remove()
481 struct netif *netif; in netif_find() local
490 for (netif = netif_list; netif != NULL; netif = netif->next) { in netif_find()
637 netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); in netif_set_default()
646 netif_set_up(struct netif *netif) in netif_set_up() argument
854 struct netif *stats_if = netif; in netif_loop_output()
949 netif_poll(struct netif *netif) in netif_poll() argument
957 struct netif *stats_if = netif; in netif_poll()
[all …]
/components/net/lwip/lwip-1.4.1/src/core/
A Dnetif.c98 netif_loopif_init(struct netif *netif) in netif_loopif_init() argument
242 netif_remove(struct netif *netif) in netif_remove() argument
284 netif->remove_callback(netif); in netif_remove()
299 struct netif *netif; in netif_find() local
308 for(netif = netif_list; netif != NULL; netif = netif->next) { in netif_find()
379 netif->name[0], netif->name[1], in netif_set_ipaddr()
463 netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); in netif_set_default()
667 struct netif *stats_if = netif; in netif_loop_output()
740 netif_poll(struct netif *netif) in netif_poll() argument
749 struct netif *stats_if = netif; in netif_poll()
[all …]
A Ddhcp.c201 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_nak()
225 dhcp_check(struct netif *netif) in dhcp_check() argument
256 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_offer()
283 dhcp_select(struct netif *netif) in dhcp_select() argument
358 netif = netif->next; in dhcp_coarse_tmr()
389 netif = netif->next; in dhcp_fine_tmr()
402 dhcp_timeout(struct netif *netif) in dhcp_timeout() argument
629 dhcp_start(struct netif *netif) in dhcp_start() argument
927 dhcp_bind(struct netif *netif) in dhcp_bind() argument
1220 dhcp_stop(struct netif *netif) in dhcp_stop() argument
[all …]
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dnetif.h163 typedef err_t (*netif_init_fn)(struct netif *netif);
367 struct netif *netif_add(struct netif *netif,
376 void netif_remove(struct netif * netif);
384 void netif_set_default(struct netif *netif);
404 void netif_set_up(struct netif *netif);
405 void netif_set_down(struct netif *netif);
418 void netif_set_link_up(struct netif *netif);
419 void netif_set_link_down(struct netif *netif);
431 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument
444 …define netif_mld_mac_filter(netif, addr, action) do { if((netif) && (netif)->mld_mac_filter) { (ne… argument
[all …]
A Ddhcp.h109 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
111 #define dhcp_remove_struct(netif) netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, N… argument
112 void dhcp_cleanup(struct netif *netif);
113 err_t dhcp_start(struct netif *netif);
114 err_t dhcp_renew(struct netif *netif);
115 err_t dhcp_release(struct netif *netif);
116 void dhcp_stop(struct netif *netif);
117 void dhcp_inform(struct netif *netif);
118 void dhcp_network_changed(struct netif *netif);
120 void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr);
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dnetif.h408 #define NETIF_FOREACH(netif) for ((netif) = netif_list; (netif) != NULL; (netif) = (netif)->next) argument
418 struct netif *netif_add(struct netif *netif,
426 void netif_remove(struct netif * netif);
434 void netif_set_default(struct netif *netif);
458 void netif_set_up(struct netif *netif);
459 void netif_set_down(struct netif *netif);
472 void netif_set_link_up(struct netif *netif);
485 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument
503 void netif_poll(struct netif *netif);
539 #define netif_mtu6(netif) ((netif)->mtu6) argument
[all …]
A Ddhcp.h104 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
107 void dhcp_cleanup(struct netif *netif);
108 err_t dhcp_start(struct netif *netif);
109 err_t dhcp_renew(struct netif *netif);
110 err_t dhcp_release(struct netif *netif);
111 void dhcp_stop(struct netif *netif);
112 void dhcp_release_and_stop(struct netif *netif);
113 void dhcp_inform(struct netif *netif);
114 void dhcp_network_changed(struct netif *netif);
116 void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr);
[all …]
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dautoip.c150 autoip_restart(struct netif *netif) in autoip_restart() argument
229 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() argument
242 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() argument
255 autoip_bind(struct netif *netif) in autoip_bind() argument
262 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind()
285 autoip_start(struct netif *netif) in autoip_start() argument
303 netif->name[1], (u16_t)netif->num)); in autoip_start()
333 autoip_start_probing(struct netif *netif) in autoip_start_probing() argument
381 autoip_stop(struct netif *netif) in autoip_stop() argument
394 struct netif *netif = netif_list; in autoip_tmr() local
[all …]
/components/net/lwip/lwip-2.1.2/src/core/
A Dnetif.c158 netif_loopif_init(struct netif *netif) in netif_loopif_init() argument
283 netif_add(struct netif *netif, in netif_add() argument
384 netif->mtu6 = netif->mtu; in netif_add()
762 netif_remove(struct netif *netif) in netif_remove() argument
860 netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); in netif_set_default()
869 netif_set_up(struct netif *netif) in netif_set_up() argument
1136 struct netif *stats_if = netif; in netif_loop_output()
1243 netif_poll(struct netif *netif) in netif_poll() argument
1315 struct netif *netif; in netif_poll_all() local
1732 struct netif *netif; in netif_get_by_index() local
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dnetif.h110 typedef err_t (*netif_init_fn)(struct netif *netif);
267 struct netif *netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
273 void netif_remove(struct netif * netif);
281 void netif_set_default(struct netif *netif);
285 void netif_set_gw(struct netif *netif, ip_addr_t *gw);
287 void netif_set_up(struct netif *netif);
288 void netif_set_down(struct netif *netif);
299 void netif_set_link_up(struct netif *netif);
300 void netif_set_link_down(struct netif *netif);
310 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument
[all …]
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dautoip.c124 autoip_restart(struct netif *netif) in autoip_restart() argument
203 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() argument
216 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() argument
227 autoip_bind(struct netif *netif) in autoip_bind() argument
234 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind()
254 autoip_start(struct netif *netif) in autoip_start() argument
268 netif->name[1], (u16_t)netif->num)); in autoip_start()
298 autoip_start_probing(struct netif *netif) in autoip_start_probing() argument
348 autoip_stop(struct netif *netif) in autoip_stop() argument
367 struct netif *netif = netif_list; in autoip_tmr() local
[all …]
A Digmp.c128 igmp_start(struct netif *netif) in igmp_start() argument
160 igmp_stop(struct netif *netif) in igmp_stop() argument
192 igmp_report_groups(struct netif *netif) in igmp_report_groups() argument
295 igmp_remove_group(struct netif* netif, struct igmp_group *group) in igmp_remove_group() argument
452 struct netif *netif; in igmp_joingroup() local
471 netif = netif->next; in igmp_joingroup()
548 struct netif *netif; in igmp_leavegroup() local
566 netif = netif->next; in igmp_leavegroup()
641 struct netif *netif = netif_list; in igmp_tmr() local
655 netif = netif->next; in igmp_tmr()
[all …]
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dautoip.c125 autoip_restart(struct netif *netif) in autoip_restart() argument
136 autoip_handle_arp_conflict(struct netif *netif) in autoip_handle_arp_conflict() argument
204 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() argument
217 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() argument
228 autoip_bind(struct netif *netif) in autoip_bind() argument
235 (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind()
255 autoip_start(struct netif *netif) in autoip_start() argument
299 autoip_start_probing(struct netif *netif) in autoip_start_probing() argument
333 autoip_network_changed(struct netif *netif) in autoip_network_changed() argument
349 autoip_stop(struct netif *netif) in autoip_stop() argument
[all …]
/components/net/lwip/lwip-2.0.3/doc/
A DNO_SYS_SampleCode.c22 netif_output(struct netif *netif, struct pbuf *p) in netif_output() argument
44 netif_status_callback(struct netif *netif) in netif_status_callback() argument
50 netif_init(struct netif *netif) in netif_init() argument
59 SMEMCPY(netif->hwaddr, your_mac_address_goes_here, sizeof(netif->hwaddr)); in netif_init()
60 netif->hwaddr_len = sizeof(netif->hwaddr); in netif_init()
68 struct netif netif; in main() local
73 netif.name[0] = 'e'; in main()
74 netif.name[1] = '0'; in main()
79 netif_set_up(&netif); in main()
82 dhcp_start(&netif ); in main()
[all …]
/components/net/lwip/lwip-2.1.2/doc/
A DNO_SYS_SampleCode.c22 netif_output(struct netif *netif, struct pbuf *p) in netif_output() argument
44 netif_status_callback(struct netif *netif) in netif_status_callback() argument
50 netif_init(struct netif *netif) in netif_init() argument
52 netif->linkoutput = netif_output; in netif_init()
68 struct netif netif; in main() local
73 netif.name[0] = 'e'; in main()
74 netif.name[1] = '0'; in main()
78 netif_set_default(&netif); in main()
79 netif_set_up(&netif); in main()
82 dhcp_start(&netif ); in main()
[all …]
/components/net/lwip/port/
A Dethernetif.c95 struct netif *netif; member
459 msg.netif = netif; in ethernetif_linkoutput()
568 struct netif* netif; in eth_device_init_with_flag() local
573 netif = (struct netif*) rt_calloc (1, sizeof(struct netif)); in eth_device_init_with_flag()
583 dev->netif = netif; in eth_device_init_with_flag()
652 struct netif* netif = dev->netif; in eth_device_deinit() local
751 struct netif* netif; in af_unix_eth_device_init_with_flag() local
765 dev->netif = netif; in af_unix_eth_device_init_with_flag()
1042 netif = netif->next; in set_if()
1097 struct netif * netif; in list_if() local
[all …]
/components/net/lwip/lwip-2.0.3/src/core/ipv6/
A Dmld6.c91 mld6_stop(struct netif *netif) in mld6_stop() argument
120 mld6_report_groups(struct netif *netif) in mld6_report_groups() argument
189 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group() argument
307 struct netif *netif; in mld6_joingroup() local
322 netif = netif->next; in mld6_joingroup()
353 netif->mld_mac_filter(netif, groupaddr, NETIF_ADD_MAC_FILTER); in mld6_joingroup_netif()
380 struct netif *netif; in mld6_leavegroup() local
395 netif = netif->next; in mld6_leavegroup()
459 struct netif *netif = netif_list; in mld6_tmr() local
478 netif = netif->next; in mld6_tmr()
[all …]
A Dip6.c86 struct netif *netif; in ip6_route() local
109 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route()
138 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route()
158 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route()
179 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route()
291 struct netif *netif; in ip6_forward() local
394 struct netif *netif; in ip6_input() local
533 netif = netif->next; in ip6_input()
541 netif ? netif->name[0] : 'X', netif? netif->name[1] : 'X')); in ip6_input()
941 struct netif *netif; in ip6_output() local
[all …]
/components/net/lwip/lwip-2.0.3/src/netif/
A Dslipif.c116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output() argument
207 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte() argument
310 slipif_rxbyte_input(struct netif *netif, u8_t c) in slipif_rxbyte_input() argument
315 if (netif->input(p, netif) != ERR_OK) { in slipif_rxbyte_input()
333 struct netif *netif = (struct netif *)nf; in slipif_loop_thread() local
361 slipif_init(struct netif *netif) in slipif_init() argument
427 slipif_poll(struct netif *netif) in slipif_poll() argument
449 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue() argument
474 if (netif->input(p, netif) != ERR_OK) { in slipif_process_rxqueue()
487 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue() argument
[all …]
/components/net/lwip/lwip-2.1.2/src/netif/
A Dslipif.c116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output() argument
207 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte() argument
310 slipif_rxbyte_input(struct netif *netif, u8_t c) in slipif_rxbyte_input() argument
315 if (netif->input(p, netif) != ERR_OK) { in slipif_rxbyte_input()
333 struct netif *netif = (struct netif *)nf; in slipif_loop_thread() local
360 slipif_init(struct netif *netif) in slipif_init() argument
426 slipif_poll(struct netif *netif) in slipif_poll() argument
449 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue() argument
474 if (netif->input(p, netif) != ERR_OK) { in slipif_process_rxqueue()
488 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue() argument
[all …]
/components/net/lwip/lwip-1.4.1/src/netif/
A Dslipif.c170 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte() argument
267 slipif_rxbyte_input(struct netif *netif, u8_t c) in slipif_rxbyte_input() argument
272 if (netif->input(p, netif) != ERR_OK) { in slipif_rxbyte_input()
290 struct netif *netif = (struct netif *)nf; in slipif_loop_thread() local
318 slipif_init(struct netif *netif) in slipif_init() argument
380 slipif_poll(struct netif *netif) in slipif_poll() argument
402 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue() argument
427 if (netif->input(p, netif) != ERR_OK) { in slipif_process_rxqueue()
440 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue() argument
479 slipif_received_byte(struct netif *netif, u8_t data) in slipif_received_byte() argument
[all …]
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Dmld6.c96 mld6_stop(struct netif *netif) in mld6_stop() argument
125 mld6_report_groups(struct netif *netif) in mld6_report_groups() argument
194 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group() argument
318 struct netif *netif; in mld6_joingroup() local
347 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_joingroup_netif() argument
377 netif->mld_mac_filter(netif, groupaddr, NETIF_ADD_MAC_FILTER); in mld6_joingroup_netif()
407 struct netif *netif; in mld6_leavegroup() local
437 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_leavegroup_netif() argument
470 netif->mld_mac_filter(netif, groupaddr, NETIF_DEL_MAC_FILTER); in mld6_leavegroup_netif()
498 struct netif *netif; in mld6_tmr() local
[all …]
/components/net/lwip/lwip-2.0.3/test/fuzz/
A Dfuzz.c44 static err_t lwip_tx_func(struct netif *netif, struct pbuf *p) in lwip_tx_func() argument
46 LWIP_UNUSED_ARG(netif); in lwip_tx_func()
51 static err_t testif_init(struct netif *netif) in testif_init() argument
53 netif->name[0] = 'f'; in testif_init()
54 netif->name[1] = 'z'; in testif_init()
57 netif->mtu = 1500; in testif_init()
58 netif->hwaddr_len = 6; in testif_init()
61 netif->hwaddr[0] = 0x00; in testif_init()
78 static void input_pkt(struct netif *netif, const u8_t *data, size_t len) in input_pkt() argument
90 err = netif->input(p, netif); in input_pkt()
[all …]
/components/net/lwip/lwip-2.0.3/src/apps/snmp/
A Dsnmp_mib2_interfaces.c68 struct netif *netif = netif_list; in interfaces_get_value() local
71 netif = netif->next; in interfaces_get_value()
99 struct netif *netif; in interfaces_Table_get_cell_instance() local
112 netif = netif_list; in interfaces_Table_get_cell_instance()
113 while (netif != NULL) { in interfaces_Table_get_cell_instance()
119 netif = netif->next; in interfaces_Table_get_cell_instance()
129 struct netif *netif; in interfaces_Table_get_next_cell_instance() local
139 netif = netif_list; in interfaces_Table_get_next_cell_instance()
147 netif = netif->next; in interfaces_Table_get_next_cell_instance()
165 struct netif *netif = (struct netif*)instance->reference.ptr; in interfaces_Table_get_value() local
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/apps/
A Dmdns.h70 typedef void (*mdns_name_result_cb_t)(struct netif* netif, u8_t result);
76 err_t mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl);
77 err_t mdns_resp_remove_netif(struct netif *netif);
78 err_t mdns_resp_rename_netif(struct netif *netif, const char *hostname);
80 s8_t mdns_resp_add_service(struct netif *netif, const char *name, const char *service, enum mdns_s…
81 err_t mdns_resp_del_service(struct netif *netif, s8_t slot);
82 err_t mdns_resp_rename_service(struct netif *netif, s8_t slot, const char *name);
86 void mdns_resp_restart(struct netif *netif);
87 void mdns_resp_announce(struct netif *netif);
97 #define mdns_resp_netif_settings_changed(netif) mdns_resp_announce(netif) argument

Completed in 60 milliseconds

12345678910>>...12