Dependencies:   MMA7660 LM75B

Committer:
MACRUM
Date:
Sat Jun 30 01:40:30 2018 +0000
Revision:
0:119624335925
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MACRUM 0:119624335925 1 /*
MACRUM 0:119624335925 2 * Copyright (c) 2014-2015 ARM Limited. All rights reserved.
MACRUM 0:119624335925 3 * SPDX-License-Identifier: Apache-2.0
MACRUM 0:119624335925 4 * Licensed under the Apache License, Version 2.0 (the License); you may
MACRUM 0:119624335925 5 * not use this file except in compliance with the License.
MACRUM 0:119624335925 6 * You may obtain a copy of the License at
MACRUM 0:119624335925 7 *
MACRUM 0:119624335925 8 * http://www.apache.org/licenses/LICENSE-2.0
MACRUM 0:119624335925 9 *
MACRUM 0:119624335925 10 * Unless required by applicable law or agreed to in writing, software
MACRUM 0:119624335925 11 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
MACRUM 0:119624335925 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
MACRUM 0:119624335925 13 * See the License for the specific language governing permissions and
MACRUM 0:119624335925 14 * limitations under the License.
MACRUM 0:119624335925 15 */
MACRUM 0:119624335925 16 #ifndef _NS_FSC_H
MACRUM 0:119624335925 17 #define _NS_FSC_H
MACRUM 0:119624335925 18
MACRUM 0:119624335925 19 #include "ns_types.h"
MACRUM 0:119624335925 20
MACRUM 0:119624335925 21 #define NEXT_HEADER_TCP 0x06
MACRUM 0:119624335925 22 #define NEXT_HEADER_UDP 0x11
MACRUM 0:119624335925 23 #define NEXT_HEADER_ICMP6 0x3A
MACRUM 0:119624335925 24
MACRUM 0:119624335925 25 extern uint16_t ip_fcf_v(uint_fast8_t count, const ns_iovec_t vec[static count]);
MACRUM 0:119624335925 26 extern uint16_t ipv6_fcf(const uint8_t src_address[static 16], const uint8_t dest_address[static 16],
MACRUM 0:119624335925 27 uint16_t data_length, const uint8_t data_ptr[static data_length], uint8_t next_protocol);
MACRUM 0:119624335925 28
MACRUM 0:119624335925 29 #endif