/external/libvpx/vpx/src/ |
vpx_encoder.c | 148 const vpx_codec_cx_pkt_t *pkt = NULL; local 159 pkt = ctx->iface->enc.get_cx_data(ctx->priv->alg_priv, iter); 162 if (pkt && pkt->kind == VPX_CODEC_CX_FRAME_PKT) 171 && pkt->data.raw.buf != dst_buf 172 && pkt->data.raw.sz 180 pkt->data.raw.buf, pkt->data.raw.sz); 181 *modified_pkt = *pkt; 185 pkt = modified_pkt 297 const vpx_codec_cx_pkt_t *pkt; local [all...] |
/external/qemu/ |
bt-host.c | 50 uint8_t pkt = type; local 53 iv[0].iov_base = (void *)&pkt; 85 uint8_t *pkt; local 98 pkt = s->hdr; 100 switch (*pkt ++) { 105 pktlen = MIN(pkt[1] + 2, s->len); 106 s->hci.evt_recv(s->hci.opaque, pkt, pktlen); 108 pkt += pktlen; 120 pktlen = MIN(((pkt[3] << 8) | pkt[2]) + 4, s->len) [all...] |
bt-vhci.c | 39 uint8_t *pkt; local 52 pkt = s->hdr; 54 switch (*pkt ++) { 59 pktlen = MIN(pkt[2] + 3, s->len); 60 s->info->cmd_send(s->info, pkt, pktlen); 62 pkt += pktlen; 69 pktlen = MIN(((pkt[3] << 8) | pkt[2]) + 4, s->len); 70 s->info->acl_send(s->info, pkt, pktlen); 72 pkt += pktlen [all...] |
/external/bluetooth/bluez/compat/ |
bnep.c | 221 unsigned char pkt[BNEP_MTU]; local 224 r = recv(sk, pkt, BNEP_MTU, 0); 233 req = (void *) pkt; 239 uint8_t pkt[3]; local 241 pkt[0] = BNEP_CONTROL; 242 pkt[1] = BNEP_CMD_NOT_UNDERSTOOD; 243 pkt[2] = req->ctrl; 245 send(sk, pkt, sizeof(pkt), 0); 255 rsp = (void *) pkt; 277 unsigned char pkt[BNEP_MTU]; local [all...] |
/external/libvpx/examples/ |
encoder_tmpl.c | 93 const vpx_codec_cx_pkt_t *pkt) 98 if(pkt->kind != VPX_CODEC_CX_FRAME_PKT) 101 pts = pkt->data.frame.pts; 102 mem_put_le32(header, pkt->data.frame.sz); 157 const vpx_codec_cx_pkt_t *pkt; local 162 while( (pkt = vpx_codec_get_cx_data(&codec, &iter)) ) { 164 switch(pkt->kind) { 170 printf(pkt->kind == VPX_CODEC_CX_FRAME_PKT 171 && (pkt->data.frame.flags & VPX_FRAME_IS_KEY)? "K":".");
|
/external/libvpx/nestegg/test/ |
test.c | 81 nestegg_packet * pkt; local 157 r = nestegg_read_packet(ctx, &pkt); 159 nestegg_packet_track(pkt, &track); 160 nestegg_packet_count(pkt, &cnt); 161 nestegg_packet_tstamp(pkt, &tstamp); 165 nestegg_free_packet(pkt); 181 r = nestegg_read_packet(ctx, &pkt); 183 nestegg_packet_track(pkt, &track); 184 nestegg_packet_count(pkt, &cnt); 185 nestegg_packet_tstamp(pkt, &tstamp) [all...] |
/external/ppp/pppd/ |
demand.c | 138 struct packet *pkt, *nextpkt; local 148 for (pkt = pend_q; pkt != NULL; pkt = nextpkt) { 149 nextpkt = pkt->next; 150 free(pkt); 273 struct packet *pkt; local 283 pkt = (struct packet *) malloc(sizeof(struct packet) + len); 284 if (pkt != NULL) { 285 pkt->length = len 305 struct packet *pkt, *prev, *nextpkt; local [all...] |
lcp.c | 207 static void lcp_addci __P((fsm *, u_char *, int *)); /* Add our CI to pkt */ 2279 u_char pkt[4], *pktp; local [all...] |
/external/ppp/pppd/include/ |
pcap-int.h | 89 u_char *pkt; member in struct:pcap
|
/external/ipsec-tools/src/libipsec/ |
key_debug.c | 553 struct sadb_x_packet *pkt = (struct sadb_x_packet *)ext; local 559 printf("sadb_x_packet{ copylen=%u\n", pkt->sadb_x_packet_copylen); 561 ipsec_hexdump((caddr_t)pkt + sizeof(struct sadb_x_packet), 562 pkt->sadb_x_packet_copylen);
|
/external/openssl/ssl/ |
s3_pkt.c | 134 unsigned char *pkt; local 159 pkt = rb->buf + rb->offset; 160 if (pkt[0] == SSL3_RT_APPLICATION_DATA 161 && (pkt[3]<<8|pkt[4]) >= 128) 170 memmove (rb->buf+align,pkt,left); 200 pkt = rb->buf+align; 204 if (s->packet != pkt) /* len > 0 */ 206 memmove(pkt, s->packet, len+left); 207 s->packet = pkt; [all...] |
/external/qemu/hw/ |
bt-hci-csr.c | 181 static void csrhci_in_packet(struct csrhci_s *s, uint8_t *pkt) 186 switch (*pkt ++) { 188 opc = le16_to_cpu(((struct hci_command_hdr *) pkt)->opcode); 191 pkt + sizeof(struct hci_command_hdr), 202 s->hci->cmd_send(s->hci, pkt, s->in_len - 1); 209 s->hci->acl_send(s->hci, pkt, s->in_len - 1); 213 s->hci->sco_send(s->hci, pkt, s->in_len - 1); 218 memcmp(pkt - 1, csrhci_neg_packet, s->in_hdr)) { 222 pkt += 2; 227 memcpy(rpkt, pkt, 7); rpkt += 7 336 uint8_t *pkt = csrhci_out_packet(s, (len + 2) & ~1); \/* Align *\/ local 348 uint8_t *pkt = csrhci_out_packet(s, (len + 2) & ~1); \/* Align *\/ local [all...] |
bt-hid.c | 184 uint8_t *pkt, hdr = (BT_DATA << 4) | type; local 189 pkt = ch->sdu_out(ch, plen + 1); 191 pkt[0] = hdr; 193 memcpy(pkt + 1, data, plen);
|
bt-l2cap.c | 188 uint8_t *pkt; local 196 pkt = l2cap->signalling_ch.params.sdu_out(&l2cap->signalling_ch.params, 198 hdr = (void *) (pkt + 0); 199 params = (void *) (pkt + L2CAP_CMD_HDR_SIZE); 206 memcpy(pkt + L2CAP_CMD_HDR_SIZE + L2CAP_CMD_REJ_SIZE, data, plen); 225 uint8_t *pkt; local 229 pkt = l2cap->signalling_ch.params.sdu_out(&l2cap->signalling_ch.params, 231 hdr = (void *) (pkt + 0); 232 params = (void *) (pkt + L2CAP_CMD_HDR_SIZE); 249 uint8_t *pkt; local 277 uint8_t *pkt; local 302 uint8_t *pkt; local 324 uint8_t *pkt; local 345 uint8_t *pkt; local [all...] |
bt-hci.c | 1973 struct hci_acl_hdr *pkt = (void *) hci->acl_buf; local [all...] |
/external/bluetooth/bluez/network/ |
connection.c | 193 char pkt[BNEP_MTU]; local 209 memset(pkt, 0, BNEP_MTU); 210 r = read(sk, pkt, sizeof(pkt) -1); 228 rsp = (void *) pkt; 297 unsigned char pkt[BNEP_MTU]; local 301 req = (void *) pkt; 315 if (send(fd, pkt, sizeof(*req) + sizeof(*s), 0) < 0)
|
server.c | 471 uint8_t pkt[3]; local 473 pkt[0] = BNEP_CONTROL; 474 pkt[1] = BNEP_CMD_NOT_UNDERSTOOD; 475 pkt[2] = req->ctrl; 477 send(sk, pkt, sizeof(pkt), 0);
|
/external/dnsmasq/src/ |
dhcp.c | 291 struct in_pktinfo *pkt; local 295 pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); 296 pkt->ipi_ifindex = iface_index; 297 pkt->ipi_spec_dst.s_addr = 0;
|
forward.c | 68 struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); local 69 pkt->ipi_ifindex = 0; 70 pkt->ipi_spec_dst = source->addr.addr4; 85 struct in6_pktinfo *pkt = (struct in6_pktinfo *)CMSG_DATA(cmptr); local 86 pkt->ipi6_ifindex = iface; /* Need iface for IPv6 to handle link-local addrs */ 87 pkt->ipi6_addr = source->addr.addr6;
|
/external/libpcap/ |
pcap.c | 122 const u_char *pkt; member in struct:singleton 127 pcap_oneshot(u_char *userData, const struct pcap_pkthdr *h, const u_char *pkt) 131 sp->pkt = pkt; 142 return (s.pkt); 147 const u_char **pkt; member in struct:pkt_for_fakecallback 152 const u_char *pkt) 157 *sp->pkt = pkt; 167 s.pkt = pkt_data [all...] |
pcap-int.h | 179 u_char *pkt; member in struct:pcap
|
/external/kernel-headers/original/linux/ |
mroute6.h | 202 unsigned long pkt; member in struct:mfc6_cache::__anon7270::__anon7272
|
/external/libvpx/vp8/ |
vp8_cx_iface.c | 768 vpx_codec_cx_pkt_t pkt; local 774 pkt.kind = VPX_CODEC_CX_FRAME_PKT; 775 pkt.data.frame.buf = cx_data; 776 pkt.data.frame.sz = size; 777 pkt.data.frame.pts = 780 pkt.data.frame.duration = 783 pkt.data.frame.flags = lib_flags << 16; 786 pkt.data.frame.flags |= VPX_FRAME_IS_KEY; 790 pkt.data.frame.flags |= VPX_FRAME_IS_INVISIBLE; 796 pkt.data.frame.pts = ((cpi->last_time_stamp_see [all...] |
/external/bluetooth/bluez/test/ |
hciemu.c | 203 struct btsnoop_pkt pkt; local 215 pkt.size = htonl(size); 216 pkt.len = pkt.size; 217 pkt.flags = ntohl(incoming & 0x01); 218 pkt.drops = htonl(0); 219 pkt.ts = hton64(ts + 0x00E03AB44A676000ll); 222 pkt.flags |= ntohl(0x02); 224 if (write(fd, &pkt, BTSNOOP_PKT_SIZE) < 0)
|
/external/libvpx/ |
vpxdec.c | 210 nestegg_packet *pkt; member in struct:input_ctx 236 if(input->pkt) 237 nestegg_free_packet(input->pkt); 239 if(nestegg_read_packet(input->nestegg_ctx, &input->pkt) <= 0 240 || nestegg_packet_track(input->pkt, &track)) 245 if(nestegg_packet_count(input->pkt, &input->chunks)) 250 if(nestegg_packet_data(input->pkt, input->chunk, buf, buf_sz)) 536 nestegg_packet * pkt; local 539 if(nestegg_read_packet(input->nestegg_ctx, &pkt) <= 0) 542 nestegg_packet_track(pkt, &track) 581 nestegg_packet * pkt; local [all...] |