Lines Matching refs:pkt_octet_len
649 srtp_hdr_t *srtp_create_test_packet(int pkt_octet_len, in srtp_create_test_packet() argument
659 hdr = (srtp_hdr_t *)malloc(pkt_octet_len + bytes_in_hdr + in srtp_create_test_packet()
679 for (i = 0; i < pkt_octet_len; i++) { in srtp_create_test_packet()
688 *pkt_len = bytes_in_hdr + pkt_octet_len; in srtp_create_test_packet()
693 static srtp_hdr_t *srtp_create_test_packet_extended(int pkt_octet_len, in srtp_create_test_packet_extended() argument
701 hdr = srtp_create_test_packet(pkt_octet_len, ssrc, pkt_len); in srtp_create_test_packet_extended()
710 srtp_hdr_t *srtp_create_test_packet_ext_hdr(int pkt_octet_len, in srtp_create_test_packet_ext_hdr() argument
737 hdr = (srtp_hdr_t *)malloc(pkt_octet_len + bytes_in_hdr + in srtp_create_test_packet_ext_hdr()
760 for (i = 0; i < pkt_octet_len; i++) in srtp_create_test_packet_ext_hdr()
767 *pkt_len = bytes_in_hdr + sizeof(extension_header) + pkt_octet_len; in srtp_create_test_packet_ext_hdr()
1559 char *srtp_packet_to_string(srtp_hdr_t *hdr, int pkt_octet_len) in srtp_packet_to_string() argument
1563 int hex_len = pkt_octet_len - octets_in_rtp_header; in srtp_packet_to_string()
1566 if ((hdr == NULL) || (pkt_octet_len > MTU)) { in srtp_packet_to_string()
1585 pkt_octet_len); in srtp_packet_to_string()