|
|
|
|
@ -773,9 +773,7 @@ ip6_output_if_src(struct pbuf *p, ip6_addr_t *src, ip6_addr_t *dest,
|
|
|
|
|
struct ip6_hdr *ip6hdr; |
|
|
|
|
ip6_addr_t dest_addr; |
|
|
|
|
|
|
|
|
|
/* pbufs passed to IP must have a ref-count of 1 as their payload pointer
|
|
|
|
|
gets altered as the packet is passed down the stack */ |
|
|
|
|
LWIP_ASSERT("p->ref == 1", p->ref == 1); |
|
|
|
|
LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p); |
|
|
|
|
|
|
|
|
|
/* Should the IPv6 header be generated or is it already included in p? */ |
|
|
|
|
if (dest != IP_HDRINCL) { |
|
|
|
|
@ -867,9 +865,7 @@ ip6_output(struct pbuf *p, ip6_addr_t *src, ip6_addr_t *dest,
|
|
|
|
|
struct ip6_hdr *ip6hdr; |
|
|
|
|
ip6_addr_t src_addr, dest_addr; |
|
|
|
|
|
|
|
|
|
/* pbufs passed to IPv6 must have a ref-count of 1 as their payload pointer
|
|
|
|
|
gets altered as the packet is passed down the stack */ |
|
|
|
|
LWIP_ASSERT("p->ref == 1", p->ref == 1); |
|
|
|
|
LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p); |
|
|
|
|
|
|
|
|
|
if (dest != IP_HDRINCL) { |
|
|
|
|
netif = ip6_route(src, dest); |
|
|
|
|
@ -928,9 +924,7 @@ ip6_output_hinted(struct pbuf *p, ip6_addr_t *src, ip6_addr_t *dest,
|
|
|
|
|
ip6_addr_t src_addr, dest_addr; |
|
|
|
|
err_t err; |
|
|
|
|
|
|
|
|
|
/* pbufs passed to IP must have a ref-count of 1 as their payload pointer
|
|
|
|
|
gets altered as the packet is passed down the stack */ |
|
|
|
|
LWIP_ASSERT("p->ref == 1", p->ref == 1); |
|
|
|
|
LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p); |
|
|
|
|
|
|
|
|
|
if (dest != IP_HDRINCL) { |
|
|
|
|
netif = ip6_route(src, dest); |
|
|
|
|
|