Home
last modified time | relevance | path

Searched refs:pbuf_alloc (Results 1 – 23 of 23) sorted by relevance

/external/syslinux/core/lwip/src/api/
Dnetbuf.c115 buf->p = pbuf_alloc(PBUF_TRANSPORT, size, PBUF_RAM); in netbuf_alloc()
156 buf->p = pbuf_alloc(PBUF_TRANSPORT, 0, PBUF_REF); in netbuf_ref()
Dsockets.c831 p = pbuf_alloc(PBUF_TRANSPORT, short_size, PBUF_RAM);
841 p = pbuf_alloc(PBUF_TRANSPORT, short_size, PBUF_REF);
Dapi_msg.c97 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in recv_raw()
/external/syslinux/core/lwip/src/core/
Dtcp_out.c96 struct pbuf *p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header()
252 p = pbuf_alloc(layer, alloc, PBUF_RAM); in tcp_pbuf_prealloc()
263 #define tcp_pbuf_prealloc(layer, length, mx, os, pcb, api, fst) pbuf_alloc((layer), (length), PBUF_…
486 if ((concat_p = pbuf_alloc(PBUF_RAW, seglen, PBUF_ROM)) == NULL) { in tcp_write()
547 if ((p2 = pbuf_alloc(PBUF_TRANSPORT, seglen, PBUF_ROM)) == NULL) { in tcp_write()
559 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_write()
757 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_enqueue_flags()
1193 p = pbuf_alloc(PBUF_IP, TCP_HLEN, PBUF_RAM); in tcp_rst()
Draw.c215 q = pbuf_alloc(PBUF_IP, 0, PBUF_RAM); in raw_sendto()
Dpbuf.c185 pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) in pbuf_alloc() function
994 q = pbuf_alloc(layer, p->tot_len, PBUF_RAM); in pbuf_coalesce()
Dudp.c308 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM);
517 q = pbuf_alloc(PBUF_IP, UDP_HLEN, PBUF_RAM);
Dnetif.c610 r = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in netif_loop_output()
Ddns.c581 p = pbuf_alloc(PBUF_TRANSPORT, SIZEOF_DNS_HDR + DNS_MAX_NAME_LENGTH + in dns_send()
Ddhcp.c1642 dhcp->p_out = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct dhcp_msg), PBUF_RAM); in dhcp_create_msg()
/external/syslinux/core/lwip/src/core/ipv4/
Dicmp.c156 r = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in icmp_input()
296 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE, in icmp_send_response()
Dip_frag.c697 rambuf = pbuf_alloc(PBUF_LINK, 0, PBUF_REF); in ip_frag()
738 rambuf = pbuf_alloc(PBUF_IP, cop, PBUF_RAM); in ip_frag()
759 rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM); in ip_frag()
826 header = pbuf_alloc(PBUF_LINK, 0, PBUF_RAM); in ip_frag()
Digmp.c782 p = pbuf_alloc(PBUF_TRANSPORT, IGMP_MINLEN, PBUF_RAM); in igmp_send()
/external/syslinux/core/lwip/src/netif/ppp/
Dppp.c730 tb = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppAppend()
763 pb = pbuf_alloc(PBUF_LINK, PPPOE_HDRLEN + sizeof(protocol), PBUF_RAM); in pppifOutputOverEthernet()
840 headMB = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppifOutput()
1028 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HDRLEN + n), PBUF_RAM); in pppWriteOverEthernet()
1077 headMB = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppWrite()
1564 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in pppSingleBuf()
1916 nextNBuf = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppInProc()
Dppp_oe.c697 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi()
914 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padr()
954 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN, PBUF_RAM); in pppoe_send_padt()
993 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len, PBUF_RAM); in pppoe_send_pado()
1030 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len, PBUF_RAM); in pppoe_send_pads()
Dvj.c599 np = pbuf_alloc(PBUF_RAW, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
629 np = pbuf_alloc(PBUF_RAW, cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
/external/syslinux/core/lwip/src/include/lwip/
Dpbuf.h122 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
/external/syslinux/core/lwip/src/netif/
Dethernetif.c177 p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL);
Dslipif.c215 priv->p = pbuf_alloc(PBUF_LINK, (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN), PBUF_POOL); in slipif_input()
Dundiif.c578 p = pbuf_alloc(PBUF_RAW, arp_hdr_len(netif), PBUF_RAM); in undiarp_request()
1011 p = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in undiarp_query()
1162 p = pbuf_alloc(PBUF_RAW, len, PBUF_POOL); in low_level_input()
Detharp.c1036 p = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM);
1131 p = pbuf_alloc(PBUF_RAW, SIZEOF_ETHARP_PACKET, PBUF_RAM);
/external/syslinux/core/lwip/src/core/snmp/
Dmsg_out.c125 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_POOL); in snmp_send_response()
137 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_POOL); in snmp_send_response()
261 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_POOL); in snmp_send_trap()
/external/syslinux/core/lwip/
DCHANGELOG712 * pbuf.c: Fixed bug #28064: pbuf_alloc(PBUF_POOL) is not thread-safe by
2226 * api.h, api_lib.c, sockets.c: netbuf_ref doesn't check its internal pbuf_alloc call
2308 * pbuf.c: checked in patch #5796: pbuf_alloc: len field claculation caused
2366 Also fixed cast warning in pbuf_alloc()
2482 access and added pbuf_alloc() return value checks.
2691 * Fixed pool pbuf memory leak in pbuf_alloc().
2696 pbufs. Fixed in pbuf_alloc().