X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Include%2Fvos_byteorder.h;fp=Include%2Fvos_byteorder.h;h=528ca90ca6833f72859cad14b0758daf8a09905f;hb=e93798699eccb72af04938fc9b0d7a836e284488;hp=0e5aa5cf0e3b8b72d595ea182ec9e34ac9d26177;hpb=94f13ab3e8da393eb27ccc561d31b447b1367c56;p=scp%2Focu%2F5gnr.git diff --git a/Include/vos_byteorder.h b/Include/vos_byteorder.h index 0e5aa5c..528ca90 100644 --- a/Include/vos_byteorder.h +++ b/Include/vos_byteorder.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. +* +*******************************************************************************/ + @@ -32,7 +44,7 @@ extern "C"{ #ifndef VOS_NTOHL /* 4字节 */ #if 0 #define VOS_NTOHL(x) ((((x) & 0xFF000000)>>24) | (((x) & 0x00FF0000)>>8) | \ - (((x) & 0x0000FF00)<<8 ) | (((x) & 0x000000FF)<<24)) + (((x) & 0x0000FF00)<<8 ) | (((x) & 0x000000FF)<<24)) #endif #define VOS_NTOHL(x) ntohl(x) #endif