|
Packit Service |
646995 |
/*
|
|
Packit Service |
646995 |
* Copyright (c) 2011, Broadcom Corporation
|
|
Packit Service |
646995 |
* Copyright (c) 2014, QLogic Corporation
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* Written by: Eddie Wai (eddie.wai@broadcom.com)
|
|
Packit Service |
646995 |
* Based on Kevin Tran's iSCSI boot code
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* All rights reserved.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
646995 |
* modification, are permitted provided that the following conditions
|
|
Packit Service |
646995 |
* are met:
|
|
Packit Service |
646995 |
* 1. Redistributions of source code must retain the above copyright
|
|
Packit Service |
646995 |
* notice, this list of conditions and the following disclaimer.
|
|
Packit Service |
646995 |
* 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit Service |
646995 |
* notice, this list of conditions and the following disclaimer in the
|
|
Packit Service |
646995 |
* documentation and/or other materials provided with the distribution.
|
|
Packit Service |
646995 |
* 3. All advertising materials mentioning features or use of this software
|
|
Packit Service |
646995 |
* must display the following acknowledgement:
|
|
Packit Service |
646995 |
* This product includes software developed by Adam Dunkels.
|
|
Packit Service |
646995 |
* 4. The name of the author may not be used to endorse or promote
|
|
Packit Service |
646995 |
* products derived from this software without specific prior
|
|
Packit Service |
646995 |
* written permission.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
|
Packit Service |
646995 |
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
Packit Service |
646995 |
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
Packit Service |
646995 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
Packit Service |
646995 |
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
Packit Service |
646995 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
Packit Service |
646995 |
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
Packit Service |
646995 |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
Packit Service |
646995 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
Packit Service |
646995 |
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
Packit Service |
646995 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* ipv6_packet.h - IPv6 routine include file
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
*/
|
|
Packit Service |
646995 |
#ifndef __IPV6_PKT_H__
|
|
Packit Service |
646995 |
#define __IPV6_PKT_H__
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
u16_t ipv6_process_rx(struct ipv6_hdr *ipv6);
|
|
Packit Service |
646995 |
void ipv6_rx_packet(struct ipv6_context *context, u16_t len);
|
|
Packit Service |
646995 |
void ipv6_setup_hdrs(struct ipv6_context *context, struct eth_hdr *eth,
|
|
Packit Service |
646995 |
struct ipv6_hdr *ipv6, u16_t packet_len);
|
|
Packit Service |
646995 |
int ipv6_send(struct ipv6_context *context, u16_t packet_len);
|
|
Packit Service |
646995 |
void ipv6_send_udp_packet(struct ipv6_context *context, u16_t packet_len);
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
#endif /* __IPV6_PKT_H__ */
|