X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2Fvos_types.h;fp=Include%2Fvos_types.h;h=4884d169035094c2390fdee7aff7192aaf0de446;hb=e93798699eccb72af04938fc9b0d7a836e284488;hp=ba9c8c9dff67b9b29a7e40bf74d8a9d2144c69f8;hpb=94f13ab3e8da393eb27ccc561d31b447b1367c56;p=scp%2Focu%2F5gnr.git diff --git a/Include/vos_types.h b/Include/vos_types.h index ba9c8c9..4884d16 100644 --- a/Include/vos_types.h +++ b/Include/vos_types.h @@ -1,9 +1,21 @@ /****************************************************************************** -############################################################################### -# Copyright (c) [2017-2020] [ICT/CAS] # -# Licensed under the ORAN Software License v1.0 (License) # -############################################################################### -******************************************************************************/ +* +* Copyright (c) 2020 ICT/CAS. +* +* Licensed under the O-RAN Software License, Version 1.0 (the "Software License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* https://www.o-ran.org/software +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*******************************************************************************/ + #include "vos_sys_diff.h" @@ -230,9 +242,9 @@ typedef unsigned long long ulonglong; #endif #if OS_LINUX -#define inline -#define _inline -#define __inline__ +#define inline +#define _inline +#define __inline__ #define __const__ const #define __signed__ signed #define __const__ const @@ -271,7 +283,7 @@ typedef struct{ /** IPv4 addr */ UINT ip4; /** IPv6 addr structure */ - union + union { UCHAR addr8[16]; USHORT addr16[8];