/third_party/lwip/test/unit/core/ |
D | test_pbuf.c | 47 p = pbuf_alloc(PBUF_RAW, 0, PBUF_ROM); in START_TEST() 53 p = pbuf_alloc(PBUF_RAW, 0, PBUF_RAM); in START_TEST() 59 p = pbuf_alloc(PBUF_RAW, 0, PBUF_REF); in START_TEST() 65 p = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in START_TEST() 83 p1 = pbuf_alloc(PBUF_RAW, 1024, PBUF_RAM); in START_TEST() 87 p2 = pbuf_alloc(PBUF_RAW, 2, PBUF_POOL); in START_TEST() 96 p3 = pbuf_alloc(PBUF_RAW, p1->tot_len, PBUF_POOL); in START_TEST() 114 p = pbuf_alloc(PBUF_RAW, 1, PBUF_POOL); in START_TEST() 138 p1 = pbuf_alloc(PBUF_RAW, TESTBUFSIZE_1, PBUF_POOL); in START_TEST() 140 p2 = pbuf_alloc(PBUF_RAW, TESTBUFSIZE_2, PBUF_POOL); in START_TEST() [all …]
|
/third_party/lwip/test/unit/mdns/ |
D | test_mdns.c | 47 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 66 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 85 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 110 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 166 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 191 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 220 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 254 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 280 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() 302 p = pbuf_alloc(PBUF_RAW, sizeof(data), PBUF_ROM); in START_TEST() [all …]
|
/third_party/lwip/ |
D | 0019-gazelle-reduce-copy-in-send.patch | 15 @@ -281,6 +281,10 @@ pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) 26 @@ -289,6 +293,7 @@ pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) 28 LWIP_ASSERT("pbuf_alloc: pbuf->payload properly aligned", 45 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
|
D | 0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch | 100 @@ -288,7 +288,7 @@ pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) 167 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
|
/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 …tftp_state.last_data = pbuf_alloc(PBUF_TRANSPORT, TFTP_HEADER_LENGTH + TFTP_MAX_PAYLOAD_SIZE, PBUF… in send_data()
|
/third_party/lwip/test/unit/etharp/ |
D | test_etharp.c | 82 …struct 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 | pppos.c | 213 nb = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppos_write() 264 nb = pbuf_alloc(PBUF_RAW, 0, PBUF_POOL); in pppos_netif_output() 428 p = pbuf_alloc(PBUF_RAW, l, PBUF_POOL); in pppos_input_tcpip() 675 next_pbuf = pbuf_alloc(PBUF_RAW, pbuf_alloc_len, PBUF_POOL); in pppos_input()
|
D | vj.c | 636 np = pbuf_alloc(PBUF_LINK, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp() 638 np = pbuf_alloc(PBUF_RAW, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp() 665 np = pbuf_alloc(PBUF_RAW, cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
|
D | chap-new.c | 239 p = pbuf_alloc(PBUF_RAW, (u16_t)(pcb->chap_server.challenge_pktlen), PPP_CTRL_PBUF_TYPE); in chap_timeout() 348 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +len), PPP_CTRL_PBUF_TYPE); 444 p = pbuf_alloc(PBUF_RAW, (u16_t)(RESP_MAX_PKTLEN), PPP_CTRL_PBUF_TYPE);
|
D | eap.c | 254 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + EAP_HEADERLEN), PPP_CTRL_PBUF_TYPE); in eap_send_failure() 285 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + EAP_HEADERLEN), PPP_CTRL_PBUF_TYPE); in eap_send_success() 686 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_CTRL_PBUF_MAX_SIZE), PPP_CTRL_PBUF_TYPE); in eap_send_request() 1021 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_send_response() 1055 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_chap_response() 1100 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); 1142 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); 1173 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_send_nak()
|
D | upap.c | 536 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +outlen), PPP_CTRL_PBUF_TYPE); in upap_sauthreq() 573 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +outlen), PPP_CTRL_PBUF_TYPE); in upap_sresp()
|
/third_party/lwip/src/api/ |
D | netbuf.c | 110 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()
|
/third_party/lwip/test/unit/ip6/ |
D | test_ip6.c | 306 payload = pbuf_alloc(PBUF_RAW, 1400, PBUF_POOL); in START_TEST() 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/src/core/ipv6/ |
D | icmp6.c | 147 r = pbuf_alloc(PBUF_IP, p->tot_len, PBUF_RAM); in icmp6_input() 398 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp6_hdr) + datalen, in icmp6_send_response_with_addrs_and_netif()
|
/third_party/lwip/src/core/ |
D | tcp_out.c | 275 p = pbuf_alloc(layer, alloc, PBUF_RAM); in tcp_pbuf_prealloc() 286 #define tcp_pbuf_prealloc(layer, length, mx, os, pcb, api, fst) pbuf_alloc((layer), (length), PBUF_… 576 if ((concat_p = pbuf_alloc(PBUF_RAW, seglen, PBUF_ROM)) == NULL) { in tcp_write() 639 if ((p2 = pbuf_alloc(PBUF_TRANSPORT, seglen, PBUF_ROM)) == NULL) { in tcp_write() 655 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_write() 889 p = pbuf_alloc(PBUF_TRANSPORT, remainder + optlen, PBUF_RAM); in tcp_split_unsent_seg() 1089 if ((p = pbuf_alloc(PBUF_TRANSPORT, optlen, PBUF_RAM)) == NULL) { in tcp_enqueue_flags() 1838 p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header_common()
|
/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()
|
/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/doc/ |
D | NO_SYS_SampleCode.c | 7 struct pbuf* p = pbuf_alloc(PBUF_RAW, eth_data_count, PBUF_POOL); in eth_mac_irq()
|
/third_party/lwip/test/unit/tcp/ |
D | tcp_helper.c | 57 p = pbuf_alloc(PBUF_RAW, pbuf_len, PBUF_POOL); in tcp_create_segment_wnd() 284 struct pbuf *p_copy = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in test_tcp_netif_output()
|
/third_party/lwip/test/unit/mqtt/ |
D | test_mqtt.c | 94 p = pbuf_alloc(PBUF_RAW, sizeof(rxbuf), PBUF_REF); in START_TEST()
|
/third_party/lwip/test/fuzz/ |
D | fuzz.c | 101 p = pbuf_alloc(PBUF_RAW, (u16_t)len, PBUF_POOL); in input_pkt()
|
/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/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()
|