This is a fork due to permission issues
Dependencies: mbed Socket lwip-eth lwip-sys lwip
Fork of 6_songs-from-the-cloud by
mbed-client/nanostack-libservice/mbed-client-libservice/ip_fsc.h@0:f7c60d3e7b8a, 2016-05-18 (annotated)
- Committer:
- maclobdell
- Date:
- Wed May 18 19:06:32 2016 +0000
- Revision:
- 0:f7c60d3e7b8a
clean version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
maclobdell | 0:f7c60d3e7b8a | 1 | /* |
maclobdell | 0:f7c60d3e7b8a | 2 | * Copyright (c) 2014-2015 ARM Limited. All rights reserved. |
maclobdell | 0:f7c60d3e7b8a | 3 | * SPDX-License-Identifier: Apache-2.0 |
maclobdell | 0:f7c60d3e7b8a | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
maclobdell | 0:f7c60d3e7b8a | 5 | * not use this file except in compliance with the License. |
maclobdell | 0:f7c60d3e7b8a | 6 | * You may obtain a copy of the License at |
maclobdell | 0:f7c60d3e7b8a | 7 | * |
maclobdell | 0:f7c60d3e7b8a | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
maclobdell | 0:f7c60d3e7b8a | 9 | * |
maclobdell | 0:f7c60d3e7b8a | 10 | * Unless required by applicable law or agreed to in writing, software |
maclobdell | 0:f7c60d3e7b8a | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
maclobdell | 0:f7c60d3e7b8a | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
maclobdell | 0:f7c60d3e7b8a | 13 | * See the License for the specific language governing permissions and |
maclobdell | 0:f7c60d3e7b8a | 14 | * limitations under the License. |
maclobdell | 0:f7c60d3e7b8a | 15 | */ |
maclobdell | 0:f7c60d3e7b8a | 16 | #ifndef _NS_FSC_H |
maclobdell | 0:f7c60d3e7b8a | 17 | #define _NS_FSC_H |
maclobdell | 0:f7c60d3e7b8a | 18 | |
maclobdell | 0:f7c60d3e7b8a | 19 | #include "ns_types.h" |
maclobdell | 0:f7c60d3e7b8a | 20 | |
maclobdell | 0:f7c60d3e7b8a | 21 | #define NEXT_HEADER_TCP 0x06 |
maclobdell | 0:f7c60d3e7b8a | 22 | #define NEXT_HEADER_UDP 0x11 |
maclobdell | 0:f7c60d3e7b8a | 23 | #define NEXT_HEADER_ICMP6 0x3A |
maclobdell | 0:f7c60d3e7b8a | 24 | |
maclobdell | 0:f7c60d3e7b8a | 25 | extern uint16_t ip_fcf_v(uint_fast8_t count, const ns_iovec_t vec[static count]); |
maclobdell | 0:f7c60d3e7b8a | 26 | extern uint16_t ipv6_fcf(const uint8_t src_address[static 16], const uint8_t dest_address[static 16], |
maclobdell | 0:f7c60d3e7b8a | 27 | uint16_t data_length, const uint8_t data_ptr[static data_length], uint8_t next_protocol); |
maclobdell | 0:f7c60d3e7b8a | 28 | |
maclobdell | 0:f7c60d3e7b8a | 29 | #endif |