Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 25 of 241) sorted by relevance

12345678910

/third_party/lwip/src/include/lwip/
Dpbuf.h186 struct pbuf { struct
188 struct pbuf *next; argument
234 struct pbuf *next;
242 typedef void (*pbuf_free_custom_fn)(struct pbuf *p);
247 struct pbuf pbuf; member
275 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
276 struct pbuf *pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type);
278 struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type,
282 void pbuf_realloc(struct pbuf *p, u16_t size);
286 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
[all …]
Dicmp.h80 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 …]
Dicmp6.h56 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);
Dip4.h71 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);
Dip6.h62 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);
Dudp.h77 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);
Dinet_chksum.h75 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,
Dip4_frag.h63 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);
Dip6_frag.h92 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);
Detharp.h72 struct pbuf *p;
81 err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr);
82 err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q);
96 void etharp_input(struct pbuf *p, struct netif *netif);
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsesink.c251 gst_pulseringbuffer_init (GstPulseRingBuffer * pbuf) in gst_pulseringbuffer_init() argument
253 pbuf->stream_name = NULL; in gst_pulseringbuffer_init()
254 pbuf->context = NULL; in gst_pulseringbuffer_init()
255 pbuf->stream = NULL; in gst_pulseringbuffer_init()
256 pbuf->probe_stream = NULL; in gst_pulseringbuffer_init()
258 pbuf->format = NULL; in gst_pulseringbuffer_init()
259 pbuf->channels = 0; in gst_pulseringbuffer_init()
260 pbuf->is_pcm = FALSE; in gst_pulseringbuffer_init()
262 pbuf->m_data = NULL; in gst_pulseringbuffer_init()
263 pbuf->m_towrite = 0; in gst_pulseringbuffer_init()
[all …]
/third_party/lwip/src/core/
Dpbuf.c89 #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 …]
Dinet_chksum.c260 inet_cksum_pseudo_base(struct pbuf *p, u8_t proto, u16_t proto_len, u32_t acc) in inet_cksum_pseudo_base()
262 struct pbuf *q; in inet_cksum_pseudo_base()
310 inet_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo()
343 ip6_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo()
379 ip_chksum_pseudo(struct pbuf *p, u8_t proto, u16_t proto_len, in ip_chksum_pseudo()
399 inet_cksum_pseudo_partial_base(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_cksum_pseudo_partial_base()
402 struct pbuf *q; in inet_cksum_pseudo_partial_base()
456 inet_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in inet_chksum_pseudo_partial()
491 ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in ip6_chksum_pseudo_partial()
526 ip_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len, in ip_chksum_pseudo_partial()
[all …]
/third_party/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c77 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_make_current() local
82 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0); in pbuffer_make_current()
90 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height); in pbuffer_make_current()
102 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_destroy() local
109 apple_cgl.destroy_pbuffer(pbuf->buffer_obj); in pbuffer_destroy()
110 XFreePixmap(dpy, pbuf->xid); in pbuffer_destroy()
115 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) in apple_glx_pbuffer_destroy() argument
117 return !apple_glx_drawable_destroy_by_type(dpy, pbuf, in apple_glx_pbuffer_destroy()
128 struct apple_glx_pbuffer *pbuf = NULL; in apple_glx_pbuffer_create() local
157 pbuf = &d->types.pbuffer; in apple_glx_pbuffer_create()
[all …]
/third_party/libcoap/src/
Dcoap_io_lwip.c30 …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/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c285 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/
Ddriver_nl80211_hisi.c272 char *pbuf; in wpa_driver_set_p2p_noa() local
278 pbuf = buf; in wpa_driver_set_p2p_noa()
279 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_noa()
283 pbuf += ret_s; in wpa_driver_set_p2p_noa()
284 *pbuf++ = '\0'; in wpa_driver_set_p2p_noa()
285 pst_p2p_noa = (oal_p2p_noa_param_stru *) pbuf; in wpa_driver_set_p2p_noa()
302 char *pbuf; in wpa_driver_set_p2p_ps() local
308 pbuf = buf; in wpa_driver_set_p2p_ps()
309 ret_s = sprintf_s(pbuf, MAX_DRV_CMD_SIZE, "%s", _cmd); in wpa_driver_set_p2p_ps()
313 pbuf += ret_s; in wpa_driver_set_p2p_ps()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_pbuf_stream.c47 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/openssl/crypto/asn1/
Dbio_ndef.c45 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
176 *pbuf = NULL; in ndef_prefix_free()
181 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, in ndef_suffix_free() argument
[all …]
/third_party/lwip/src/core/ipv6/
Dicmp6.c66 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/lwip/src/netif/
Dslipif.c98 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/test/unit/tcp/
Dtcp_helper.h26 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);
Dtcp_helper.c46 static struct pbuf*
51 struct pbuf *p, *q; in tcp_create_segment_wnd()
111 struct pbuf*
124 struct pbuf*
137 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len, in tcp_create_rx_segment_wnd()
192 test_tcp_counters_check_rxdata(struct test_tcp_counters* counters, struct pbuf* p) in test_tcp_counters_check_rxdata()
194 struct pbuf* q; in test_tcp_counters_check_rxdata()
213 test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) in test_tcp_counters_recv()
254 void test_tcp_input(struct pbuf *p, struct netif *inp) in test_tcp_input()
274 static err_t test_tcp_netif_output(struct netif *netif, struct pbuf *p, in test_tcp_netif_output()
[all …]
/third_party/lwip/src/apps/mdns/
Dmdns.c204 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/
Dlowpan6.h68 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);

12345678910