Changeset 100251 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 22, 2023 5:33:57 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 157962
- Location:
- trunk/src/VBox/Devices/Network/lwip-new/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv6/icmp6.c
r63283 r100251 83 83 */ 84 84 void 85 icmp6_input(struct pbuf *p, struct netif *inp)85 lwip_icmp6_input(struct pbuf *p, struct netif *inp) 86 86 { 87 87 struct icmp6_hdr *icmp6hdr; -
trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv6/ip6.c
r50185 r100251 413 413 */ 414 414 err_t 415 ip6_input(struct pbuf *p, struct netif *inp)415 lwip_ip6_input(struct pbuf *p, struct netif *inp) 416 416 { 417 417 struct ip6_hdr *ip6hdr; -
trunk/src/VBox/Devices/Network/lwip-new/src/include/ipv6/lwip/icmp6.h
r85319 r100251 147 147 #if LWIP_ICMP6 && LWIP_IPV6 /* don't build if not configured for use in lwipopts.h */ 148 148 149 void icmp6_input(struct pbuf *p, struct netif *inp); 149 /* Renaming functions to avoid linker collisions with libslirp */ 150 #define icmp6_input lwip_icmp6_input 151 152 void lwip_icmp6_input(struct pbuf *p, struct netif *inp); 150 153 #if LWIP_CONNECTION_PROXY 151 154 void icmp6_proxy_input(struct pbuf *p, struct netif *inp); -
trunk/src/VBox/Devices/Network/lwip-new/src/include/ipv6/lwip/ip6.h
r47886 r100251 7 7 /* 8 8 * Copyright (c) 2010 Inico Technologies Ltd. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without modification, 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without modification, 12 12 * are permitted provided that the following conditions are met: 13 13 * … … 18 18 * and/or other materials provided with the distribution. 19 19 * 3. The name of the author may not be used to endorse or promote products 20 * derived from this software without specific prior written permission. 21 * 22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 23 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 25 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 27 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 20 * derived from this software without specific prior written permission. 21 * 22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 23 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 25 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 26 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 27 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 31 31 * OF SUCH DAMAGE. 32 32 * 33 33 * This file is part of the lwIP TCP/IP stack. 34 * 34 * 35 35 * Author: Ivan Delamer <[email protected]> 36 36 * … … 161 161 #define IP6H_HOPLIM_SET(hdr, hl) (hdr)->_hoplim = (u8_t)(hl) 162 162 163 /* Renaming functions to avoid linker collisions with libslirp */ 164 #define ip6_input lwip_ip6_input 165 163 166 164 167 #define ip6_init() /* TODO should we init current addresses and header pointer? */ 165 168 struct netif *ip6_route(struct ip6_addr *src, struct ip6_addr *dest); 166 169 ip6_addr_t *ip6_select_source_address(struct netif *netif, ip6_addr_t * dest); 167 err_t ip6_input(struct pbuf *p, struct netif *inp);170 err_t lwip_ip6_input(struct pbuf *p, struct netif *inp); 168 171 err_t ip6_output(struct pbuf *p, struct ip6_addr *src, struct ip6_addr *dest, 169 172 u8_t hl, u8_t tc, u8_t nexth);
Note:
See TracChangeset
for help on using the changeset viewer.