| /lib/lwip/lwip/src/include/lwip/ |
| A D | netif.h | 424 #define NETIF_FOREACH(netif) for ((netif) = netif_list; (netif) != NULL; (netif) = (netif)->next) argument 434 struct netif *netif_add(struct netif *netif, 442 void netif_remove(struct netif * netif); 450 void netif_set_default(struct netif *netif); 474 void netif_set_up(struct netif *netif); 475 void netif_set_down(struct netif *netif); 488 void netif_set_link_up(struct netif *netif); 501 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) argument 523 void netif_poll(struct netif *netif); 559 #define netif_mtu6(netif) ((netif)->mtu6) argument [all …]
|
| A D | dhcp.h | 122 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); 124 #define dhcp_remove_struct(netif) netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, N… argument 125 void dhcp_cleanup(struct netif *netif); 126 err_t dhcp_start(struct netif *netif); 127 err_t dhcp_renew(struct netif *netif); 128 err_t dhcp_release(struct netif *netif); 129 void dhcp_stop(struct netif *netif); 130 void dhcp_release_and_stop(struct netif *netif); 131 void dhcp_inform(struct netif *netif); 132 void dhcp_network_changed_link_up(struct netif *netif); [all …]
|
| A D | etharp.h | 78 ssize_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 80 int etharp_get_entry(size_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); 92 err_t etharp_acd_probe(struct netif *netif, const ip4_addr_t *ipaddr); 93 err_t etharp_acd_announce(struct netif *netif, const ip4_addr_t *ipaddr); 101 void etharp_input(struct pbuf *p, struct netif *netif);
|
| A D | autoip.h | 71 void autoip_set_struct(struct netif *netif, struct autoip *autoip); 72 void autoip_remove_struct(struct netif *netif); 73 err_t autoip_start(struct netif *netif); 74 err_t autoip_stop(struct netif *netif); 75 void autoip_network_changed_link_up(struct netif *netif); 76 void autoip_network_changed_link_down(struct netif *netif); 77 u8_t autoip_supplied_address(struct netif *netif); 80 u8_t autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr); 82 #define netif_autoip_data(netif) ((struct autoip*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DA… argument
|
| /lib/lwip/lwip/src/core/ |
| A D | netif.c | 287 netif_add(struct netif *netif, in netif_add() argument 394 netif->mtu6 = netif->mtu; in netif_add() 764 netif_remove(struct netif *netif) in netif_remove() argument 862 netif ? netif->name[0] : '\'', netif ? netif->name[1] : '\'')); in netif_set_default() 871 netif_set_up(struct netif *netif) in netif_set_up() argument 1074 netif->mtu6 = netif->mtu; in netif_set_link_down() 1135 struct netif *stats_if = netif; in netif_loop_output() 1252 netif_poll(struct netif *netif) in netif_poll() argument 1324 struct netif *netif; in netif_poll_all() local 1732 struct netif *netif; in netif_get_by_index() local [all …]
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | autoip.c | 83 static void autoip_restart(struct netif *netif); 85 static err_t autoip_bind(struct netif *netif); 119 autoip_remove_struct(struct netif *netif) in autoip_remove_struct() argument 134 autoip_restart(struct netif *netif) in autoip_restart() argument 185 autoip_bind(struct netif *netif) in autoip_bind() argument 194 (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind() 243 autoip_start(struct netif *netif) in autoip_start() argument 286 (void *)netif, netif->name[0], in autoip_start() 301 autoip_network_changed_link_up(struct netif *netif) in autoip_network_changed_link_up() argument 340 autoip_stop(struct netif *netif) in autoip_stop() argument [all …]
|
| A D | acd.c | 103 static void acd_restart(struct netif *netif, struct acd *acd); 118 acd_add(struct netif *netif, struct acd *acd, in acd_add() argument 152 acd_remove(struct netif *netif, struct acd *acd) in acd_remove() argument 189 (void *)netif, netif->name[0], in acd_start() 190 netif->name[1], (u16_t)netif->num)); in acd_start() 227 acd_network_changed_link_down(struct netif *netif) in acd_network_changed_link_down() argument 242 struct netif *netif; in acd_tmr() local 344 acd_restart(struct netif *netif, struct acd *acd) in acd_restart() argument 376 acd_arp_reply(struct netif *netif, struct etharp_hdr *hdr) in acd_arp_reply() argument 442 acd_handle_arp_conflict(struct netif *netif, struct acd *acd) in acd_handle_arp_conflict() argument [all …]
|
| A D | igmp.c | 101 static void igmp_timeout(struct netif *netif, struct igmp_group *group); 128 igmp_start(struct netif *netif) in igmp_start() argument 145 netif->igmp_mac_filter(netif, &allsystems, NETIF_ADD_MAC_FILTER); in igmp_start() 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 549 struct netif *netif; in igmp_leavegroup() local 643 struct netif *netif; in igmp_tmr() local 667 igmp_timeout(struct netif *netif, struct igmp_group *group) in igmp_timeout() argument [all …]
|
| A D | dhcp.c | 329 (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_nak() 393 dhcp_check(struct netif *netif) in dhcp_check() argument 417 (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num)); in dhcp_handle_offer() 446 dhcp_select(struct netif *netif) in dhcp_select() argument 512 struct netif *netif; in dhcp_coarse_tmr() local 550 struct netif *netif; in dhcp_fine_tmr() local 810 dhcp_start(struct netif *netif) in dhcp_start() argument 894 dhcp_inform(struct netif *netif) in dhcp_inform() argument 1083 dhcp_bind(struct netif *netif) in dhcp_bind() argument 1157 dhcp_renew(struct netif *netif) in dhcp_renew() argument [all …]
|
| A D | etharp.c | 100 struct netif *netif; member 135 static err_t etharp_raw(struct netif *netif, 297 && ((netif == NULL) || (netif == arp_table[i].netif)) in etharp_find_entry() 399 arp_table[i].netif = netif; in etharp_find_entry() 460 arp_table[i].netif = netif; 506 struct netif *netif; local 560 etharp_cleanup_netif(struct netif *netif) argument 621 *netif = arp_table[i].netif; 642 etharp_input(struct pbuf *p, struct netif *netif) argument 881 (arp_table[i].netif == netif) && [all …]
|
| A D | ip4.c | 155 struct netif *netif; in ip4_route() local 283 struct netif *netif; in ip4_forward() local 383 if (netif->mtu && (p->tot_len > netif->mtu)) { in ip4_forward() 399 netif->output(netif, p, ip4_current_dest_addr()); in ip4_forward() 408 ip4_input_accept(struct netif *netif) in ip4_input_accept() argument 463 struct netif *netif; local 823 u8_t proto, struct netif *netif) argument 1035 if (netif->mtu && (p->tot_len > netif->mtu)) { 1041 return netif->output(netif, p, dest); 1065 struct netif *netif; local [all …]
|
| /lib/lwip/lwip/contrib/ports/unix/port/netif/ |
| A D | vdeif.c | 83 static void vdeif_input(struct netif *netif); 90 low_level_init(struct netif *netif, char *vderl) in low_level_init() argument 140 low_level_output(struct netif *netif, struct pbuf *p) in low_level_output() argument 176 low_level_input(struct netif *netif) in low_level_input() argument 221 vdeif_input(struct netif *netif) in vdeif_input() argument 233 if (netif->input(p, netif) != ERR_OK) { in vdeif_input() 249 vdeif_init(struct netif *netif) in vdeif_init() argument 280 vdeif_poll(struct netif *netif) in vdeif_poll() argument 288 vdeif_select(struct netif *netif) in vdeif_select() argument 318 struct netif *netif; in vdeif_thread() local [all …]
|
| A D | tapif.c | 107 static void tapif_input(struct netif *netif); 114 low_level_init(struct netif *netif) in low_level_init() argument 219 low_level_output(struct netif *netif, struct pbuf *p) in low_level_output() argument 262 low_level_input(struct netif *netif) in low_level_input() argument 314 tapif_input(struct netif *netif) in tapif_input() argument 326 if (netif->input(p, netif) != ERR_OK) { in tapif_input() 342 tapif_init(struct netif *netif) in tapif_init() argument 372 tapif_poll(struct netif *netif) in tapif_poll() argument 380 tapif_select(struct netif *netif) in tapif_select() argument 408 struct netif *netif; in tapif_thread() local [all …]
|
| A D | pcapif.c | 77 pcapif_output(struct netif *netif, struct pbuf *p, in pcapif_output() argument 86 struct netif *netif; in timeout() local 91 netif = (struct netif *)arg; in timeout() 116 if (netif->input(p, netif) != ERR_OK) { in timeout() 137 struct netif *netif; in callback() local 141 netif = (struct netif *)arg; in callback() 164 struct netif *netif; in pcapif_thread() local 166 netif = arg; in pcapif_thread() 173 netif->input(pcapif->p, netif); in pcapif_thread() 179 pcapif_init(struct netif *netif) in pcapif_init() argument [all …]
|
| /lib/lwip/lwip/contrib/examples/ethernetif/ |
| 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 …]
|
| /lib/lwip/lwip/doc/ |
| A D | NO_SYS_SampleCode.c | 22 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() 77 netif_set_default(&netif); in main() 78 netif_set_up(&netif); in main() 81 dhcp_start(&netif ); in main() [all …]
|
| /lib/lwip/lwip/src/netif/ |
| 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 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 …]
|
| A D | lowpan6_ble.c | 179 LWIP_UNUSED_ARG(netif); in rfc7668_set_local_addr_eui64() 190 LWIP_UNUSED_ARG(netif); in rfc7668_set_local_addr_mac48() 201 LWIP_UNUSED_ARG(netif); in rfc7668_set_peer_addr_eui64() 230 rfc7668_compress(struct netif *netif, struct pbuf *p) in rfc7668_compress() argument 277 err = netif->linkoutput(netif, p_frag); in rfc7668_compress() 328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output() argument 347 rfc7668_input(struct pbuf * p, struct netif *netif) in rfc7668_input() argument 410 rfc7668_if_init(struct netif *netif) in rfc7668_if_init() argument 412 netif->name[0] = 'b'; in rfc7668_if_init() 413 netif->name[1] = 't'; in rfc7668_if_init() [all …]
|
| /lib/lwip/lwip/src/core/ipv6/ |
| A D | mld6.c | 96 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 …]
|
| A D | ip6.c | 92 struct netif *netif; in ip6_route() 368 struct netif *netif; in ip6_forward() local 469 ip6_input_accept(struct netif *netif) in ip6_input_accept() argument 512 struct netif *netif; local 617 netif->name[0], netif->name[1])); 668 netif ? netif->name[0] : 'X', netif? netif->name[1] : 'X')); 1151 u8_t nexth, struct netif *netif) argument 1175 u8_t nexth, struct netif *netif) argument 1269 return netif->output_ip6(netif, p, dest); 1294 struct netif *netif; local [all …]
|
| A D | nd6.c | 143 static err_t nd6_send_rs(struct netif *netif); 977 struct netif *netif; in nd6_tmr() local 1356 nd6_send_rs(struct netif *netif) in nd6_send_rs() argument 1663 if ((prefix_list[i].netif == netif) && in nd6_is_prefix_in_netif() 1771 struct netif *netif; in nd6_find_route() local 1779 netif = prefix_list[i].netif; in nd6_find_route() 1928 prefix_list[i].netif = netif; in nd6_new_onlink_prefix() 2061 neighbor_cache[i].netif = netif; in nd6_get_next_hop_entry() 2402 nd6_cleanup_netif(struct netif *netif) in nd6_cleanup_netif() argument 2407 if (prefix_list[i].netif == netif) { in nd6_cleanup_netif() [all …]
|
| A D | dhcp6.c | 185 dhcp6_set_struct(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_set_struct() argument 206 void dhcp6_cleanup(struct netif *netif) in dhcp6_cleanup() argument 217 dhcp6_get_struct(struct netif *netif, const char *dbg_requester) in dhcp6_get_struct() argument 299 dhcp6_enable_stateful(struct netif *netif) in dhcp6_enable_stateful() argument 316 dhcp6_enable_stateless(struct netif *netif) in dhcp6_enable_stateless() argument 346 dhcp6_disable(struct netif *netif) in dhcp6_disable() argument 452 dhcp6_information_request(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_information_request() argument 499 dhcp6_request_config(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_request_config() argument 700 struct netif *netif = ip_current_input_netif(); in dhcp6_recv() local 775 dhcp6_timeout(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_timeout() argument [all …]
|
| /lib/lwip/lwip/src/include/lwip/apps/ |
| A D | mdns.h | 104 void *mdns_get_service_txt_userdata(struct netif *netif, s8_t slot); 110 err_t mdns_resp_add_netif(struct netif *netif, const char *hostname); 111 err_t mdns_resp_remove_netif(struct netif *netif); 112 err_t mdns_resp_rename_netif(struct netif *netif, const char *hostname); 113 int mdns_resp_netif_active(struct netif *netif); 116 err_t mdns_resp_del_service(struct netif *netif, u8_t slot); 117 err_t mdns_resp_rename_service(struct netif *netif, u8_t slot, const char *name); 121 void mdns_resp_restart_delay(struct netif *netif, uint32_t delay); 122 void mdns_resp_restart(struct netif *netif); 123 void mdns_resp_announce(struct netif *netif); [all …]
|
| /lib/lwip/lwip/src/apps/snmp/ |
| A D | snmp_mib2_interfaces.c | 68 struct netif *netif; in interfaces_get_value() local 69 NETIF_FOREACH(netif) { in interfaces_get_value() 98 struct netif *netif; in interfaces_Table_get_cell_instance() local 111 NETIF_FOREACH(netif) { in interfaces_Table_get_cell_instance() 126 struct netif *netif; in interfaces_Table_get_next_cell_instance() local 136 NETIF_FOREACH(netif) { in interfaces_Table_get_next_cell_instance() 159 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_get_value() local 210 *value_u32 = netif->ts; in interfaces_Table_get_value() 295 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_set_value() local 304 netif_set_up(netif); in interfaces_Table_set_value() [all …]
|
| /lib/lwip/lwip/src/apps/mdns/ |
| A D | mdns_out.c | 256 struct netif *netif) in mdns_add_a_answer() argument 815 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_reset_ipv4() local 832 struct netif *netif = (struct netif*)arg; in mdns_multicast_probe_timeout_reset_ipv4() local 863 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_25ttl_reset_ipv4() local 879 struct netif *netif = (struct netif*)arg; in mdns_send_multicast_msg_delayed_ipv4() local 903 struct netif *netif = (struct netif*)arg; in mdns_send_unicast_msg_delayed_ipv4() local 952 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_reset_ipv6() local 969 struct netif *netif = (struct netif*)arg; in mdns_multicast_probe_timeout_reset_ipv6() local 1000 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_25ttl_reset_ipv6() local 1016 struct netif *netif = (struct netif*)arg; in mdns_send_multicast_msg_delayed_ipv6() local [all …]
|