| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2004-2007, 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.c $ |
|---|
| 11 | * $brcm_Revision: 1 $ |
|---|
| 12 | * $brcm_Date: 10/15/07 2:36p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /BSEAV/api/src/nexus/bsettop_ip.c $ |
|---|
| 19 | * |
|---|
| 20 | * 1 10/15/07 2:36p erickson |
|---|
| 21 | * PR36068: initial |
|---|
| 22 | * |
|---|
| 23 | * 5 9/4/07 10:19a jgarrett |
|---|
| 24 | * PR 34578: Adding bsettop_ip_protocol_rtp_fec |
|---|
| 25 | * |
|---|
| 26 | * 4 8/9/07 6:57p jgarrett |
|---|
| 27 | * PR33786: Net DMA & IP Streamer refactoring into bnetaccel driver + |
|---|
| 28 | * added new protocol for streaming over TCP |
|---|
| 29 | * |
|---|
| 30 | * 3 7/9/07 5:33p jgarrett |
|---|
| 31 | * PR 30010: Adding BRCM_UDP_SIZE_DGRAM_RECV |
|---|
| 32 | * |
|---|
| 33 | * 2 7/6/07 6:08p jgarrett |
|---|
| 34 | * PR 30010: Adding types for IPv6 and SOCK_BRCM_xxx definitions. |
|---|
| 35 | * |
|---|
| 36 | * 1 4/19/07 7:28p jgarrett |
|---|
| 37 | * PR 30010: Add TCP support |
|---|
| 38 | * |
|---|
| 39 | *******************************************************************************/ |
|---|
| 40 | #ifndef BSETTOP_IP_PROTOCOL_H__ |
|---|
| 41 | #define BSETTOP_IP_PROTOCOL_H__ |
|---|
| 42 | |
|---|
| 43 | #ifdef __cplusplus |
|---|
| 44 | extern "C" { |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | /** |
|---|
| 48 | Summary: |
|---|
| 49 | Used to specify what protocol is in use with the session |
|---|
| 50 | **/ |
|---|
| 51 | typedef enum bsettop_ip_protocol { |
|---|
| 52 | bsettop_ip_protocol_udp =0, /* plain UDP */ |
|---|
| 53 | bsettop_ip_protocol_rtp, /* RTP and RTCP */ |
|---|
| 54 | bsettop_ip_protocol_generic, /* No IP protocol bound */ |
|---|
| 55 | bsettop_ip_protocol_rtp_no_rtcp, /* RTP, but no RTCP */ |
|---|
| 56 | bsettop_ip_protocol_rtp_direct, /* Feed RTP packet directly to PB */ |
|---|
| 57 | bsettop_ip_protocol_rtp_fec, /* RTP Streaming with FEC */ |
|---|
| 58 | bsettop_ip_protocol_rtsp, /* RTSP */ |
|---|
| 59 | bsettop_ip_protocol_http, /* HTTP */ |
|---|
| 60 | bsettop_ip_protocol_udp_socket, /* UDP Payload via Socket Interface */ |
|---|
| 61 | bsettop_ip_protocol_rtp_socket, /* RTP Payload via Socket Interface */ |
|---|
| 62 | bsettop_ip_protocol_http_socket, /* HTTP Payload via Socket Interface */ |
|---|
| 63 | bsettop_ip_protocol_udp6_socket, /* IPv6 UDP Payload via Socket Interface */ |
|---|
| 64 | bsettop_ip_protocol_rtp6_socket, /* IPv6 RTP Payload via Socket Interface */ |
|---|
| 65 | bsettop_ip_protocol_http6_socket, /* IPv6 HTTP Payload via Socket Interface */ |
|---|
| 66 | bsettop_ip_protocol_tcp /* Streaming over TCP */ |
|---|
| 67 | } bsettop_ip_protocol; |
|---|
| 68 | |
|---|
| 69 | #ifdef __cplusplus |
|---|
| 70 | } |
|---|
| 71 | #endif |
|---|
| 72 | |
|---|
| 73 | #endif /* BSETTOP_IP_PROTOCOL_H__ */ |
|---|