Home
last modified time | relevance | path

Searched refs:PBUF_TRANSPORT (Results 1 – 19 of 19) sorted by relevance

/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 …tftp_state.last_data = pbuf_alloc(PBUF_TRANSPORT, TFTP_HEADER_LENGTH + TFTP_MAX_PAYLOAD_SIZE, PBUF… in send_data()
/third_party/lwip/src/api/
Dnetbuf.c110 buf->p = pbuf_alloc(PBUF_TRANSPORT, size, PBUF_RAM); in netbuf_alloc()
157 buf->p = pbuf_alloc(PBUF_TRANSPORT, 0, PBUF_REF); in netbuf_ref()
Dsockets.c1580 p = pbuf_alloc(PBUF_TRANSPORT, 0, PBUF_REF); in lwip_sendmsg_internal()
/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()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c164 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/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/include/lwip/
Dpbuf.h93PBUF_TRANSPORT = PBUF_LINK_ENCAPSULATION_HLEN + PBUF_LINK_HLEN + PBUF_IP_HLEN + PBUF_TRANSPORT_HLE… enumerator
/third_party/lwip/src/netif/
Dzepif.c186 q = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct zep_hdr) + p->tot_len, PBUF_RAM); in zepif_linkoutput()
/third_party/lwip/src/core/
Dtcp_out.c610 …if ((p = tcp_pbuf_prealloc(PBUF_TRANSPORT, seglen + optlen, mss_local, &oversize, pcb, apiflags, q… in tcp_write()
627 if ((p2 = pbuf_alloc(PBUF_TRANSPORT, seglen, PBUF_ROM)) == NULL) { in tcp_write()
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()
Ddns.c788 p = pbuf_alloc(PBUF_TRANSPORT, in dns_send()
791 …p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY… in dns_send()
794 p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 + in dns_send()
/third_party/lwip/src/apps/snmp/
Dsnmp_traps.c209 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_RAM); in snmp_send_trap()
Dsnmp_msg.c1274 request->outbound_pbuf = pbuf_alloc(PBUF_TRANSPORT, 1472, PBUF_RAM); in snmp_prepare_outbound_frame()
/third_party/lwip/test/unit/udp/
Dtest_udp.c181 p = pbuf_alloc(PBUF_TRANSPORT, length, PBUF_POOL); in test_udp_create_test_packet()
/third_party/lwip/src/core/ipv4/
Digmp.c766 p = pbuf_alloc(PBUF_TRANSPORT, IGMP_MINLEN, PBUF_RAM); in igmp_send()
Ddhcp.c1901 p_out = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct dhcp_msg), PBUF_RAM); in dhcp_create_msg()
/third_party/lwip/src/apps/sntp/
Dsntp.c549 p = pbuf_alloc(PBUF_TRANSPORT, SNTP_MSG_LEN, PBUF_RAM); in sntp_send_request()
/third_party/lwip/src/core/ipv6/
Ddhcp6.c385 p_out = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct dhcp6_msg) + opt_len_alloc, PBUF_RAM); in dhcp6_create_msg()
/third_party/lwip/src/apps/mdns/
Dmdns.c908 outpkt->pbuf = pbuf_alloc(PBUF_TRANSPORT, OUTPACKET_SIZE, PBUF_RAM); in mdns_add_question()
980 reply->pbuf = pbuf_alloc(PBUF_TRANSPORT, OUTPACKET_SIZE, PBUF_RAM); in mdns_add_answer()
/third_party/libcoap/src/
Dpdu.c108 pdu->pbuf = pbuf_alloc(PBUF_TRANSPORT, size + pdu->max_hdr_size, PBUF_RAM); in coap_pdu_init()