/third_party/lwip/src/apps/tftp/ |
D | tftp_server.c | 124 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/ |
D | test_etharp.c | 82 …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/ |
D | pppol2tp.c | 175 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()
|
D | pppoe.c | 222 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()
|
D | mppe.c | 204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_RAM); in mppe_compress()
|
/third_party/lwip/src/netif/ |
D | zepif.c | 186 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()
|
D | lowpan6_ble.c | 246 p_frag = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in rfc7668_compress()
|
/third_party/lwip/src/core/ipv6/ |
D | icmp6.c | 147 r = pbuf_alloc(PBUF_IP, p->tot_len, PBUF_RAM); in icmp6_input() 395 PBUF_RAM); in icmp6_send_response_with_addrs_and_netif()
|
D | ip6_frag.c | 754 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()
|
D | nd6.c | 1215 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()
|
D | mld6.c | 570 p = pbuf_alloc(PBUF_IP, sizeof(struct mld_header) + MLD6_HBH_HLEN, PBUF_RAM); in mld6_send()
|
/third_party/lwip/src/core/ipv4/ |
D | icmp.c | 168 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()
|
D | ip4_frag.c | 779 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/ |
D | test_ip6.c | 309 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/ |
D | test_pbuf.c | 53 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/ |
D | netbiosns.c | 379 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/ |
D | netbuf.c | 110 buf->p = pbuf_alloc(PBUF_TRANSPORT, size, PBUF_RAM); in netbuf_alloc()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | usb_eth_drv.c | 140 p = pbuf_alloc(PBUF_RAW, (total_len + ETH_PAD_SIZE), PBUF_RAM); in eth_drv_recv()
|
/third_party/lwip/src/core/ |
D | tcp_out.c | 263 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()
|
D | dns.c | 789 …(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()
|
D | udp.c | 392 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/ |
D | test_ip4.c | 25 p = pbuf_alloc(PBUF_RAW, len + sizeof(struct ip_hdr), PBUF_RAM); in create_ip4_input_fragment()
|
/third_party/lwip/src/include/lwip/ |
D | pbuf.h | 152 …PBUF_RAM = (PBUF_ALLOC_FLAG_DATA_CONTIGUOUS | PBUF_TYPE_FLAG_STRUCT_DATA_CONTIGUOUS | PBUF_TYPE_AL… enumerator
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_ether.c | 236 p = pbuf_alloc(PBUF_RAW, (uint16_t)(total_len + ETH_PAD_SIZE), PBUF_RAM); in eth_rx()
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_traps.c | 209 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_RAM); in snmp_send_trap()
|