Lines Matching refs:header

34   sender->message.header.seq = ntohs(sender->message.header.seq) + 1;  in rtp_sendto()
35 sender->message.header.seq = htons(sender->message.header.seq); in rtp_sendto()
36 sender->message.header.ts = ntohl(sender->message.header.ts) + 1; in rtp_sendto()
37 sender->message.header.ts = htonl(sender->message.header.ts); in rtp_sendto()
40 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len); in rtp_sendto()
48 srtp_print_packet(&sender->message.header, pkt_len); in rtp_sendto()
73 if (receiver->message.header.version != 2) { in rtp_recvfrom()
80 octets_recvd, receiver->message.header.ssrc); in rtp_recvfrom()
83 srtp_print_packet(&receiver->message.header, octets_recvd); in rtp_recvfrom()
88 &receiver->message.header, &octets_recvd); in rtp_recvfrom()
108 sender->message.header.ssrc = htonl(ssrc); in rtp_sender_init()
109 sender->message.header.ts = 0; in rtp_sender_init()
110 sender->message.header.seq = (uint16_t) rand(); in rtp_sender_init()
111 sender->message.header.m = 0; in rtp_sender_init()
112 sender->message.header.pt = 0x1; in rtp_sender_init()
113 sender->message.header.version = 2; in rtp_sender_init()
114 sender->message.header.p = 0; in rtp_sender_init()
115 sender->message.header.x = 0; in rtp_sender_init()
116 sender->message.header.cc = 0; in rtp_sender_init()
132 rcvr->message.header.ssrc = htonl(ssrc); in rtp_receiver_init()
133 rcvr->message.header.ts = 0; in rtp_receiver_init()
134 rcvr->message.header.seq = 0; in rtp_receiver_init()
135 rcvr->message.header.m = 0; in rtp_receiver_init()
136 rcvr->message.header.pt = 0x1; in rtp_receiver_init()
137 rcvr->message.header.version = 2; in rtp_receiver_init()
138 rcvr->message.header.p = 0; in rtp_receiver_init()
139 rcvr->message.header.x = 0; in rtp_receiver_init()
140 rcvr->message.header.cc = 0; in rtp_receiver_init()