/btstack/3rd-party/lwip/core/src/include/lwip/ |
H A D | netif.h | 236 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument 240 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument 269 struct netif { struct 272 struct netif *next; argument 282 /** Array of IPv6 addresses for this netif. */ argument 297 netif_input_fn input; argument 303 netif_output_fn output; argument 308 netif_linkoutput_fn linkoutput; argument 314 netif_output_ip6_fn output_ip6; argument 319 netif_status_callback_fn status_callback; argument [all …]
|
H A D | ip.h | 236 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 244 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 249 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 270 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument 281 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 283 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 287 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 291 #define ip_netif_get_local_ip(netif, dest) \ argument 301 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 303 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument [all …]
|
H A D | ip6_zone.h | 198 #define ip6_addr_assign_zone(ip6addr, type, netif) \ argument 221 #define ip6_addr_test_zone(ip6addr, netif) \ argument 285 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) LWIP_ASSERT("IPv6 netif zone check failed", \ argument 294 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) argument
|
/btstack/3rd-party/lwip/core/src/core/ |
H A D | netif.c | 162 netif_loopif_init(struct netif *netif) in netif_loopif_init() 250 netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) in netif_add_noaddr() 287 netif_add(struct netif *netif, in netif_add() 468 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr() 515 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr() 538 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) in netif_do_set_netmask() 575 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) in netif_set_netmask() 602 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) in netif_do_set_gw() 636 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) in netif_set_gw() 673 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, in netif_set_addr() [all …]
|
H A D | udp.c | 534 struct netif *netif; in udp_sendto_chksum() local 625 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) in udp_sendto_if() 634 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_chksum() 700 … const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) in udp_sendto_if_src() 709 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_src_chksum() 1046 udp_bind_netif(struct udp_pcb *pcb, const struct netif *netif) in udp_bind_netif()
|
/btstack/3rd-party/lwip/core/src/core/ipv4/ |
H A D | acd.c | 80 #define LWIP_ACD_RAND(netif, acd) LWIP_RAND() argument 84 #define LWIP_ACD_RAND(netif, acd) LWIP_AUTOIP_RAND(netif) /* for backwards compatibility */ argument 86 #define LWIP_ACD_RAND(netif, acd) ((((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \ argument 95 #define ACD_RANDOM_PROBE_WAIT(netif, acd) (LWIP_ACD_RAND(netif, acd) % \ argument 98 #define ACD_RANDOM_PROBE_INTERVAL(netif, acd) ((LWIP_ACD_RAND(netif, acd) % \ argument 118 acd_add(struct netif *netif, struct acd *acd, in acd_add() 153 acd_start(struct netif *netif, struct acd *acd, ip4_addr_t ipaddr) in acd_start() 198 acd_network_changed_link_down(struct netif *netif) in acd_network_changed_link_down() 213 struct netif *netif; in acd_tmr() local 312 acd_restart(struct netif *netif, struct acd *acd) in acd_restart() [all …]
|
H A D | autoip.c | 77 #define LWIP_AUTOIP_CREATE_SEED_ADDR(netif) \ argument 98 autoip_set_struct(struct netif *netif, struct autoip *autoip) in autoip_set_struct() 117 autoip_restart(struct netif *netif) in autoip_restart() 132 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) in autoip_create_addr() 168 autoip_bind(struct netif *netif) in autoip_bind() 197 autoip_conflict_callback(struct netif *netif, acd_callback_enum_t state) in autoip_conflict_callback() 226 autoip_start(struct netif *netif) in autoip_start() 284 autoip_network_changed_link_up(struct netif *netif) in autoip_network_changed_link_up() 305 autoip_network_changed_link_down(struct netif *netif) in autoip_network_changed_link_down() 323 autoip_stop(struct netif *netif) in autoip_stop() [all …]
|
H A D | dhcp.c | 90 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument 93 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) d… argument 114 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) argument 278 dhcp_handle_nak(struct netif *netif) in dhcp_handle_nak() 301 dhcp_conflict_callback(struct netif *netif, acd_callback_enum_t state) in dhcp_conflict_callback() 344 dhcp_check(struct netif *netif) in dhcp_check() 363 dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) in dhcp_handle_offer() 397 dhcp_select(struct netif *netif) in dhcp_select() 463 struct netif *netif; in dhcp_coarse_tmr() local 501 struct netif *netif; in dhcp_fine_tmr() local [all …]
|
H A D | etharp.c | 100 struct netif *netif; member 121 #define ETHARP_SET_ADDRHINT(netif, addrhint) do { if (((netif) != NULL) && ((netif)->hints != NULL… argument 124 #define ETHARP_SET_ADDRHINT(netif, addrhint) (etharp_cached_entry = (addrhint)) argument 257 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry() 423 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8… 506 struct netif *netif; local 560 etharp_cleanup_netif(struct netif *netif) 584 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 613 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret) 642 etharp_input(struct pbuf *p, struct netif *netif) [all …]
|
H A D | igmp.c | 128 igmp_start(struct netif *netif) in igmp_start() 160 igmp_stop(struct netif *netif) in igmp_stop() 192 igmp_report_groups(struct netif *netif) in igmp_report_groups() 295 igmp_remove_group(struct netif *netif, struct igmp_group *group) in igmp_remove_group() 452 struct netif *netif; in igmp_joingroup() local 485 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif() 549 struct netif *netif; in igmp_leavegroup() local 581 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_leavegroup_netif() 643 struct netif *netif; in igmp_tmr() local 667 igmp_timeout(struct netif *netif, struct igmp_group *group) in igmp_timeout() [all …]
|
H A D | ip4.c | 133 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(src, dest); in ip4_route_src() local 155 struct netif *netif; in ip4_route() local 283 struct netif *netif; in ip4_forward() local 374 ip4_input_accept(struct netif *netif) in ip4_input_accept() 429 struct netif *netif; local 789 u8_t proto, struct netif *netif) 803 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 829 u8_t proto, struct netif *netif) 841 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 1031 struct netif *netif; local [all …]
|
/btstack/3rd-party/lwip/core/src/apps/mdns/ |
H A D | mdns_out.c | 259 struct netif *netif) in mdns_add_a_answer() 290 struct netif *netif) in mdns_add_hostv4_ptr_answer() 323 struct netif *netif, int addrindex) in mdns_add_aaaa_answer() 354 struct netif *netif, int addrindex) in mdns_add_hostv6_ptr_answer() 521 struct netif *netif) in mdns_add_probe_questions_to_outpacket() 581 mdns_create_outpacket(struct netif *netif, struct mdns_outmsg *msg, in mdns_create_outpacket() 766 mdns_send_outpacket(struct mdns_outmsg *msg, struct netif *netif) in mdns_send_outpacket() 818 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_reset_ipv4() local 835 struct netif *netif = (struct netif*)arg; in mdns_multicast_probe_timeout_reset_ipv4() local 866 struct netif *netif = (struct netif*)arg; in mdns_multicast_timeout_25ttl_reset_ipv4() local [all …]
|
H A D | mdns.c | 115 #define NETIF_TO_HOST(netif) (struct mdns_host*)(netif_get_client_data(netif, mdns_netif_client_id)) argument 207 netif_mdns_data(struct netif *netif) { in netif_mdns_data() 231 check_host(struct netif *netif, struct mdns_rr_info *rr, u8_t *reverse_v6_reply) in check_host() 511 mdns_announce(struct netif *netif, const ip_addr_t *destination) in mdns_announce() 840 mdns_handle_probe_tiebreaking(struct netif *netif, struct mdns_packet *pkt) in mdns_handle_probe_tiebreaking() 1059 mdns_parse_pkt_questions(struct netif *netif, struct mdns_packet *pkt, in mdns_parse_pkt_questions() 1108 mdns_parse_pkt_known_answers(struct netif *netif, struct mdns_packet *pkt, in mdns_parse_pkt_known_answers() 1281 mdns_parse_pkt_authoritative_answers(struct netif *netif, struct mdns_packet *pkt, in mdns_parse_pkt_authoritative_answers() 1371 mdns_handle_question(struct mdns_packet *pkt, struct netif *netif) in mdns_handle_question() 1675 mdns_probe_conflict(struct netif *netif) in mdns_probe_conflict() [all …]
|
/btstack/3rd-party/lwip/core/src/netif/ |
H A D | slipif.c | 116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output() 172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) in slipif_output_v4() 191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) in slipif_output_v6() 207 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte() 310 slipif_rxbyte_input(struct netif *netif, u8_t c) 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() 426 slipif_poll(struct netif *netif) in slipif_poll() 449 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue() 488 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue() [all …]
|
H A D | lowpan6_ble.c | 176 rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_len) in rfc7668_set_local_addr_eui64() 187 rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_len, in… in rfc7668_set_local_addr_mac48() 198 rfc7668_set_peer_addr_eui64(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len) in rfc7668_set_peer_addr_eui64() 209 rfc7668_set_peer_addr_mac48(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len, int i… in rfc7668_set_peer_addr_mac48() 230 rfc7668_compress(struct netif *netif, struct pbuf *p) in rfc7668_compress() 328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output() 347 rfc7668_input(struct pbuf * p, struct netif *netif) in rfc7668_input() 410 rfc7668_if_init(struct netif *netif) in rfc7668_if_init()
|
H A D | lowpan6.c | 110 #define LWIP_6LOWPAN_CONTEXTS(netif) lowpan6_data.lowpan6_context argument 112 #define LWIP_6LOWPAN_CONTEXTS(netif) NULL argument 343 lowpan6_frag(struct netif *netif, struct pbuf *p, const struct lowpan6_link_addr *src, const struct… in lowpan6_frag() 535 lowpan6_hwaddr_to_addr(struct netif *netif, struct lowpan6_link_addr *addr) in lowpan6_hwaddr_to_addr() 566 lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in lowpan6_output() 646 lowpan6_input(struct pbuf *p, struct netif *netif) in lowpan6_input() 875 lowpan6_if_init(struct netif *netif) in lowpan6_if_init()
|
H A D | bridgeif.c | 111 struct netif *netif; member 298 bridgeif_output(struct netif *netif, struct pbuf *p) in bridgeif_output() 326 bridgeif_input(struct pbuf *p, struct netif *netif) in bridgeif_input() 393 bridgeif_tcpip_input(struct pbuf *p, struct netif *netif) in bridgeif_tcpip_input() 413 bridgeif_init(struct netif *netif) in bridgeif_init()
|
/btstack/3rd-party/lwip/core/src/core/ipv6/ |
H A D | nd6.c | 151 nd6_duplicate_addr_detected(struct netif *netif, s8_t addr_idx) in nd6_duplicate_addr_detected() 190 nd6_process_autoconfig_prefix(struct netif *netif, in nd6_process_autoconfig_prefix() 966 struct netif *netif; in nd6_tmr() local 1185 nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_ns() 1270 nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_na() 1345 nd6_send_rs(struct netif *netif) in nd6_send_rs() 1646 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_is_prefix_in_netif() 1686 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_select_router() 1760 struct netif *netif; in nd6_find_route() local 1794 nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif) in nd6_get_router() [all …]
|
H A D | dhcp6.c | 74 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument 77 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset)… argument 185 dhcp6_set_struct(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_set_struct() 206 void dhcp6_cleanup(struct netif *netif) in dhcp6_cleanup() 217 dhcp6_get_struct(struct netif *netif, const char *dbg_requester) in dhcp6_get_struct() 299 dhcp6_enable_stateful(struct netif *netif) in dhcp6_enable_stateful() 316 dhcp6_enable_stateless(struct netif *netif) in dhcp6_enable_stateless() 346 dhcp6_disable(struct netif *netif) in dhcp6_disable() 377 dhcp6_create_msg(struct netif *netif, struct dhcp6 *dhcp6, u8_t message_type, in dhcp6_create_msg() 452 dhcp6_information_request(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_information_request() [all …]
|
H A D | mld6.c | 96 mld6_stop(struct netif *netif) in mld6_stop() 125 mld6_report_groups(struct netif *netif) in mld6_report_groups() 194 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group() 318 struct netif *netif; in mld6_joingroup() local 347 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) 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() 498 struct netif *netif; in mld6_tmr() local 563 mld6_send(struct netif *netif, struct mld_group *group, u8_t type) in mld6_send()
|
H A D | ip6.c | 283 ip6_select_source_address(struct netif *netif, const ip6_addr_t *dest) in ip6_select_source_address() 368 struct netif *netif; in ip6_forward() local 469 ip6_input_accept(struct netif *netif) in ip6_input_accept() 512 struct netif *netif; local 1151 u8_t nexth, struct netif *netif) 1175 u8_t nexth, struct netif *netif) 1294 struct netif *netif; local 1352 struct netif *netif; local
|
H A D | icmp6.c | 312 struct netif *netif = ip_current_netif(); in icmp6_send_response() local 350 struct netif *netif; in icmp6_send_response_with_addrs() local 386 const ip6_addr_t *reply_src, const ip6_addr_t *reply_dest, struct netif *netif) in icmp6_send_response_with_addrs_and_netif()
|
/btstack/3rd-party/lwip/core/src/apps/snmp/ |
H A D | snmp_mib2_ip.c | 210 ip_AddrTable_get_cell_value_core(struct netif *netif, const u32_t *column, union snmp_variant_value… in ip_AddrTable_get_cell_value_core() 254 struct netif *netif; in ip_AddrTable_get_cell_value() local 279 struct netif *netif; in ip_AddrTable_get_next_cell_instance_and_value() local 317 ip_RouteTable_get_cell_value_core(struct netif *netif, u8_t default_route, const u32_t *column, uni… in ip_RouteTable_get_cell_value_core() 399 struct netif *netif; in ip_RouteTable_get_cell_value() local 433 struct netif *netif; in ip_RouteTable_get_next_cell_instance_and_value() local 488 struct netif *netif; in ip_NetToMediaTable_get_cell_value_core() local 534 struct netif *netif; in ip_NetToMediaTable_get_cell_value() local 562 struct netif *netif; in ip_NetToMediaTable_get_next_cell_instance_and_value() local
|
H A D | snmp_mib2_interfaces.c | 68 struct netif *netif; in interfaces_get_value() local 98 struct netif *netif; in interfaces_Table_get_cell_instance() local 126 struct netif *netif; in interfaces_Table_get_next_cell_instance() local 159 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_get_value() local 295 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_set_value() local
|
/btstack/3rd-party/lwip/core/src/api/ |
H A D | netifapi.c | 222 netifapi_netif_add(struct netif *netif, in netifapi_netif_add() 267 netifapi_netif_set_addr(struct netif *netif, in netifapi_netif_set_addr() 303 netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc, in netifapi_netif_common()
|