Skip to content

Commit

Permalink
fix st30 and st40
Browse files Browse the repository at this point in the history
Signed-off-by: Ric Li <[email protected]>
  • Loading branch information
ricmli committed Dec 6, 2023
1 parent b98e7bf commit c97cdc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion include/st30_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ struct st30_tx_ops {
* Include the PCIE port and other required info
*/
struct st30_rx_ops {
/** Mandatory. source IP address of sender */
/** Mandatory. source IP address of sender or multicast IP address */
uint8_t sip_addr[MTL_SESSION_PORT_MAX][MTL_IP_ADDR_LEN];
/** Mandatory. 1 or 2, num of ports this session attached to */
uint8_t num_port;
Expand All @@ -371,6 +371,8 @@ struct st30_rx_ops {
/** Mandatory. 7 bits payload type define in RFC3550 */
uint8_t payload_type;

/** Optional. source filter IP address of multicast */
uint8_t mcast_sip_addr[MTL_SESSION_PORT_MAX][MTL_IP_ADDR_LEN];
/** Optional. Synchronization source defined in RFC3550, RX session will check the
* incoming RTP packets match the ssrc. Leave to zero to disable the ssrc check */
uint32_t ssrc;
Expand Down
4 changes: 3 additions & 1 deletion include/st40_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ struct st40_tx_ops {
* Include the PCIE port and other required info
*/
struct st40_rx_ops {
/** Mandatory. source IP address of sender */
/** Mandatory. source IP address of sender or multicast IP address */
uint8_t sip_addr[MTL_SESSION_PORT_MAX][MTL_IP_ADDR_LEN];
/** Mandatory. 1 or 2, num of ports this session attached to */
uint8_t num_port;
Expand All @@ -310,6 +310,8 @@ struct st40_rx_ops {
/** Mandatory. 7 bits payload type define in RFC3550 */
uint8_t payload_type;

/** Optional. source filter IP address of multicast */
uint8_t mcast_sip_addr[MTL_SESSION_PORT_MAX][MTL_IP_ADDR_LEN];
/** Optional. Synchronization source defined in RFC3550, RX session will check the
* incoming RTP packets match the ssrc. Leave to zero to disable the ssrc check */
uint32_t ssrc;
Expand Down

0 comments on commit c97cdc1

Please sign in to comment.