Lines Matching refs:hdr
69 static char *pt2str(uint8_t hdr)
71 switch (hdr & 0x0c) {
85 static char *mt2str(uint8_t hdr)
87 switch (hdr & 0x03) {
285 static inline void discover(int level, uint8_t hdr, struct frame *frm)
289 switch (hdr & 0x03) {
307 static inline void get_capabilities(int level, uint8_t hdr, struct frame *frm)
309 switch (hdr & 0x03) {
322 static inline void set_configuration(int level, uint8_t hdr, struct frame *frm)
326 switch (hdr & 0x03) {
340 static inline void get_configuration(int level, uint8_t hdr, struct frame *frm)
342 switch (hdr & 0x03) {
354 static inline void reconfigure(int level, uint8_t hdr, struct frame *frm)
358 switch (hdr & 0x03) {
372 static inline void open_close_stream(int level, uint8_t hdr, struct frame *frm)
374 switch (hdr & 0x03) {
384 static inline void start_suspend_stream(int level, uint8_t hdr, struct frame *frm)
386 switch (hdr & 0x03) {
398 static inline void abort_streaming(int level, uint8_t hdr, struct frame *frm)
400 switch (hdr & 0x03) {
407 static inline void security(int level, uint8_t hdr, struct frame *frm)
409 switch (hdr & 0x03) {
425 uint8_t hdr, sid, nsp, type;
432 hdr = get_u8(frm);
434 nsp = (hdr & 0x0c) == 0x04 ? get_u8(frm) : 0;
435 sid = hdr & 0x08 ? 0x00 : get_u8(frm);
438 hdr & 0x08 ? pt2str(hdr) : si2str(sid), mt2str(hdr), hdr >> 4);
442 discover(level + 1, hdr, frm);
445 get_capabilities(level + 1, hdr, frm);
448 set_configuration(level + 1, hdr, frm);
451 get_configuration(level + 1, hdr, frm);
454 reconfigure(level + 1, hdr, frm);
457 open_close_stream(level + 1, hdr, frm);
460 start_suspend_stream(level + 1, hdr, frm);
463 open_close_stream(level + 1, hdr, frm);
466 start_suspend_stream(level + 1, hdr, frm);
469 abort_streaming(level + 1, hdr, frm);
472 security(level + 1, hdr, frm);
480 hdr = get_u8(frm);
487 hdr >> 6, hdr & 0x20 ? "pad " : "", hdr & 0x10 ? "ext " : "",
488 hdr & 0xf, type & 0x80 ? "mark " : "", type & 0x7f, seqn, time, ssrc);