Home
last modified time | relevance | path

Searched refs:pkt_len (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavformat/
Drtpdec_xiph.c66 int ident, fragmented, tdt, num_pkts, pkt_len, ret; in xiph_handle_packet() local
74 pkt_len = AV_RB16(data->split_buf + data->split_pos); in xiph_handle_packet()
76 if (pkt_len > data->split_buf_len - data->split_pos) { in xiph_handle_packet()
80 if ((ret = av_new_packet(pkt, pkt_len)) < 0) { in xiph_handle_packet()
85 memcpy(pkt->data, data->split_buf + data->split_pos, pkt_len); in xiph_handle_packet()
86 data->split_pos += pkt_len; in xiph_handle_packet()
101 pkt_len = AV_RB16(buf + 4); in xiph_handle_packet()
103 if (pkt_len > len - 6) { in xiph_handle_packet()
105 "Invalid packet length %d in %d byte packet\n", pkt_len, in xiph_handle_packet()
126 if ((ret = av_new_packet(pkt, pkt_len)) < 0) { in xiph_handle_packet()
[all …]
Dgxf.c285 static void gxf_read_index(AVFormatContext *s, int pkt_len) { in gxf_read_index() argument
290 if (pkt_len < 8) in gxf_read_index()
294 pkt_len -= 8; in gxf_read_index()
296 avio_skip(pb, pkt_len); in gxf_read_index()
306 if (pkt_len < 4 * map_cnt) { in gxf_read_index()
308 avio_skip(pb, pkt_len); in gxf_read_index()
311 pkt_len -= 4 * map_cnt; in gxf_read_index()
316 avio_skip(pb, pkt_len); in gxf_read_index()
501 int pkt_len; in gxf_packet() local
509 if (!parse_packet_header(pb, &pkt_type, &pkt_len)) { in gxf_packet()
[all …]
Drdt.c201 int pkt_len; in ff_rdt_parse_header() local
206 pkt_len = AV_RB16(buf+3); in ff_rdt_parse_header()
207 buf += pkt_len; in ff_rdt_parse_header()
208 len -= pkt_len; in ff_rdt_parse_header()
209 consumed += pkt_len; in ff_rdt_parse_header()
Dasfdec_o.c1384 uint16_t pkt_len = asf->asf_st[st_num]->virtual_pkt_len; in asf_deinterleave() local
1386 int nchunks = pkt_len / chunk_len; in asf_deinterleave()
1396 while (asf_pkt->data_size >= asf_st->span * pkt_len + pos) { in asf_deinterleave()
1400 for (l = 0; l < pkt_len; l++) { in asf_deinterleave()
1413 p += asf_st->span * pkt_len; in asf_deinterleave()
/third_party/ltp/testcases/network/sctp/
Dsctp_big_chunk.c31 static int pkt_len; variable
118 pkt_len = off; in setup_client()
120 tst_res(TINFO, "set chunk length %zu", pkt_len - cmn_hdr_off); in setup_client()
121 chunk_len = htons(pkt_len - cmn_hdr_off); in setup_client()
125 uint32_t csum = tst_crc32c(packet + ip6_hdr_len, pkt_len - ip6_hdr_len); in setup_client()
129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()
166 SAFE_SENDTO(1, cfd, packet, pkt_len, 0, (struct sockaddr *)&rmt, in run()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dlayout_kni_mbuf.rs27 pub pkt_len: u32, field
149 unsafe { ::std::ptr::addr_of!((*ptr).pkt_len) as usize - ptr as usize }, in bindgen_test_layout_rte_kni_mbuf()
155 stringify!(pkt_len) in bindgen_test_layout_rte_kni_mbuf()
Dlayout_mbuf.rs156 pub pkt_len: u32, field
1068 unsafe { ::std::ptr::addr_of!((*ptr).pkt_len) as usize - ptr as usize }, in bindgen_test_layout_rte_mbuf()
1074 stringify!(pkt_len) in bindgen_test_layout_rte_mbuf()
Dlayout_mbuf_1_0.rs203 pub pkt_len: u32, field
1114 unsafe { ::std::ptr::addr_of!((*ptr).pkt_len) as usize - ptr as usize }, in bindgen_test_layout_rte_mbuf()
1120 stringify!(pkt_len) in bindgen_test_layout_rte_mbuf()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dlayout_kni_mbuf.h26 uint32_t pkt_len; /**< Total pkt len: sum of all segment data_len. */ member
Dlayout_mbuf_1_0.h116 uint32_t pkt_len; /**< Total pkt len: sum of all segments. */ member
Dlayout_mbuf.h115 uint32_t pkt_len; /**< Total pkt len: sum of all segments. */ member
/third_party/libsnd/src/
Dogg_vorbis.c241 vdata->pcm_start = odata->pkt [odata->pkt_len - 1].granulepos ; in vorbis_read_header()
645 if (odata->pkt_indx == odata->pkt_len) in vorbis_read_sample()
652 vdata->loc = odata->pkt [odata->pkt_len - 1].granulepos ; in vorbis_read_sample()
839 odata->pkt_len = 0 ; in vorbis_seek()
886 for (i = 0 ; i < odata->pkt_len ; i++) in vorbis_calculate_page_duration()
Dogg.h47 int pkt_len ; member
Dogg_opus.c931 for (i = 0 , ppkt = odata->pkt ; i < odata->pkt_len ; i++, ppkt++) in ogg_opus_calculate_page_duration()
948 oopus->pg_pos = odata->pkt [odata->pkt_len - 1].granulepos ; in ogg_opus_unpack_next_page()
955 oopus->pg_pos = odata->pkt [odata->pkt_len - 1].granulepos ; in ogg_opus_unpack_next_page()
981 if (odata->pkt_indx == odata->pkt_len) in ogg_opus_read_refill()
987 if (odata->pkt_indx == odata->pkt_len) in ogg_opus_read_refill()
1749 { if (odata->pkt_indx == odata->pkt_len) in ogg_opus_byterate()
1754 if (odata->pkt_indx < odata->pkt_len) in ogg_opus_byterate()
Dogg.c356 { odata->pkt_len = 0 ; in ogg_stream_unpack_page()
395 odata->pkt_len = i ; in ogg_stream_unpack_page()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_i.h398 const u8 *pkt, size_t pkt_len) in wpa_sm_fils_hlp_rx() argument
401 sm->ctx->fils_hlp_rx(sm->ctx->ctx, dst, src, pkt, pkt_len); in wpa_sm_fils_hlp_rx()
Dwpa.h85 const u8 *pkt, size_t pkt_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_i.h455 const u8 *pkt, size_t pkt_len) in wpa_sm_fils_hlp_rx() argument
458 sm->ctx->fils_hlp_rx(sm->ctx->ctx, dst, src, pkt, pkt_len); in wpa_sm_fils_hlp_rx()
Dwpa.h90 const u8 *pkt, size_t pkt_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpas_glue.c1171 const u8 *pkt, size_t pkt_len) in wpa_supplicant_fils_hlp_rx() argument
1177 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx()
1181 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpas_glue.c1244 const u8 *pkt, size_t pkt_len) in wpa_supplicant_fils_hlp_rx() argument
1250 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx()
1254 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
/third_party/libabigail/tests/data/test-diff-dwarf-abixml/
DPR25409-librte_bus_dpaa.so.20.0.abi2399 …<var-decl name='pkt_len' type-id='type-id-7' visibility='default' filepath='../../dpdk/lib/librte_…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h39007 unsigned int pkt_len; member