/external/syslinux/core/lwip/src/include/lwip/ |
H A D | pbuf.h | 58 PBUF_RAM, /* pbuf data is stored in RAM */ 59 PBUF_ROM, /* pbuf data is stored in ROM */ 60 PBUF_REF, /* pbuf comes from the pbuf pool */ 61 PBUF_POOL /* pbuf payload refers to RAM */ 67 /** indicates this is a custom pbuf: pbuf_free and pbuf_header handle such a 68 a pbuf differently */ 70 /** indicates this pbuf is UDP multicast to be looped back */ 73 struct pbuf { struct 74 /** next pbuf i 113 struct pbuf pbuf; member in struct:pbuf_custom [all...] |
H A D | snmp_asn1.h | 40 #include "lwip/pbuf.h" 77 err_t snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type); 78 err_t snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length); 79 err_t snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value); 80 err_t snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value); 81 err_t snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid); 82 err_t snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw); 88 err_t snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type); 89 err_t snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length); 90 err_t snmp_asn1_enc_u32t(struct pbuf * [all...] |
H A D | raw.h | 39 #include "lwip/pbuf.h" 57 * If returning 1, the callback is responsible for freeing the pbuf 60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr); 86 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p); 89 u8_t raw_input (struct pbuf *p, struct netif *inp);
|
H A D | udp.h | 39 #include "lwip/pbuf.h" 75 * The callback is responsible for freeing the pbuf 78 * ATTENTION: Be aware that 'addr' points into the pbuf 'p' so freeing this pbuf 87 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 132 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 135 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 137 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 140 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 144 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf * [all...] |
H A D | netif.h | 44 #include "lwip/pbuf.h" 106 * @param p The received packet, copied into a pbuf 109 typedef err_t (*netif_input_fn)(struct pbuf *p, struct netif *inp); 118 typedef err_t (*netif_output_fn)(struct netif *netif, struct pbuf *p, 126 typedef err_t (*netif_linkoutput_fn)(struct netif *netif, struct pbuf *p); 154 * the pbuf as-is on the link medium. */ 220 struct pbuf *loop_first; 221 struct pbuf *loop_last; 304 err_t netif_loop_output(struct netif *netif, struct pbuf *p, ip_addr_t *dest_ip);
|
H A D | tcpip.h | 41 #include "lwip/pbuf.h" 89 err_t tcpip_input(struct pbuf *p, struct netif *inp); 102 err_t pbuf_free_callback(struct pbuf *p); 136 struct pbuf *p;
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
H A D | ip_frag.h | 38 #include "lwip/pbuf.h" 56 struct pbuf *p; 65 struct pbuf * ip_reass(struct pbuf *p); 70 /** A custom pbuf that holds a reference to another pbuf, which is freed 71 * when this custom pbuf is freed. This is used to create a custom PBUF_REF 72 * that points into the original pbuf. */ 76 /** pointer to the original pbuf that is referenced */ 77 struct pbuf *origina [all...] |
H A D | inet_chksum.h | 37 #include "lwip/pbuf.h" 74 u16_t inet_chksum_pbuf(struct pbuf *p); 75 u16_t inet_chksum_pseudo(struct pbuf *p, 78 u16_t inet_chksum_pseudo_partial(struct pbuf *p,
|
H A D | icmp.h | 36 #include "lwip/pbuf.h" 101 void icmp_input(struct pbuf *p, struct netif *inp); 102 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t); 103 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t);
|
H A D | ip.h | 38 #include "lwip/pbuf.h" 60 in the pbuf. This is used when TCP retransmits. */ 173 err_t ip_input(struct pbuf *p, struct netif *inp); 174 err_t ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, 176 err_t ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, 180 err_t ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, 184 err_t ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, 202 void ip_debug_print(struct pbuf *p);
|
/external/python/cpython2/Modules/ |
H A D | _codecsmodule.c | 236 Py_buffer pbuf; local 243 &pbuf, &errors, &final)) 245 consumed = pbuf.len; 247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors, 249 PyBuffer_Release(&pbuf); 259 Py_buffer pbuf; local 266 &pbuf, &errors, &final)) 268 consumed = pbuf.len; 270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf 282 Py_buffer pbuf; local 305 Py_buffer pbuf; local 329 Py_buffer pbuf; local 361 Py_buffer pbuf; local 386 Py_buffer pbuf; local 409 Py_buffer pbuf; local 432 Py_buffer pbuf; local 463 Py_buffer pbuf; local 488 Py_buffer pbuf; local 505 Py_buffer pbuf; local 522 Py_buffer pbuf; local 539 Py_buffer pbuf; local 556 Py_buffer pbuf; local 578 Py_buffer pbuf; local [all...] |
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_pbuffer.c | 74 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local 79 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0); 87 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height); 99 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local 106 apple_cgl.destroy_pbuffer(pbuf->buffer_obj); 107 XFreePixmap(dpy, pbuf->xid); 112 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) argument 114 return !apple_glx_drawable_destroy_by_type(dpy, pbuf, 125 struct apple_glx_pbuffer *pbuf local 265 struct apple_glx_pbuffer *pbuf; local [all...] |
/external/syslinux/core/lwip/src/core/ |
H A D | pbuf.c | 5 * Packets are built from the pbuf data structure. It supports dynamic 11 * list. This is called a "pbuf chain". 16 * So, a packet queue consists of one or more pbuf chains, each of 20 * The differences between a pbuf chain and a packet queue are very 23 * The last pbuf of a packet has a ->tot_len field that equals the 25 * pbuf of a packet has a ->next field other than NULL, more packets 28 * Therefore, looping through a pbuf of a single packet, has an 70 #include "lwip/pbuf.h" 82 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf)) 154 * Allocates a pbuf o [all...] |
/external/libmtp/util/ |
H A D | mtp-probe.c | 65 char pbuf[FILENAME_MAX]; local 76 strcpy(pbuf, path); 77 pbuf[len++] = '/'; 80 strncpy(pbuf + len, "type", FILENAME_MAX - len); 81 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 83 fd = open(pbuf, O_RDONLY); 101 strncpy(pbuf + len, "direction", FILENAME_MAX - len); 102 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 104 fd = open(pbuf, O_RDONLY); 135 char pbuf[FILENAME_MA local [all...] |
/external/ltp/testcases/kernel/syscalls/open/ |
H A D | open09.c | 47 char pbuf[BUFSIZ]; local 61 ret = read(fildes, pbuf, 1); 73 ret = write(fildes, pbuf, 1);
|
/external/syslinux/core/lwip/src/netif/ppp/ |
H A D | vj.h | 151 extern u_int vj_compress_tcp (struct vjcompress *comp, struct pbuf *pb); 153 extern int vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp); 154 extern int vj_uncompress_tcp (struct pbuf **nb, struct vjcompress *comp);
|
/external/ipsec-tools/src/racoon/ |
H A D | isakmp_newg.c | 89 vchar_t *pbuf = NULL; 92 if ((pbuf = isakmp_parse(msg)) == NULL) 95 for (pa = (struct isakmp_parse_t *)pbuf->v; 106 vfree(pbuf); 117 vfree(pbuf); 131 vfree(pbuf); 135 vfree(pbuf);
|
H A D | remoteconf.c | 498 char buf[1024], *pbuf; local 499 pbuf = buf; 500 pbuf += sprintf (pbuf, "\tpeers_identifier %s", 503 pbuf += sprintf (pbuf, " \"%s\"", id->id->v); 513 char buf[1024], *pbuf; local 515 pbuf = buf; 516 pbuf += sprintf(pbuf, "remot [all...] |
/external/syslinux/core/lwip/src/netif/ |
H A D | ethernetif.c | 52 #include "lwip/pbuf.h" 109 * contained in the pbuf that is passed to the function. This pbuf 124 low_level_output(struct netif *netif, struct pbuf *p) 127 struct pbuf *q; 136 /* Send the data from the pbuf to the interface, one pbuf at a 137 time. The size of the data in each pbuf is kept in the ->len 154 * Should allocate a pbuf and transfer the bytes of the incoming 155 * packet from the interface into the pbuf [all...] |
/external/python/cpython2/Objects/ |
H A D | structseq.c | 245 char *endofbuf, *pbuf = buf; local 257 strncpy(pbuf, typ->tp_name, len); 258 pbuf += len; 259 *pbuf++ = '('; 285 if ((pbuf+len) <= endofbuf) { 286 strcpy(pbuf, cname); 287 pbuf += strlen(cname); 288 *pbuf++ = '='; 289 strcpy(pbuf, crepr); 290 pbuf [all...] |
/external/python/cpython3/Objects/ |
H A D | structseq.c | 171 char *endofbuf, *pbuf = buf; local 179 strncpy(pbuf, typ->tp_name, len); 180 pbuf += len; 181 *pbuf++ = '('; 205 if ((pbuf+len) <= endofbuf) { 206 strcpy(pbuf, cname); 207 pbuf += strlen(cname); 208 *pbuf++ = '='; 209 strcpy(pbuf, crepr); 210 pbuf [all...] |
/external/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork08.c | 53 static char pbuf[10]; variable 165 sprintf(pbuf, "%d", getpid()); 166 strcat(fnamebuf, pbuf);
|
/external/ltp/testcases/kernel/syscalls/write/ |
H A D | write05.c | 78 char pbuf[BUFSIZ]; local 95 if (write(-1, pbuf, 1) != -1) { 138 if (write(pipefildes[1], pbuf, 1) != -1) {
|
/external/syslinux/core/lwip/src/include/netif/ |
H A D | ppp_oe.h | 180 void pppoe_disc_input(struct netif *netif, struct pbuf *p); 181 void pppoe_data_input(struct netif *netif, struct pbuf *p); 183 err_t pppoe_xmit(struct pppoe_softc *sc, struct pbuf *pb);
|
H A D | etharp.h | 42 #include "lwip/pbuf.h" 161 /** Define this to 1 and define LWIP_ARP_FILTER_NETIF_FN(pbuf, netif, type) 177 struct pbuf *p; 185 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr); 186 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q); 209 err_t ethernet_input(struct pbuf *p, struct netif *netif);
|