/third_party/lwip/src/include/lwip/ |
D | pbuf.h | 186 struct pbuf { struct 188 struct pbuf *next; argument 231 struct pbuf *next; 239 typedef void (*pbuf_free_custom_fn)(struct pbuf *p); 244 struct pbuf pbuf; member 272 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type); 273 struct pbuf *pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type); 275 struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type, 279 void pbuf_realloc(struct pbuf *p, u16_t size); 283 u8_t pbuf_header(struct pbuf *p, s16_t header_size); [all …]
|
D | icmp.h | 80 void icmp_input(struct pbuf *p, struct netif *inp); 81 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t); 82 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t); 88 #define icmp_port_unreach(isipv6, pbuf) ((isipv6) ? \ argument 89 icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT) : \ 90 icmp_dest_unreach(pbuf, ICMP_DUR_PORT)) 92 #define icmp_port_unreach(isipv6, pbuf) do{ if(!(isipv6)) { icmp_dest_unreach(pbuf, ICMP_DUR_PORT);… argument 94 #define icmp_port_unreach(isipv6, pbuf) do{ if(isipv6) { icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT);}… argument 96 #define icmp_port_unreach(isipv6, pbuf) argument 99 #define icmp_port_unreach(isipv6, pbuf) icmp6_dest_unreach(pbuf, ICMP6_DUR_PORT) argument [all …]
|
D | icmp6.h | 56 void icmp6_input(struct pbuf *p, struct netif *inp); 57 void icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c); 58 void icmp6_packet_too_big(struct pbuf *p, u32_t mtu); 59 void icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c); 60 void icmp6_time_exceeded_with_addrs(struct pbuf *p, enum icmp6_te_code c, 62 void icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, const void *pointer);
|
D | ip6.h | 62 err_t ip6_input(struct pbuf *p, struct netif *inp); 63 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 65 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 67 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 70 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest, 74 err_t ip6_options_add_hbh_ra(struct pbuf * p, u8_t nexth, u8_t value); 81 void ip6_debug_print(struct pbuf *p);
|
D | ip4.h | 71 err_t ip4_input(struct pbuf *p, struct netif *inp); 72 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 74 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 76 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 79 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 83 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 86 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 98 void ip4_debug_print(struct pbuf *p);
|
D | inet_chksum.h | 75 u16_t inet_chksum_pbuf(struct pbuf *p); 81 u16_t inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 83 u16_t inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, 88 u16_t ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 90 u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, 95 u16_t ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, 97 u16_t ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
|
D | udp.h | 77 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 130 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 133 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, 136 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 138 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 141 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 145 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, 148 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, 150 err_t udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, 163 void udp_input (struct pbuf *p, struct netif *inp);
|
D | ip4_frag.h | 63 struct pbuf *p; 72 struct pbuf * ip4_reass(struct pbuf *p); 86 struct pbuf *original; 91 err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest);
|
D | ip6_frag.h | 92 struct pbuf *p; 116 struct pbuf *ip6_reass(struct pbuf *p); 131 struct pbuf *original; 135 err_t ip6_frag(struct pbuf *p, struct netif *netif, const ip6_addr_t *dest);
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesink.c | 250 gst_pulseringbuffer_init (GstPulseRingBuffer * pbuf) in gst_pulseringbuffer_init() argument 252 pbuf->stream_name = NULL; in gst_pulseringbuffer_init() 253 pbuf->context = NULL; in gst_pulseringbuffer_init() 254 pbuf->stream = NULL; in gst_pulseringbuffer_init() 255 pbuf->probe_stream = NULL; in gst_pulseringbuffer_init() 257 pbuf->format = NULL; in gst_pulseringbuffer_init() 258 pbuf->channels = 0; in gst_pulseringbuffer_init() 259 pbuf->is_pcm = FALSE; in gst_pulseringbuffer_init() 261 pbuf->m_data = NULL; in gst_pulseringbuffer_init() 262 pbuf->m_towrite = 0; in gst_pulseringbuffer_init() [all …]
|
/third_party/lwip/src/core/ |
D | pbuf.c | 89 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf)) 94 static const struct pbuf * 95 pbuf_skip_const(const struct pbuf *in, u16_t in_offset, u16_t *out_offset); 179 pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len, pbuf_type type, u8_… in pbuf_init_alloced_pbuf() 223 struct pbuf * 226 struct pbuf *p; in pbuf_alloc() 236 struct pbuf *q, *last; in pbuf_alloc() 243 q = (struct pbuf *)memp_malloc(MEMP_PBUF_POOL); in pbuf_alloc() 284 p = (struct pbuf *)mem_malloc(alloc_len); in pbuf_alloc() 326 struct pbuf * [all …]
|
/third_party/libcoap/src/ |
D | coap_io_lwip.c | 30 …al with contiguous PBUFs to read the initial details", packet->pbuf->tot_len == packet->pbuf->len); in coap_packet_get_memmapped() 31 *address = packet->pbuf->payload; in coap_packet_get_memmapped() 32 *length = packet->pbuf->tot_len; in coap_packet_get_memmapped() 36 if (packet->pbuf) in coap_free_packet() 37 pbuf_free(packet->pbuf); in coap_free_packet() 41 struct pbuf *coap_packet_extract_pbuf(coap_packet_t *packet) in coap_packet_extract_pbuf() 43 struct pbuf *ret = packet->pbuf; in coap_packet_extract_pbuf() 44 packet->pbuf = NULL; in coap_packet_extract_pbuf() 57 static void coap_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t… in coap_recv() 74 packet->pbuf = p; in coap_recv() [all …]
|
/third_party/openssl/crypto/asn1/ |
D | bio_ndef.c | 45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 46 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 48 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 49 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 129 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix() argument 149 *pbuf = p; in ndef_prefix() 155 *plen = *ndef_aux->boundary - *pbuf; in ndef_prefix() 160 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_prefix_free() argument 173 *pbuf = NULL; in ndef_prefix_free() 178 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_suffix_free() argument [all …]
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_pbuf_stream.c | 47 snmp_pbuf_stream_init(struct snmp_pbuf_stream *pbuf_stream, struct pbuf *p, u16_t offset, u16_t len… in snmp_pbuf_stream_init() 51 pbuf_stream->pbuf = p; in snmp_pbuf_stream_init() 63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read() 86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf() 115 struct pbuf *pbuf = pbuf_skip(pbuf_stream->pbuf, pbuf_stream->offset, &target_offset); in snmp_pbuf_stream_writeto() local 117 if ((pbuf == NULL) || (pbuf->len == 0)) { in snmp_pbuf_stream_writeto() 121 chunk_len = LWIP_MIN(len, pbuf->len); in snmp_pbuf_stream_writeto() 122 …err = snmp_pbuf_stream_writebuf(target_pbuf_stream, &((u8_t *)pbuf->payload)[target_offset], chunk… in snmp_pbuf_stream_writeto()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/ |
D | driver_nl80211_hisi.c | 285 char *pbuf; in wpa_driver_set_p2p_noa() local 291 pbuf = buf; in wpa_driver_set_p2p_noa() 292 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_noa() 296 pbuf += ret_s; in wpa_driver_set_p2p_noa() 297 *pbuf++ = '\0'; in wpa_driver_set_p2p_noa() 298 pst_p2p_noa = (oal_p2p_noa_param_stru *)pbuf; in wpa_driver_set_p2p_noa() 316 char *pbuf; in wpa_driver_set_p2p_ps() local 322 pbuf = buf; in wpa_driver_set_p2p_ps() 323 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_ps() 327 pbuf += ret_s; in wpa_driver_set_p2p_ps() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
D | driver_nl80211_hisi.c | 285 char *pbuf; in wpa_driver_set_p2p_noa() local 291 pbuf = buf; in wpa_driver_set_p2p_noa() 292 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_noa() 296 pbuf += ret_s; in wpa_driver_set_p2p_noa() 297 *pbuf++ = '\0'; in wpa_driver_set_p2p_noa() 298 pst_p2p_noa = (oal_p2p_noa_param_stru *)pbuf; in wpa_driver_set_p2p_noa() 316 char *pbuf; in wpa_driver_set_p2p_ps() local 322 pbuf = buf; in wpa_driver_set_p2p_ps() 323 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_ps() 327 pbuf += ret_s; in wpa_driver_set_p2p_ps() [all …]
|
/third_party/uboot/u-boot-2020.01/fs/ext4/ |
D | unsparse.c | 49 int get_unspare_header_info(const u8 *pbuf,sparse_header_t *sparse_header, in get_unspare_header_info() argument 53 header = memcpy(sparse_header, pbuf,sizeof(sparse_header_t)); in get_unspare_header_info() 66 int ext4_unsparse(struct mmc *mmc, u32 dev, u8 *pbuf, u32 blk, u32 cnt) in ext4_unsparse() argument 75 sparse_header_t *header = (sparse_header_t *)pbuf; in ext4_unsparse() 100 pbuf += header->file_hdr_sz; in ext4_unsparse() 106 chunk = (chunk_header_t *)pbuf; in ext4_unsparse() 109 pbuf += header->chunk_hdr_sz; in ext4_unsparse() 139 (chunk_len >> EMMC_BLKSIZE_SHIFT), pbuf); in ext4_unsparse() 146 pbuf += chunk_len; in ext4_unsparse() 174 uint32_t fill_val = *(uint32_t *)pbuf; in ext4_unsparse() [all …]
|
/third_party/lwip/src/core/ipv6/ |
D | icmp6.c | 66 static void icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type); 67 static void icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data, 69 static void icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data, 83 icmp6_input(struct pbuf *p, struct netif *inp) in icmp6_input() 86 struct pbuf *r; in icmp6_input() 220 icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c) in icmp6_dest_unreach() 236 icmp6_packet_too_big(struct pbuf *p, u32_t mtu) in icmp6_packet_too_big() 252 icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c) in icmp6_time_exceeded() 273 icmp6_time_exceeded_with_addrs(struct pbuf *p, enum icmp6_te_code c, in icmp6_time_exceeded_with_addrs() 292 icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, const void *pointer) in icmp6_param_problem() [all …]
|
/third_party/uboot/u-boot-2020.01/drivers/crypto/fsl/ |
D | fsl_hash.c | 162 int caam_hash(const unsigned char *pbuf, unsigned int buf_len, in caam_hash() argument 175 if (!IS_ALIGNED((uintptr_t)pbuf, ARCH_DMA_MINALIGN) || in caam_hash() 182 flush_dcache_range((unsigned long)pbuf, (unsigned long)pbuf + size); in caam_hash() 184 inline_cnstr_jobdesc_hash(desc, pbuf, buf_len, pout, in caam_hash() 202 void hw_sha256(const unsigned char *pbuf, unsigned int buf_len, in hw_sha256() argument 205 if (caam_hash(pbuf, buf_len, pout, SHA256)) in hw_sha256() 209 void hw_sha1(const unsigned char *pbuf, unsigned int buf_len, in hw_sha1() argument 212 if (caam_hash(pbuf, buf_len, pout, SHA1)) in hw_sha1()
|
/third_party/lwip/test/unit/tcp/ |
D | tcp_helper.h | 26 struct pbuf *tx_packets; 38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip, 41 struct pbuf* tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len, 43 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len, 48 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err); 52 void test_tcp_input(struct pbuf *p, struct netif *inp);
|
/third_party/lwip/src/netif/ |
D | slipif.c | 98 struct pbuf *p, *q; 102 struct pbuf *rxpackets; 116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output() 119 struct pbuf *q; in slipif_output() 172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) in slipif_output_v4() 191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) in slipif_output_v6() 206 static struct pbuf * 210 struct pbuf *t; in slipif_rxbyte() 312 struct pbuf *p; in slipif_rxbyte_input() 461 struct pbuf *p = priv->rxpackets; in slipif_process_rxqueue() [all …]
|
/third_party/lwip/src/apps/mdns/ |
D | mdns.c | 204 struct pbuf *pbuf; member 227 struct pbuf *pbuf; member 333 mdns_domain_add_label_pbuf(struct mdns_domain *domain, const struct pbuf *p, u16_t offset, u8_t len) in mdns_domain_add_label_pbuf() 355 mdns_readname_loop(struct pbuf *p, u16_t offset, struct mdns_domain *domain, unsigned depth) in mdns_readname_loop() 421 mdns_readname(struct pbuf *p, u16_t offset, struct mdns_domain *domain) in mdns_readname() 788 mdns_compress_domain(struct pbuf *pbuf, u16_t *offset, struct mdns_domain *domain) in mdns_compress_domain() argument 795 if (pbuf == NULL) { in mdns_compress_domain() 798 target_end = mdns_readname(pbuf, *offset, &target); in mdns_compress_domain() 849 u16_t len = mdns_compress_domain(outpkt->pbuf, &offset, domain); in mdns_write_domain() 860 res = pbuf_take_at(outpkt->pbuf, domain->name, writelen, outpkt->write_offset); in mdns_write_domain() [all …]
|
/third_party/lwip/src/include/netif/ |
D | lowpan6.h | 68 err_t lowpan4_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr); 70 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr); 71 err_t lowpan6_input(struct pbuf * p, struct netif *netif); 80 err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
/third_party/uboot/u-boot-2020.01/product/hiupdate/ |
D | auto_update_adaptation.c | 205 unsigned char *pbuf = buf; in spi_flash_write_op() local 216 ret = flash->write(flash, offset, write_step, pbuf); in spi_flash_write_op() 221 pbuf += write_step; in spi_flash_write_op() 289 unsigned char *pbuf = buf; in nand_flash_write() local 325 ret = nand_write(mtd, offset, rw_size, pbuf); in nand_flash_write() 332 pbuf += write_step; in nand_flash_write() 563 int get_buffer_chunk_layout(unsigned long offset, unsigned char *pbuf, in get_buffer_chunk_layout() argument 594 chunk = (chunk_header_t *)(pbuf + off); in get_buffer_chunk_layout() 601 hex_dump(pbuf + off, HEX_DUMP_LEN, 0); in get_buffer_chunk_layout() 659 int write_yaffs2_fs(int idx, unsigned int sz, unsigned char *pbuf) in write_yaffs2_fs() argument [all …]
|
/third_party/uboot/u-boot-2020.01/drivers/crypto/ |
D | ace_sha.c | 27 int ace_sha_hash_digest(const unsigned char *pbuf, unsigned int buf_len, in ace_sha_hash_digest() argument 71 writel((unsigned int)pbuf, &ace_sha_reg->fc_hrdmas); in ace_sha_hash_digest() 102 void hw_sha256(const unsigned char *pbuf, unsigned int buf_len, in hw_sha256() argument 105 if (ace_sha_hash_digest(pbuf, buf_len, pout, ACE_SHA_TYPE_SHA256)) in hw_sha256() 109 void hw_sha1(const unsigned char *pbuf, unsigned int buf_len, in hw_sha1() argument 112 if (ace_sha_hash_digest(pbuf, buf_len, pout, ACE_SHA_TYPE_SHA1)) in hw_sha1()
|