X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcu_app%2Fcu_sctp.h;fp=src%2Fcu_app%2Fcu_sctp.h;h=0000000000000000000000000000000000000000;hb=d349ae65e1495488772f87e5cfa1ae71d9eab075;hp=1d1c371aadb870dae39ea50354988e90f8a95dfa;hpb=829bbd114f1c3dc00c1da47bca0a8207c049df3f;p=o-du%2Fl2.git diff --git a/src/cu_app/cu_sctp.h b/src/cu_app/cu_sctp.h deleted file mode 100644 index 1d1c371aa..000000000 --- a/src/cu_app/cu_sctp.h +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* -################################################################################ -# Copyright (c) [2017-2019] [Radisys] # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); # -# you may not use this file except in compliance with the License. # -# You may obtain a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# 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. # -################################################################################ -*******************************************************************************/ - -/* This file contains all SCTP related functionality */ - -#ifndef __CU_SCTP_H__ -#define __CU_SCTP_H__ - -#include -#include -#include "cu_mgr_main.h" - -EXTERN S16 sctpActvInit(Ent entity, Inst inst, Region region, Reason reason); -EXTERN S16 sctpActvTsk(Pst *pst, Buffer *mBuf); -EXTERN void sctpStartReq(); -EXTERN S16 sctpOutMsgSend(char *message, U8 msglen); - -#define REALLY_BIG 65536 - -/* Convenience structure to determine space needed for cmsg. */ -typedef union -{ - struct sctp_initmsg init; - struct sctp_sndrcvinfo sndrcvinfo; -}_sctp_cmsg_data_t; - -#define CMSG_SPACE_INITMSG (CMSG_SPACE(sizeof(struct sctp_initmsg))) -#define CMSG_SPACE_SNDRCV (CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))) - -typedef union -{ - struct sockaddr_storage ss; - struct sockaddr_in v4; - struct sockaddr_in6 v6; - struct sockaddr sa; -} sockaddr_storage_t; - -#endif - -/********************************************************************** - End of file - **********************************************************************/