/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | netif.c | 244 netif_add(struct netif *netif, in netif_add() argument 390 netif_remove(struct netif *netif) in netif_remove() argument 471 netif->remove_callback(netif); in netif_remove() 487 struct netif *netif; in netif_find() local 496 for (netif = netif_list; netif != NULL; netif = netif->next) { in netif_find() 511 struct netif *netif; in netif_find_by_index() local 645 netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); in netif_set_default() 654 netif_set_up(struct netif *netif) in netif_set_up() argument 842 struct netif *stats_if = netif; in netif_loop_output() 935 netif_poll(struct netif *netif) in netif_poll() argument [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | netif.h | 366 struct netif *netif_add(struct netif *netif, 375 void netif_remove(struct netif * netif); 383 void netif_set_default(struct netif *netif); 403 void netif_set_up(struct netif *netif); 404 void netif_set_down(struct netif *netif); 417 void netif_set_link_up(struct netif *netif); 418 void netif_set_link_down(struct netif *netif); 430 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument 443 …define netif_mld_mac_filter(netif, addr, action) do { if((netif) && (netif)->mld_mac_filter) { (ne… argument 448 void netif_poll(struct netif *netif); [all …]
|
A D | dhcp.h | 114 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); 116 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0) argument 117 void dhcp_cleanup(struct netif *netif); 118 err_t dhcp_start(struct netif *netif); 119 err_t dhcp_renew(struct netif *netif); 120 err_t dhcp_release(struct netif *netif); 121 void dhcp_stop(struct netif *netif); 122 void dhcp_inform(struct netif *netif); 123 void dhcp_network_changed(struct netif *netif); 125 void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr); [all …]
|
A D | autoip.h | 78 void autoip_set_struct(struct netif *netif, struct autoip *autoip); 80 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0) argument 81 err_t autoip_start(struct netif *netif); 82 err_t autoip_stop(struct netif *netif); 83 void autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr); 85 void autoip_network_changed(struct netif *netif); 86 u8_t autoip_supplied_address(const struct netif *netif); 89 u8_t autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr);
|
A D | etharp.h | 78 s8_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 80 u8_t etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret); 81 err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr); 82 err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q); 83 err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr); 88 #define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif)) argument 89 void etharp_cleanup_netif(struct netif *netif); 98 void etharp_input(struct pbuf *p, struct netif *netif);
|
A D | snmp.h | 48 struct netif; 120 (netif)->link_type = (type); \ 121 (netif)->link_speed = (speed);\ 122 (netif)->ts = 0; \ 127 (netif)->mib2_counters.ifinerrors = 0; \ 132 (netif)->mib2_counters.ifoutdiscards = 0; \ 138 #define MIB2_INIT_NETIF(netif, type, speed) argument 146 void mib2_netif_added(struct netif *ni); 147 void mib2_netif_removed(struct netif *ni); 160 void mib2_add_ip4(struct netif *ni); [all …]
|
A D | igmp.h | 91 err_t igmp_start(struct netif *netif); 92 err_t igmp_stop(struct netif *netif); 93 void igmp_report_groups(struct netif *netif); 94 struct igmp_group *igmp_lookfor_group(struct netif *ifp, const ip4_addr_t *addr); 95 void igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest); 97 err_t igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 99 err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 107 #define netif_igmp_data(netif) ((struct igmp_group *)netif_get_client_data(netif, LWIP_NETIF_CLIENT… argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | netif.h | 155 typedef err_t (*netif_init_fn)(struct netif *netif); 361 struct netif *netif_add(struct netif *netif, 370 void netif_remove(struct netif * netif); 378 void netif_set_default(struct netif *netif); 398 void netif_set_up(struct netif *netif); 399 void netif_set_down(struct netif *netif); 412 void netif_set_link_up(struct netif *netif); 413 void netif_set_link_down(struct netif *netif); 425 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument 438 …define netif_mld_mac_filter(netif, addr, action) do { if((netif) && (netif)->mld_mac_filter) { (ne… argument [all …]
|
A D | dhcp.h | 109 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); 111 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0) 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 …]
|
A D | etharp.h | 78 s8_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 80 u8_t etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret); 81 err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr); 82 err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q); 83 err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr); 89 #define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif)) argument 91 #define etharp_gratuitous(netif) argument 93 void etharp_cleanup_netif(struct netif *netif); 102 void etharp_input(struct pbuf *p, struct netif *netif);
|
A D | autoip.h | 78 void autoip_set_struct(struct netif *netif, struct autoip *autoip); 80 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0) argument 81 err_t autoip_start(struct netif *netif); 82 err_t autoip_stop(struct netif *netif); 83 void autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr); 85 void autoip_network_changed(struct netif *netif); 86 u8_t autoip_supplied_address(const struct netif *netif); 89 u8_t autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr);
|
A D | snmp.h | 48 struct netif; 120 (netif)->link_type = (type); \ 121 (netif)->link_speed = (speed);\ 122 (netif)->ts = 0; \ 127 (netif)->mib2_counters.ifinerrors = 0; \ 132 (netif)->mib2_counters.ifoutdiscards = 0; \ 138 #define MIB2_INIT_NETIF(netif, type, speed) argument 146 void mib2_netif_added(struct netif *ni); 147 void mib2_netif_removed(struct netif *ni); 160 void mib2_add_ip4(struct netif *ni); [all …]
|
A D | igmp.h | 91 err_t igmp_start(struct netif *netif); 92 err_t igmp_stop(struct netif *netif); 93 void igmp_report_groups(struct netif *netif); 94 struct igmp_group *igmp_lookfor_group(struct netif *ifp, const ip4_addr_t *addr); 95 void igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest); 97 err_t igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 99 err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 107 #define netif_igmp_data(netif) ((struct igmp_group *)netif_get_client_data(netif, LWIP_NETIF_CLIENT… argument
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/ |
A D | autoip.c | 127 autoip_restart(struct netif *netif) in autoip_restart() argument 206 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() argument 219 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() argument 230 autoip_bind(struct netif *netif) in autoip_bind() argument 237 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind() 257 autoip_start(struct netif *netif) in autoip_start() argument 271 netif->name[1], (u16_t)netif->num)); in autoip_start() 301 autoip_start_probing(struct netif *netif) in autoip_start_probing() argument 351 autoip_stop(struct netif *netif) in autoip_stop() argument 370 struct netif *netif = netif_list; in autoip_tmr() local [all …]
|
A D | igmp.c | 129 igmp_start(struct netif *netif) in igmp_start() argument 161 igmp_stop(struct netif *netif) in igmp_stop() argument 193 igmp_report_groups(struct netif *netif) in igmp_report_groups() argument 283 igmp_remove_group(struct netif* netif, struct igmp_group *group) in igmp_remove_group() argument 445 struct netif *netif; in igmp_joingroup() local 464 netif = netif->next; in igmp_joingroup() 541 struct netif *netif; in igmp_leavegroup() local 559 netif = netif->next; in igmp_leavegroup() 634 struct netif *netif = netif_list; in igmp_tmr() local 648 netif = netif->next; in igmp_tmr() [all …]
|
A D | ip4.c | 135 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip4_route_src() 164 struct netif *netif; in ip4_route() local 174 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip4_route() 198 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip4_route() 280 struct netif *netif; in ip4_forward() local 387 struct netif *netif; local 540 netif = netif->next; 543 netif = netif->next; 965 return netif->output(netif, p, dest); 989 struct netif *netif; local [all …]
|
A D | dhcp.c | 262 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_nak() 283 dhcp_check(struct netif *netif) in dhcp_check() argument 317 (void*)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_offer() 344 dhcp_select(struct netif *netif) in dhcp_select() argument 429 netif = netif->next; in dhcp_coarse_tmr() 462 netif = netif->next; in dhcp_fine_tmr() 713 dhcp_start(struct netif *netif) in dhcp_start() argument 1026 dhcp_bind(struct netif *netif) in dhcp_bind() argument 1140 dhcp_renew(struct netif *netif) in dhcp_renew() argument 1356 dhcp_stop(struct netif *netif) in dhcp_stop() argument [all …]
|
A D | etharp.c | 96 struct netif *netif; member 117 #define ETHARP_SET_HINT(netif, hint) if (((netif) != NULL) && ((netif)->addr_hint != NULL)) \ argument 317 && ((netif == NULL) || (netif == arp_table[i].netif)) in etharp_find_entry() 419 arp_table[i].netif = netif; in etharp_find_entry() 480 arp_table[i].netif = netif; 526 struct netif *netif; local 578 etharp_cleanup_netif(struct netif *netif) argument 639 *netif = arp_table[i].netif; 660 etharp_input(struct pbuf *p, struct netif *netif) argument 922 (arp_table[i].netif == netif) && [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ |
A D | ethernetif.c | 75 static void ethernetif_input(struct netif *netif); 85 low_level_init(struct netif *netif) 93 netif->hwaddr[0] = ; 95 netif->hwaddr[5] = ; 98 netif->mtu = 1500; 113 netif->mld_mac_filter(netif, &ip6_allnodes_ll, NETIF_ADD_MAC_FILTER); 137 low_level_output(struct netif *netif, struct pbuf *p) 185 low_level_input(struct netif *netif) 256 ethernetif_input(struct netif *netif) 269 if (netif->input(p, netif) != ERR_OK) { [all …]
|
A D | slipif.c | 116 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 …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/ |
A D | mld6.c | 91 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 D | ip6.c | 86 struct netif *netif; in ip6_route() local 108 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route() 136 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route() 162 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route() 183 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip6_route() 295 struct netif *netif; in ip6_forward() local 531 netif = netif->next; in ip6_input() 534 netif = netif->next; in ip6_input() 539 netif ? netif->name[0] : 'X', netif? netif->name[1] : 'X')); in ip6_input() 938 struct netif *netif; in ip6_output() local [all …]
|
/AliOS-Things-master/components/netmgr/netdev/src/ |
A D | netdev_lwip.c | 57 struct netif *lwip_if = (struct netif *)netif->user_data; in lwip_netdev_set_up() 83 netifapi_dhcp_stop((struct netif *)netif->user_data); in lwip_netdev_set_down() 84 netifapi_netif_set_down((struct netif *)netif->user_data); in lwip_netdev_set_down() 108 netif_set_gw((struct netif *)netif->user_data, gw); in lwip_netdev_set_addr_info() 131 netifapi_dhcp_start((struct netif *)netif->user_data); in lwip_netdev_set_dhcp() 136 netifapi_dhcp_stop((struct netif *)netif->user_data); in lwip_netdev_set_dhcp() 151 dhcpd_start(((struct netif *)netif->user_data)->name); in lwip_netdev_set_dhcpd() 364 struct netif * netif = netif_list; in set_if() local 377 netif = netif->next; in set_if() 425 struct netif * netif; in list_if() local [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_mib2_interfaces.c | 68 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 …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | ethernetif.c | 102 static void low_level_init(struct netif *netif) in low_level_init() argument 109 netif->mtu = 1500; in low_level_init() 139 static err_t low_level_output(struct netif *netif, struct pbuf *p) in low_level_output() argument 172 static err_t low_level_output_mii(struct netif *netif, struct pbuf *p) in low_level_output_mii() argument 215 void ethernetif_recv(struct netif *netif, int total_len) in ethernetif_recv() argument 252 if (ERR_OK != netif->input(p, netif)) in ethernetif_recv() 257 void ethernetif_mii_recv(struct netif *netif, int total_len) in ethernetif_mii_recv() argument 281 if (ERR_OK != netif->input(p, netif)) in ethernetif_mii_recv() 297 err_t ethernetif_init(struct netif *netif) in ethernetif_init() argument 316 low_level_init(netif); in ethernetif_init() [all …]
|