• Home
  • Raw
  • Download

Lines Matching refs:spdu

39     guint8 * spdu, guint spdu_length);
94 guint8 *spdu; in cam_sl_create_session() local
115 spdu = tpdu + offset; in cam_sl_create_session()
119 spdu[0] = TAG_CREATE_SESSION; in cam_sl_create_session()
121 spdu[1] = 6; in cam_sl_create_session()
125 GST_WRITE_UINT32_BE (&spdu[2], resource_id); in cam_sl_create_session()
127 GST_WRITE_UINT16_BE (&spdu[6], session_nb); in cam_sl_create_session()
156 guint8 *spdu; in cam_sl_session_close() local
170 spdu = tpdu + offset; in cam_sl_session_close()
174 spdu[0] = TAG_CLOSE_SESSION_REQUEST; in cam_sl_session_close()
176 spdu[1] = 2; in cam_sl_session_close()
179 GST_WRITE_UINT16_BE (&spdu[2], session->session_nb); in cam_sl_session_close()
212 guint8 *spdu; in cam_sl_session_write() local
221 spdu = (buffer + buffer_size) - body_length - 4; in cam_sl_session_write()
222 spdu[0] = TAG_SESSION_NUMBER; in cam_sl_session_write()
223 spdu[1] = 2; in cam_sl_session_write()
224 GST_WRITE_UINT16_BE (&spdu[2], session->session_nb); in cam_sl_session_write()
238 guint8 *spdu; in send_open_session_response() local
251 spdu = tpdu + offset; in send_open_session_response()
253 spdu[0] = TAG_OPEN_SESSION_RESPONSE; in send_open_session_response()
255 spdu[1] = 7; in send_open_session_response()
256 spdu[2] = status; in send_open_session_response()
257 GST_WRITE_UINT32_BE (&spdu[3], session->resource_id); in send_open_session_response()
258 GST_WRITE_UINT16_BE (&spdu[7], session->session_nb); in send_open_session_response()
275 guint8 *spdu; in send_close_session_response() local
287 spdu = tpdu + offset; in send_close_session_response()
289 spdu[0] = TAG_OPEN_SESSION_RESPONSE; in send_close_session_response()
291 spdu[1] = 3; in send_close_session_response()
292 spdu[2] = status; in send_close_session_response()
293 GST_WRITE_UINT16_BE (&spdu[3], session->session_nb); in send_close_session_response()
305 guint8 * spdu, guint spdu_length) in handle_open_session_request() argument
325 resource_id = GST_READ_UINT32_BE (&spdu[2]); in handle_open_session_request()
380 guint8 * spdu, guint spdu_length) in handle_create_session_response() argument
401 session_nb = GST_READ_UINT16_BE (&spdu[7]); in handle_create_session_response()
429 guint8 * spdu, guint spdu_length) in handle_close_session_request() argument
448 session_nb = GST_READ_UINT16_BE (&spdu[2]); in handle_close_session_request()
491 guint8 * spdu, guint spdu_length) in handle_close_session_response() argument
511 session_nb = GST_READ_UINT16_BE (&spdu[3]); in handle_close_session_response()
533 guint8 * spdu, guint length) in handle_session_data() argument
550 session_nb = GST_READ_UINT16_BE (&spdu[2]); in handle_session_data()
561 return sl->session_data (sl, session, spdu + 4, length - 4); in handle_session_data()
568 guint8 * spdu, guint spdu_length) in connection_data_cb() argument
573 switch (spdu[I_TAG]) { in connection_data_cb()
575 ret = handle_create_session_response (sl, connection, spdu, spdu_length); in connection_data_cb()
578 ret = handle_open_session_request (sl, connection, spdu, spdu_length); in connection_data_cb()
581 ret = handle_close_session_request (sl, connection, spdu, spdu_length); in connection_data_cb()
584 ret = handle_close_session_response (sl, connection, spdu, spdu_length); in connection_data_cb()
587 ret = handle_session_data (sl, connection, spdu, spdu_length); in connection_data_cb()