|
RDK Documentation (Open Sourced RDK Components)
|
23 static int started = 0;
24 static int initialized = 0;
33 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
36 printf(
"initialized Manager\n");
41 printf(
"Already initialized\n");
48 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
49 printf(
"invoked start source with IFNAME: %s , port number: %d\n",ifName,portNum);
55 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
58 printf(
"stopped DTCP Manager\n");
63 printf (
"Already stopped\n");
75 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
76 printf(
"invoked create source session with sinkIP: %s ; key label: %d,PCPPacketSize = %d, MaxPAcketSize = %d\n",
93 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
94 printf(
"invoked create sink session with srcIP: %s ; srcIpPort: %d,uniqueKey = %c, MaxPAcketSize = %d\n",
108 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
110 printf(
"Enetered with sessionId = %d\n",locHandle->id);
117 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
123 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
132 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
139 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
148 printf(
"Entered fucntion %s\n",__PRETTY_FUNCTION__);
dtcp_result_t DTCPMgrInitialize(void)
Initializes the DTCP Manager.
dtcp_result_t
DTCP Manager return codes.
unsigned char BOOLEAN
DTCP Manager return codes.
DTCPDeviceType
DTCP-IP device types.
DTCP_SESSION_HANDLE session_handle
dtcp_result_t DTCPMgrDeleteDTCPSession(DTCP_SESSION_HANDLE session)
Deletes a DTCP-IP session.
struct DTCPIP_Session_s DTCPIP_Session
DTCP-IP session structure.
dtcp_result_t DTCPMgrCreateSourceSession(char *sinkIpAddress, int key_label, int PCPPacketSize, int maxPacketSize, DTCP_SESSION_HANDLE *handle)
Creates a new DTCP-IP source session.
dtcp_result_t DTCPMgrReleasePacket(DTCPIP_Packet *packet)
Releases a processed DTCP-IP packet.
dtcp_result_t DTCPMgrStartSource(char *ifName, int portNum)
Starts the DTCP-IP source.
dtcp_result_t DTCPMgrStopSource(void)
Stops the DTCP-IP source.
DTCP-IP session structure.
int DTCPMgrGetNumSessions(DTCPDeviceType deviceType)
Gets the number of active sessions.
dtcp_result_t DTCPMgrProcessPacket(DTCP_SESSION_HANDLE session, DTCPIP_Packet *packet)
Processes a DTCP-IP packet.
unsigned long DTCP_SESSION_HANDLE
DTCP-IP session handle.
dtcp_result_t DTCPMgrSetLogLevel(int level)
Sets log level.
dtcp_result_t DTCPMgrGetSessionInfo(DTCP_SESSION_HANDLE handle, DTCPIP_Session *session)
Gets session information.
dtcp_result_t DTCPMgrCreateSinkSession(char *srcIpAddress, int srcIpPort, BOOLEAN uniqueKey, int maxPacketSize, DTCP_SESSION_HANDLE *handle)
Creates a new DTCP-IP sink session.