Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ipv6_resolution.h
00001 /* 00002 * Copyright (c) 2015-2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 00019 #ifndef IPV6_RESOLUTION_H_ 00020 #define IPV6_RESOLUTION_H_ 00021 00022 #include "Core/include/address.h" 00023 00024 struct ipv6_neighbour; 00025 struct ipv6_neighbour_cache; 00026 struct buffer; 00027 struct protocol_interface_info_entry; 00028 00029 struct ipv6_neighbour *ipv6_interface_resolve_new(struct protocol_interface_info_entry *cur, struct buffer *buf); 00030 void ipv6_interface_resolve_send_ns(struct ipv6_neighbour_cache *cache, struct ipv6_neighbour *entry, bool unicast, uint_fast8_t seq); 00031 void ipv6_interface_resolution_failed(struct ipv6_neighbour_cache *cache, struct ipv6_neighbour *entry); 00032 void ipv6_send_queued(struct ipv6_neighbour *neighbour); 00033 struct ipv6_neighbour_cache *ipv6_neighbour_cache_by_interface_id(int8_t interface_id); 00034 bool ipv6_map_ip_to_ll(struct protocol_interface_info_entry *cur, struct ipv6_neighbour *n, const uint8_t ip_addr[16], addrtype_t *ll_type, const uint8_t **ll_addr_out); 00035 bool ipv6_map_ll_to_ip_link_local(struct protocol_interface_info_entry *cur, addrtype_t ll_type, const uint8_t *ll_addr, uint8_t ip_addr_out[16]); 00036 typedef uint16_t (ll_addr_handler_t)(int8_t nwk_id, addrtype_t addr_type, const uint8_t *addr_ptr); 00037 uint16_t ipv6_map_ip_to_ll_and_call_ll_addr_handler(struct protocol_interface_info_entry *cur, int8_t interface_id, struct ipv6_neighbour *n, const uint8_t ipaddr[16], ll_addr_handler_t *ll_addr_handler_ptr); 00038 00039 #endif /* IPV6_RESOLUTION_H_ */
Generated on Tue Jul 12 2022 12:21:57 by
