AM243x MCU+ SDK
08.06.00
PN_ForwardDecisionTable.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 Texas Instruments Incorporated
3
*
4
* Redistribution and use in source and binary forms, with or without
5
* modification, are permitted provided that the following conditions
6
* are met:
7
*
8
* Redistributions of source code must retain the above copyright
9
* notice, this list of conditions and the following disclaimer.
10
*
11
* Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the
14
* distribution.
15
*
16
* Neither the name of Texas Instruments Incorporated nor the names of
17
* its contributors may be used to endorse or promote products derived
18
* from this software without specific prior written permission.
19
*
20
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
*/
32
33
#ifndef PN_FORWARD_DECISION_TABLE_H_
34
#define PN_FORWARD_DECISION_TABLE_H_
35
36
#ifdef __cplusplus
37
extern
"C"
38
{
39
#endif
40
41
42
/* ========================================================================== */
43
/* Include Files */
44
/* ========================================================================== */
45
46
/* ========================================================================== */
47
/* Global Variables */
48
/* ========================================================================== */
49
50
/* Each row in table represent 32 MAC Addresses which are listed on right side */
51
/* There is one bit for each of 32 MAC Addresses in a row */
52
/* If value of bit is 1 that means frame with corresponding MAC Address will be forwarded otherwise it is not forwarded */
53
/* Following MAC Addresses are parsed separately by the PRU Firmware. For these MAC Addresses decision table is not referred */
54
/* 01-0E-CF-00-01-01 (RTC3 Frames), 01-0E-CF-00-04-20 (PTCP-RTSyncPDU Frames with Follow Up) */
55
/* 01-0E-CF 00-04-40 (PTCP-FollowUpPDU Frames), 01-0E-CF 00-04-80 (PTCP-RTSyncPDU Frames) */
56
57
const
uint32_t
PN_Forward_Decision_Table
[] =
58
{
59
0x00000003,
/* 01-0E-CF-00-00-00 .. 01-0E-CF-00-00-1F */
60
0x00000000,
/* 01-0E-CF-00-00-20 .. 01-0E-CF-00-00-3F */
61
0x00000000,
/* 01-0E-CF-00-00-40 .. 01-0E-CF-00-00-5F */
62
0x00000000,
/* 01-0E-CF-00-00-60 .. 01-0E-CF-00-00-7F */
63
0x00000000,
/* 01-0E-CF-00-00-80 .. 01-0E-CF-00-00-9F */
64
0x00000000,
/* 01-0E-CF-00-00-A0 .. 01-0E-CF-00-00-BF */
65
0x00000000,
/* 01-0E-CF-00-00-C0 .. 01-0E-CF-00-00-DF */
66
0x00000000,
/* 01-0E-CF-00-00-E0 .. 01-0E-CF-00-00-FF */
67
0x00000000,
/* 01-0E-CF-00-01-00 .. 01-0E-CF-00-01-1F */
68
0x00000000,
/* 01-0E-CF-00-01-20 .. 01-0E-CF-00-01-3F */
69
0x00000000,
/* 01-0E-CF-00-01-40 .. 01-0E-CF-00-01-5F */
70
0x00000000,
/* 01-0E-CF-00-01-60 .. 01-0E-CF-00-01-7F */
71
0x00000000,
/* 01-0E-CF-00-01-80 .. 01-0E-CF-00-01-9F */
72
0x00000000,
/* 01-0E-CF-00-01-A0 .. 01-0E-CF-00-01-BF */
73
0x00000000,
/* 01-0E-CF-00-01-C0 .. 01-0E-CF-00-01-DF */
74
0x00000000,
/* 01-0E-CF-00-01-E0 .. 01-0E-CF-00-01-FF */
75
0xffffffff,
/* 01-0E-CF-00-02-00 .. 01-0E-CF-00-02-1F */
76
0xffffffff,
/* 01-0E-CF-00-02-20 .. 01-0E-CF-00-02-3F */
77
0xffffffff,
/* 01-0E-CF-00-02-40 .. 01-0E-CF-00-02-5F */
78
0xffffffff,
/* 01-0E-CF-00-02-60 .. 01-0E-CF-00-02-7F */
79
0xffffffff,
/* 01-0E-CF-00-02-80 .. 01-0E-CF-00-02-9F */
80
0xffffffff,
/* 01-0E-CF-00-02-A0 .. 01-0E-CF-00-02-BF */
81
0xffffffff,
/* 01-0E-CF-00-02-C0 .. 01-0E-CF-00-02-DF */
82
0xffffffff,
/* 01-0E-CF-00-02-E0 .. 01-0E-CF-00-02-FF */
83
0x00000000,
/* 01-0E-CF-00-03-00 .. 01-0E-CF-00-03-1F */
84
0x00000000,
/* 01-0E-CF-00-03-20 .. 01-0E-CF-00-03-3F */
85
0x00000000,
/* 01-0E-CF-00-03-40 .. 01-0E-CF-00-03-5F */
86
0x00000000,
/* 01-0E-CF-00-03-60 .. 01-0E-CF-00-03-7F */
87
0x00000000,
/* 01-0E-CF-00-03-80 .. 01-0E-CF-00-03-9F */
88
0x00000000,
/* 01-0E-CF-00-03-A0 .. 01-0E-CF-00-03-BF */
89
0x00000000,
/* 01-0E-CF-00-03-C0 .. 01-0E-CF-00-03-DF */
90
0x00000000,
/* 01-0E-CF-00-03-E0 .. 01-0E-CF-00-03-FF */
91
0x00000001,
/* 01-0E-CF-00-04-00 .. 01-0E-CF-00-04-1F */
92
0x00000001,
/* 01-0E-CF-00-04-20 .. 01-0E-CF-00-04-3F */
93
0x00000001,
/* 01-0E-CF-00-04-40 .. 01-0E-CF-00-04-5F */
94
0x00000000,
/* 01-0E-CF-00-04-60 .. 01-0E-CF-00-04-7F */
95
0x00000001,
/* 01-0E-CF-00-04-80 .. 01-0E-CF-00-04-9F */
96
0x00000000,
/* 01-0E-CF-00-04-A0 .. 01-0E-CF-00-04-BF */
97
0x00000000,
/* 01-0E-CF-00-04-C0 .. 01-0E-CF-00-04-DF */
98
0x00000000,
/* 01-0E-CF-00-04-E0 .. 01-0E-CF-00-04-FF */
99
0x00000000,
/* 01-0E-CF-00-05-00 .. 01-0E-CF-00-05-1F */
100
0x00000000,
/* 01-0E-CF-00-05-20 .. 01-0E-CF-00-05-3F */
101
0x00000000,
/* 01-0E-CF-00-05-40 .. 01-0E-CF-00-05-5F */
102
0x00000000,
/* 01-0E-CF-00-05-60 .. 01-0E-CF-00-05-7F */
103
0x00000000,
/* 01-0E-CF-00-05-80 .. 01-0E-CF-00-05-9F */
104
0x00000000,
/* 01-0E-CF-00-05-A0 .. 01-0E-CF-00-05-BF */
105
0x00000000,
/* 01-0E-CF-00-05-C0 .. 01-0E-CF-00-05-DF */
106
0x00000000,
/* 01-0E-CF-00-05-E0 .. 01-0E-CF-00-05-FF */
107
0x00000006,
/* 01-15-4E-00-00-00 .. 01-15-4E-00-00-1F */
108
0x00000001
/* 01-80-C2-00-00-00 .. 01-80-C2-00-00-1F */
109
};
110
111
112
#ifdef __cplusplus
113
}
114
#endif
115
116
#endif
/* PN_FORWARD_DECISION_TABLE_H_ */
PN_Forward_Decision_Table
const uint32_t PN_Forward_Decision_Table[]
Definition:
PN_ForwardDecisionTable.h:57
source
industrial_comms
profinet_device
icss_fwhal
PN_ForwardDecisionTable.h
generated by
1.8.20