Home
last modified time | relevance | path

Searched refs:packet_buf (Results 1 – 25 of 194) sorted by relevance

12345678

/dports/net/wireshark/wireshark-3.6.1/wiretap/
H A Dnettrace_3gpp_32_423.c500 packet_buf += 2; in nettrace_msg_to_packet()
502 packet_buf += 2; in nettrace_msg_to_packet()
509 packet_buf += 2; in nettrace_msg_to_packet()
511 packet_buf += 2; in nettrace_msg_to_packet()
517 packet_buf += 2; in nettrace_msg_to_packet()
519 packet_buf += 2; in nettrace_msg_to_packet()
521 packet_buf += 4; in nettrace_msg_to_packet()
526 packet_buf += 2; in nettrace_msg_to_packet()
529 packet_buf += 2; in nettrace_msg_to_packet()
539 packet_buf += 2; in nettrace_msg_to_packet()
[all …]
/dports/net/wireshark-lite/wireshark-3.6.1/wiretap/
H A Dnettrace_3gpp_32_423.c500 packet_buf += 2; in nettrace_msg_to_packet()
502 packet_buf += 2; in nettrace_msg_to_packet()
509 packet_buf += 2; in nettrace_msg_to_packet()
511 packet_buf += 2; in nettrace_msg_to_packet()
517 packet_buf += 2; in nettrace_msg_to_packet()
519 packet_buf += 2; in nettrace_msg_to_packet()
521 packet_buf += 4; in nettrace_msg_to_packet()
526 packet_buf += 2; in nettrace_msg_to_packet()
529 packet_buf += 2; in nettrace_msg_to_packet()
539 packet_buf += 2; in nettrace_msg_to_packet()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/wiretap/
H A Dnettrace_3gpp_32_423.c500 packet_buf += 2; in nettrace_msg_to_packet()
502 packet_buf += 2; in nettrace_msg_to_packet()
509 packet_buf += 2; in nettrace_msg_to_packet()
511 packet_buf += 2; in nettrace_msg_to_packet()
517 packet_buf += 2; in nettrace_msg_to_packet()
519 packet_buf += 2; in nettrace_msg_to_packet()
521 packet_buf += 4; in nettrace_msg_to_packet()
526 packet_buf += 2; in nettrace_msg_to_packet()
529 packet_buf += 2; in nettrace_msg_to_packet()
539 packet_buf += 2; in nettrace_msg_to_packet()
[all …]
/dports/net/tshark/wireshark-3.6.1/wiretap/
H A Dnettrace_3gpp_32_423.c500 packet_buf += 2; in nettrace_msg_to_packet()
502 packet_buf += 2; in nettrace_msg_to_packet()
509 packet_buf += 2; in nettrace_msg_to_packet()
511 packet_buf += 2; in nettrace_msg_to_packet()
517 packet_buf += 2; in nettrace_msg_to_packet()
519 packet_buf += 2; in nettrace_msg_to_packet()
521 packet_buf += 4; in nettrace_msg_to_packet()
526 packet_buf += 2; in nettrace_msg_to_packet()
529 packet_buf += 2; in nettrace_msg_to_packet()
539 packet_buf += 2; in nettrace_msg_to_packet()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/coremidi/src/
H A Dpackets.rs601 assert_eq!(packet_buf.len(), 4); in packet_list_length()
607 assert_eq!(packet_buf.capacity(), 128); in packet_buffer_empty_with_capacity()
608 assert_eq!(packet_buf.len(), 0); in packet_buffer_empty_with_capacity()
615 assert_eq!(packet_buf.len(), 0); in packet_buffer_with_capacity_zero()
624 assert_eq!(packet_buf.capacity(), 128); in packet_buffer_with_capacity()
625 assert_eq!(packet_buf.len(), 3); in packet_buffer_with_capacity()
634 assert_eq!(packet_buf.len(), 4); in packet_buffer_clear()
635 packet_buf.clear(); in packet_buffer_clear()
636 assert_eq!(packet_buf.len(), 0); in packet_buffer_clear()
757 packet_buf.push_data(pkt.0, &pkt.1); in compare_packet_list()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Ddvbsub_parser.c31 uint8_t *packet_buf; member
40 pc->packet_buf = av_malloc(PARSE_BUF_SIZE); in dvbsub_parse_init()
96 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
118 p = pc->packet_buf; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 *poutbuf = pc->packet_buf; in dvbsub_parse()
170 av_freep(&pc->packet_buf); in dvbsub_parse_close()
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Ddvbsub_parser.c35 uint8_t *packet_buf; member
44 pc->packet_buf = av_malloc(PARSE_BUF_SIZE); in dvbsub_parse_init()
111 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
130 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
133 p = pc->packet_buf; in dvbsub_parse()
134 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
160 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
166 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
174 *poutbuf = pc->packet_buf; in dvbsub_parse()
187 av_freep(&pc->packet_buf); in dvbsub_parse_close()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Ddvbsub_parser.c38 uint8_t *packet_buf; member
47 pc->packet_buf = av_malloc(PARSE_BUF_SIZE); in dvbsub_parse_init()
104 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
123 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
126 p = pc->packet_buf; in dvbsub_parse()
127 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
151 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
165 *poutbuf = pc->packet_buf; in dvbsub_parse()
179 av_freep(&pc->packet_buf); in dvbsub_parse_close()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Ddvbsub_parser.c38 uint8_t *packet_buf; member
47 pc->packet_buf = av_malloc(PARSE_BUF_SIZE); in dvbsub_parse_init()
104 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
123 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
126 p = pc->packet_buf; in dvbsub_parse()
127 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
151 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
165 *poutbuf = pc->packet_buf; in dvbsub_parse()
179 av_freep(&pc->packet_buf); in dvbsub_parse_close()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Ddvbsub_parser.c31 uint8_t *packet_buf; member
40 pc->packet_buf = av_malloc(PARSE_BUF_SIZE); in dvbsub_parse_init()
96 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
118 p = pc->packet_buf; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 *poutbuf = pc->packet_buf; in dvbsub_parse()
170 av_freep(&pc->packet_buf); in dvbsub_parse_close()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Ddvbsub_parser.c41 uint8_t packet_buf[PARSE_BUF_SIZE]; member
96 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
118 p = pc->packet_buf; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 *poutbuf = pc->packet_buf; in dvbsub_parse()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Ddvbsub_parser.c41 uint8_t packet_buf[PARSE_BUF_SIZE]; member
96 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
118 p = pc->packet_buf; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 *poutbuf = pc->packet_buf; in dvbsub_parse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Ddvbsub_parser.c41 uint8_t packet_buf[PARSE_BUF_SIZE]; member
96 memmove(pc->packet_buf, pc->packet_buf + pc->packet_start, in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
118 p = pc->packet_buf; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
157 *poutbuf = pc->packet_buf; in dvbsub_parse()
/dports/net/gnu-radius/radius-1.6.1/snmplib/
H A Dsnmp_send.c70 u_char packet_buf[SNMP_PACKET_LENGTH]; in snmp_request_xmit() local
74 length = sizeof(packet_buf); in snmp_request_xmit()
75 if (snmp_encode_request(sess, req->pdu, packet_buf, &length)) in snmp_request_xmit()
79 if (sendto(sess->sd, (char *) packet_buf, length, 0, in snmp_request_xmit()
104 u_char *packet_buf, int *length) in snmp_encode_request() argument
111 buf = packet_buf; in snmp_encode_request()
151 asn_recode_length(packet_buf+1, in snmp_encode_request()
155 *length = buf - packet_buf; in snmp_encode_request()
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/quic/
H A DQUICPacketFactory.cc65 QUICPacketFactory::create(uint8_t *packet_buf, UDPConnection *udp_con, IpEndpoint from, IpEndpoint … in create() argument
100 packet = new (packet_buf) QUICStatelessResetPacketR(udp_con, from, to, whole_data); in create()
104 packet = new (packet_buf) QUICRetryPacketR(udp_con, from, to, whole_data); in create()
108 …packet = new (packet_buf) QUICShortHeaderPacketR(udp_con, from, to, whole_data, base_packet_number… in create()
123 … packet = new (packet_buf) QUICInitialPacketR(udp_con, from, to, whole_data, base_packet_number); in create()
138 … packet = new (packet_buf) QUICHandshakePacketR(udp_con, from, to, whole_data, base_packet_number); in create()
153 … packet = new (packet_buf) QUICZeroRttPacketR(udp_con, from, to, whole_data, base_packet_number); in create()
208 QUICPacketFactory::create_initial_packet(uint8_t *packet_buf, QUICConnectionId destination_cid, QUI… in create_initial_packet() argument
215 …QUICInitialPacket *packet = new (packet_buf) QUICInitialPacket(this->_version, destination_cid, so… in create_initial_packet()
271 …new (packet_buf) QUICZeroRttPacket(this->_version, destination_cid, source_cid, length, pn, ack_el… in create_zero_rtt_packet()
[all …]
H A DQUICPacketFactory.h55 …QUICPacketUPtr create(uint8_t *packet_buf, UDPConnection *udp_con, IpEndpoint from, IpEndpoint to,…
57 …QUICPacketUPtr create_initial_packet(uint8_t *packet_buf, QUICConnectionId destination_cid, QUICCo…
61 …QUICPacketUPtr create_handshake_packet(uint8_t *packet_buf, QUICConnectionId destination_cid, QUIC…
64 …QUICPacketUPtr create_zero_rtt_packet(uint8_t *packet_buf, QUICConnectionId destination_cid, QUICC…
67 QUICPacketUPtr create_short_header_packet(uint8_t *packet_buf, QUICConnectionId destination_cid,
/dports/net/wireshark/wireshark-3.6.1/ui/
H A Dtext_import.c196 static guint8 *packet_buf; variable
385 packet_buf[curr_offset] = (guint8) num; in write_byte()
452 memmove(&packet_buf[prefix_length], packet_buf, curr_offset); in write_current_packet()
571 packet_buf[prefix_length+curr_offset+i] = 0; in write_current_packet()
607 memset(&packet_buf[prefix_index], 0x00, 4); in write_current_packet()
874 guint8* dest = &packet_buf[curr_offset]; in parse_data()
875 guint8* dest_end = &packet_buf[max_offset]; in parse_data()
902 curr_offset = (int) (dest - packet_buf); in parse_data()
905 dest = &packet_buf[curr_offset]; in parse_data()
1329 if (!packet_buf) in text_import()
[all …]
H A Dtap_export_pdu.c35 guint8 *packet_buf; in export_pdu_packet() local
45 packet_buf = (guint8 *)g_malloc(buffer_len); in export_pdu_packet()
48 memcpy(packet_buf, exp_pdu_data->tlv_buffer, exp_pdu_data->tlv_buffer_len); in export_pdu_packet()
51 …tvb_memcpy(exp_pdu_data->pdu_tvb, packet_buf+exp_pdu_data->tlv_buffer_len, 0, exp_pdu_data->tvb_ca… in export_pdu_packet()
73 if (!wtap_dump(exp_pdu_tap_data->wdh, &rec, packet_buf, &err, &err_info)) { in export_pdu_packet()
80 g_free(packet_buf); in export_pdu_packet()
/dports/net/wireshark-lite/wireshark-3.6.1/ui/
H A Dtext_import.c196 static guint8 *packet_buf; variable
385 packet_buf[curr_offset] = (guint8) num; in write_byte()
452 memmove(&packet_buf[prefix_length], packet_buf, curr_offset); in write_current_packet()
571 packet_buf[prefix_length+curr_offset+i] = 0; in write_current_packet()
607 memset(&packet_buf[prefix_index], 0x00, 4); in write_current_packet()
874 guint8* dest = &packet_buf[curr_offset]; in parse_data()
875 guint8* dest_end = &packet_buf[max_offset]; in parse_data()
902 curr_offset = (int) (dest - packet_buf); in parse_data()
905 dest = &packet_buf[curr_offset]; in parse_data()
1329 if (!packet_buf) in text_import()
[all …]
H A Dtap_export_pdu.c35 guint8 *packet_buf; in export_pdu_packet() local
45 packet_buf = (guint8 *)g_malloc(buffer_len); in export_pdu_packet()
48 memcpy(packet_buf, exp_pdu_data->tlv_buffer, exp_pdu_data->tlv_buffer_len); in export_pdu_packet()
51 …tvb_memcpy(exp_pdu_data->pdu_tvb, packet_buf+exp_pdu_data->tlv_buffer_len, 0, exp_pdu_data->tvb_ca… in export_pdu_packet()
73 if (!wtap_dump(exp_pdu_tap_data->wdh, &rec, packet_buf, &err, &err_info)) { in export_pdu_packet()
80 g_free(packet_buf); in export_pdu_packet()
/dports/net/tshark/wireshark-3.6.1/ui/
H A Dtext_import.c196 static guint8 *packet_buf; variable
385 packet_buf[curr_offset] = (guint8) num; in write_byte()
452 memmove(&packet_buf[prefix_length], packet_buf, curr_offset); in write_current_packet()
571 packet_buf[prefix_length+curr_offset+i] = 0; in write_current_packet()
607 memset(&packet_buf[prefix_index], 0x00, 4); in write_current_packet()
874 guint8* dest = &packet_buf[curr_offset]; in parse_data()
875 guint8* dest_end = &packet_buf[max_offset]; in parse_data()
902 curr_offset = (int) (dest - packet_buf); in parse_data()
905 dest = &packet_buf[curr_offset]; in parse_data()
1329 if (!packet_buf) in text_import()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/ui/
H A Dtext_import.c196 static guint8 *packet_buf;
385 packet_buf[curr_offset] = (guint8) num;
452 memmove(&packet_buf[prefix_length], packet_buf, curr_offset);
571 packet_buf[prefix_length+curr_offset+i] = 0;
607 memset(&packet_buf[prefix_index], 0x00, 4);
874 guint8* dest = &packet_buf[curr_offset];
875 guint8* dest_end = &packet_buf[max_offset];
902 curr_offset = (int) (dest - packet_buf);
905 dest = &packet_buf[curr_offset];
1329 if (!packet_buf)
[all …]
/dports/audio/moc/moc-2.5.2/
H A Dprotocol.c38 struct packet_buf struct
209 static struct packet_buf *packet_buf_new () in packet_buf_new()
211 struct packet_buf *b; in packet_buf_new()
213 b = (struct packet_buf *)xmalloc (sizeof(struct packet_buf)); in packet_buf_new()
221 static void packet_buf_free (struct packet_buf *b) in packet_buf_free()
241 static void packet_buf_add_int (struct packet_buf *b, const int n) in packet_buf_add_int()
333 struct packet_buf *b; in send_item()
415 struct packet_buf *b; in send_tags()
655 static struct packet_buf *make_event_packet (const struct event *e) in make_event_packet()
657 struct packet_buf *b; in make_event_packet()
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/quic/test/
H A Dtest_QUICVersionNegotiator.cc52 uint8_t packet_buf[QUICPacket::MAX_INSTANCE_SIZE]; variable
54 …packet_factory.create_initial_packet(packet_buf, {}, {}, 0, dummy_payload, dummy_payload_len, true…
71 uint8_t packet_buf[QUICPacket::MAX_INSTANCE_SIZE]; variable
73 …packet_factory.create_initial_packet(packet_buf, {}, {}, 0, std::move(dummy_payload), dummy_payloa…
90 uint8_t packet_buf[QUICPacket::MAX_INSTANCE_SIZE]; variable
92 …packet_factory.create_initial_packet(packet_buf, {}, {}, 0, std::move(dummy_payload), dummy_payloa…
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/output/
H A Dp_dts.cpp49 memory_cptr packet_buf; in get_dts_packet() local
52 return std::make_tuple(dtsheader, packet_buf, 0ull); in get_dts_packet()
61 return std::make_tuple(dtsheader, packet_buf, 0ull); in get_dts_packet()
73 return std::make_tuple(dtsheader, packet_buf, 0ull); in get_dts_packet()
108 packet_buf = memory_c::clone(buf + pos, dtsheader.frame_byte_size); in get_dts_packet()
112 return std::make_tuple(dtsheader, packet_buf, packet_position); in get_dts_packet()

12345678