Home
last modified time | relevance | path

Searched refs:PBUF_RAM (Results 1 – 25 of 48) sorted by relevance

12

/third_party/lwip/src/apps/tftp/
Dtftp_server.c124 p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(TFTP_HEADER_LENGTH + str_length + 1), PBUF_RAM); in send_error()
144 p = pbuf_alloc(PBUF_TRANSPORT, TFTP_HEADER_LENGTH, PBUF_RAM); in send_ack()
159 struct pbuf *p = pbuf_alloc(PBUF_TRANSPORT, tftp_state.last_data->len, PBUF_RAM); in resend_data()
183 …state.last_data = pbuf_alloc(PBUF_TRANSPORT, TFTP_HEADER_LENGTH + TFTP_MAX_PAYLOAD_SIZE, PBUF_RAM); in send_data()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c82 …truct pbuf *p = pbuf_alloc(PBUF_RAW, sizeof(struct eth_hdr) + sizeof(struct etharp_hdr), PBUF_RAM); in create_arp_response()
164 struct pbuf *p = pbuf_alloc(PBUF_TRANSPORT, 10, PBUF_RAM); in START_TEST()
199 struct pbuf *p = pbuf_alloc(PBUF_TRANSPORT, 10, PBUF_RAM); in START_TEST()
/third_party/lwip/src/netif/ppp/
Dpppol2tp.c175 ph = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(PPPOL2TP_OUTPUT_DATA_HEADER_LEN), PBUF_RAM); in pppol2tp_write()
216 pb = pbuf_alloc(PBUF_TRANSPORT, PPPOL2TP_OUTPUT_DATA_HEADER_LEN + sizeof(protocol), PBUF_RAM); in pppol2tp_netif_output()
825 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_sccrq()
920 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_scccn()
967 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_icrq()
1015 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_iccn()
1062 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_zlb()
1091 pb = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_RAM); in pppol2tp_send_stopccn()
Dpppoe.c222 ph = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN), PBUF_RAM); in pppoe_write()
263 pb = pbuf_alloc(PBUF_LINK, PPPOE_HEADERLEN + sizeof(protocol), PBUF_RAM); in pppoe_netif_output()
777 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi()
998 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padr()
1038 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN), PBUF_RAM); in pppoe_send_padt()
1079 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_pado()
1112 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_pads()
Dmppe.c204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_RAM); in mppe_compress()
/third_party/lwip/src/netif/
Dzepif.c186 q = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct zep_hdr) + p->tot_len, PBUF_RAM); in zepif_linkoutput()
207 zepif_udp_recv(netif, state->pcb, pbuf_clone(PBUF_RAW, PBUF_RAM, q), NULL, 0); in zepif_linkoutput()
Dlowpan6_ble.c246 p_frag = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in rfc7668_compress()
/third_party/lwip/src/core/ipv6/
Dicmp6.c147 r = pbuf_alloc(PBUF_IP, p->tot_len, PBUF_RAM); in icmp6_input()
395 PBUF_RAM); in icmp6_send_response_with_addrs_and_netif()
Dip6_frag.c754 rambuf = pbuf_alloc(PBUF_IP, cop + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
778 rambuf = pbuf_alloc(PBUF_LINK, IP6_HLEN + IP6_FRAG_HLEN, PBUF_RAM); in ip6_frag()
Dnd6.c1215 p = pbuf_alloc(PBUF_IP, sizeof(struct ns_header) + (lladdr_opt_len << 3), PBUF_RAM); in nd6_send_ns()
1284 p = pbuf_alloc(PBUF_IP, sizeof(struct na_header) + (lladdr_opt_len << 3), PBUF_RAM); in nd6_send_na()
1365 p = pbuf_alloc(PBUF_IP, sizeof(struct rs_header) + (lladdr_opt_len << 3), PBUF_RAM); in nd6_send_rs()
2088 p = pbuf_clone(PBUF_LINK, PBUF_RAM, q); in nd6_queue_packet()
2100 p = pbuf_clone(PBUF_LINK, PBUF_RAM, q); in nd6_queue_packet()
Dmld6.c570 p = pbuf_alloc(PBUF_IP, sizeof(struct mld_header) + MLD6_HBH_HLEN, PBUF_RAM); in mld6_send()
/third_party/lwip/src/core/ipv4/
Dicmp.c168 r = pbuf_alloc(PBUF_LINK, alloc_len, PBUF_RAM); in icmp_input()
360 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + response_pkt_len, PBUF_RAM); in icmp_send_response()
Dip4_frag.c779 rambuf = pbuf_alloc(PBUF_IP, fragsize, PBUF_RAM); in ip4_frag()
800 rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM); in ip4_frag()
/third_party/lwip/test/unit/ip6/
Dtest_ip6.c309 struct pbuf *p = pbuf_alloc(PBUF_RAW, 32, PBUF_RAM); in START_TEST()
314 hdr = pbuf_alloc(PBUF_IP, 8, PBUF_RAM); in START_TEST()
/third_party/lwip/test/unit/core/
Dtest_pbuf.c53 p = pbuf_alloc(PBUF_RAW, 0, PBUF_RAM); in START_TEST()
83 p1 = pbuf_alloc(PBUF_RAW, 1024, PBUF_RAM); in START_TEST()
/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c379 q = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct netbios_resp), PBUF_RAM); in netbiosns_recv()
420 q = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct netbios_answer), PBUF_RAM); in netbiosns_recv()
/third_party/lwip/src/api/
Dnetbuf.c110 buf->p = pbuf_alloc(PBUF_TRANSPORT, size, PBUF_RAM); in netbuf_alloc()
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_eth_drv.c140 p = pbuf_alloc(PBUF_RAW, (total_len + ETH_PAD_SIZE), PBUF_RAM); in eth_drv_recv()
/third_party/lwip/src/core/
Dtcp_out.c263 p = pbuf_alloc(layer, alloc, PBUF_RAM); in tcp_pbuf_prealloc()
274 …ine tcp_pbuf_prealloc(layer, length, mx, os, pcb, api, fst) pbuf_alloc((layer), (length), PBUF_RAM)
643 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_write()
877 p = pbuf_alloc(PBUF_TRANSPORT, remainder + optlen, PBUF_RAM); in tcp_split_unsent_seg()
1077 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_enqueue_flags()
1826 p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header_common()
Ddns.c789 …(u16_t)(sizeof(udp_data) + SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
791 …oc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
795 SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
Dudp.c392 q = pbuf_clone(PBUF_RAW, PBUF_RAM, p); in udp_input()
766 q = pbuf_alloc(PBUF_IP, UDP_HLEN, PBUF_RAM); in udp_sendto_if_src_chksum()
/third_party/lwip/test/unit/ip4/
Dtest_ip4.c25 p = pbuf_alloc(PBUF_RAW, len + sizeof(struct ip_hdr), PBUF_RAM); in create_ip4_input_fragment()
/third_party/lwip/src/include/lwip/
Dpbuf.h152PBUF_RAM = (PBUF_ALLOC_FLAG_DATA_CONTIGUOUS | PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_AL… enumerator
/third_party/NuttX/drivers/usbdev/gadget/
Df_ether.c236 p = pbuf_alloc(PBUF_RAW, (uint16_t)(total_len + ETH_PAD_SIZE), PBUF_RAM); in eth_rx()
/third_party/lwip/src/apps/snmp/
Dsnmp_traps.c209 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_RAM); in snmp_send_trap()

12