This repository was archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
837 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#.rst: | ||
# FindSCTP | ||
# -------- | ||
# | ||
# Find libsctp | ||
# | ||
# Find libsctp headers and libraries. | ||
# | ||
# :: | ||
# | ||
# SCTP_INCLUDE_DIRS - where to find sctp.h | ||
# SCTP_LIBRARIES - List of libraries when using libsctp. | ||
# SCTP_FOUND - True if libSCTP found. | ||
# SCTP_VERSION - Version of found libsctp. | ||
|
||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(SCTP libsctp) | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set TASN_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SCTP | ||
REQUIRED_VARS SCTP_LIBRARIES | ||
VERSION_VAR SCTP_VERSION) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto2"; | ||
|
||
message SctpBusPDU { | ||
required int32 src_node_id = 1; | ||
required string src_session_id = 2; | ||
required int32 dst_node_id = 3; | ||
required string dst_session_id = 4; | ||
|
||
enum EventType { | ||
REQUEST = 0; | ||
REPLY = 1; | ||
} | ||
optional EventType type = 5 [default = REQUEST]; | ||
|
||
/* sequence to match requests/replies within connection. | ||
must be set for replies and for requests which are need replies */ | ||
optional uint64 sequence = 6; | ||
|
||
required bytes payload = 0xf; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
syntax = "proto2"; | ||
|
||
import "CfgRequest.proto"; | ||
import "CfgResponse.proto"; | ||
|
||
message YetiEvent { | ||
oneof data { | ||
CfgRequest cfg_request = 10; | ||
CfgResponse cfg_response = 11; | ||
string json = 12; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.