source: svn/newcon3bcm2_21bu/BSEAV/api/include/bsettop_ip.h @ 76

Last change on this file since 76 was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 3.9 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2004-2009, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: bsettop_ip.h $
11 * $brcm_Revision: 7 $
12 * $brcm_Date: 7/28/09 10:28a $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /BSEAV/api/include/bsettop_ip.h $
19 *
20 * 7   7/28/09 10:28a vsilyaev
21 * PR55693: Add DTCP/IP context
22 *
23 * PR55693/1   7/27/09 6:53p lwhite
24 * PR55693: Add DTCP/IP context
25 *
26 * 6   6/24/09 6:47p vsilyaev
27 * PR53773: Adding DTCP/IP + SSL Support in Brutus
28 *
29 * PR53773/2   6/24/09 6:24p lwhite
30 * PR53773: Adding DTCP/IP + SSL Support in Brutus
31 *
32 * PR53773/1   6/24/09 5:22p lwhite
33 * PR53773: Adding DTCP/IP + SSL Support in Brutus
34 *
35 * 5   9/4/07 10:19a jgarrett
36 * PR 34578: Adding bsettop_ip_protocol_rtp_fec
37 *
38 * 4   8/9/07 6:57p jgarrett
39 * PR33786: Net DMA & IP Streamer refactoring into bnetaccel driver +
40 * added new protocol for streaming over TCP
41 *
42 * 3   7/9/07 5:33p jgarrett
43 * PR 30010: Adding BRCM_UDP_SIZE_DGRAM_RECV
44 *
45 * 2   7/6/07 6:08p jgarrett
46 * PR 30010: Adding types for IPv6 and SOCK_BRCM_xxx definitions.
47 *
48 * 1   4/19/07 7:28p jgarrett
49 * PR 30010: Add TCP support
50 *
51 *******************************************************************************/
52#ifndef BSETTOP_IP_PROTOCOL_H__
53#define BSETTOP_IP_PROTOCOL_H__
54
55#ifdef __cplusplus
56extern "C" {
57#endif
58
59/**
60Summary:
61Used to specify what protocol is in use with the session
62 **/
63typedef enum bsettop_ip_protocol {
64        bsettop_ip_protocol_udp =0,                             /* plain UDP */
65        bsettop_ip_protocol_rtp,                                /* RTP and RTCP */
66        bsettop_ip_protocol_generic,                    /* No IP protocol bound */ 
67        bsettop_ip_protocol_rtp_no_rtcp,                /* RTP, but no RTCP */
68        bsettop_ip_protocol_rtp_direct,                 /* Feed RTP packet directly to PB */
69        bsettop_ip_protocol_rtp_fec,            /* RTP Streaming with FEC */
70        bsettop_ip_protocol_rtsp,                               /* RTSP */
71        bsettop_ip_protocol_http,                               /* HTTP */
72        bsettop_ip_protocol_udp_socket,         /* UDP Payload via Socket Interface */
73        bsettop_ip_protocol_rtp_socket,         /* RTP Payload via Socket Interface */
74        bsettop_ip_protocol_http_socket,        /* HTTP Payload via Socket Interface */
75        bsettop_ip_protocol_udp6_socket,        /* IPv6 UDP Payload via Socket Interface */
76        bsettop_ip_protocol_rtp6_socket,        /* IPv6 RTP Payload via Socket Interface */
77        bsettop_ip_protocol_http6_socket,       /* IPv6 HTTP Payload via Socket Interface */
78        bsettop_ip_protocol_tcp                 /* Streaming over TCP */
79} bsettop_ip_protocol;
80
81typedef enum bsettop_ip_security_protocol {
82        bsettop_ip_security_none =0,                     /* no security */
83        bsettop_ip_security_ssl,                 /* TLS/SSL */
84        bsettop_ip_security_dtcp_ip,             /* DTCP IP */
85        bsettop_ip_security_radea                /* Rad EA security */
86} bsettop_ip_security_protocol;
87
88typedef struct bsettop_ip_ssl_info {
89    char ca_file[128];           /* CA File */
90    char ca_path[128];           /* CA Path - reserved - not yet implemented */
91    char client_cert_file[128];   /* Certificate file */
92    char client_cert_key[128];    /* Certificate key file */
93    char password[16];          /* Password */
94} bsettop_ip_ssl_info;
95
96typedef struct bsettop_ip_dtcp_ip_info {
97    void *dtcp_ip_ctx;                /* DTCP/IP security context */
98    unsigned ake_server_port;          /* Port number for connecting to the DTCP/IP Authentication server */
99} bsettop_ip_dtcp_ip_info; 
100
101typedef struct bsettop_ip_security {
102    bsettop_ip_security_protocol security_protocol;
103    struct security_info {
104        bsettop_ip_ssl_info ssl;
105        bsettop_ip_dtcp_ip_info dtcp_ip;
106    }security_info;
107} bsettop_ip_security;
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif /* BSETTOP_IP_PROTOCOL_H__ */
Note: See TracBrowser for help on using the repository browser.