/third_party/lwip/src/api/ |
D | netbuf.c | 63 netbuf *netbuf_new(void) in netbuf_new() 65 struct netbuf *buf; in netbuf_new() 67 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new() 69 memset(buf, 0, sizeof(struct netbuf)); in netbuf_new() 81 netbuf_delete(struct netbuf *buf) in netbuf_delete() 102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc() 127 netbuf_free(struct netbuf *buf) in netbuf_free() 151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref() 176 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() 196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data() [all …]
|
D | api_lib.c | 658 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data() 822 netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf) in netconn_recv_udp_raw_netbuf() 842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags) in netconn_recv_udp_raw_netbuf_flags() 860 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv() 863 struct netbuf *buf = NULL; in netconn_recv() 879 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv() 922 netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port) in netconn_sendto() 941 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
|
/third_party/lwip/src/include/lwip/ |
D | netbuf.h | 60 struct netbuf { struct 74 struct netbuf * netbuf_new (void); argument 75 void netbuf_delete (struct netbuf *buf); 76 void * netbuf_alloc (struct netbuf *buf, u16_t size); 77 void netbuf_free (struct netbuf *buf); 78 err_t netbuf_ref (struct netbuf *buf, 80 void netbuf_chain (struct netbuf *head, struct netbuf *tail); 82 err_t netbuf_data (struct netbuf *buf, 84 s8_t netbuf_next (struct netbuf *buf); 85 void netbuf_first (struct netbuf *buf);
|
D | api.h | 334 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf); 335 err_t netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf); 336 err_t netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apifl… 340 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf, 342 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
|
/third_party/lwip/ |
D | 0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch | 4 Subject: [PATCH] drop-netbuf-in-recv_udp-to-fix-mem-overflow 28 len = netbuf_len((struct netbuf *)buf); 33 @@ -827,6 +831,16 @@ netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf) 48 * Receive data (in form of a netbuf) from a UDP or RAW netconn 66 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); 101 …DEBUG, ("lwip_recvfrom_udp_raw[UDP/RAW]: top sock->lastdata=%p\n", (void *)sock->lastdata.netbuf)); 103 buf = sock->lastdata.netbuf; 105 sock->lastdata.netbuf = NULL; 161 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf); 162 err_t netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf); [all …]
|
D | 0060-lwip-add-udp-multicast.patch | 51 /* Convert a netbuf's address data to struct sockaddr */ 62 …DEBUG, ("lwip_recvfrom_udp_raw[UDP/RAW]: top sock->lastdata=%p\n", (void *)sock->lastdata.netbuf)); 64 buf = sock->lastdata.netbuf; 66 sock->lastdata.netbuf = NULL;
|
/third_party/lwip/src/include/lwip/priv/ |
D | sockets_priv.h | 62 struct netbuf *netbuf; member
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_netconn.c | 52 struct netbuf *buf; in snmp_netconn_thread() 85 struct netbuf buf; in snmp_sendto()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/ |
D | tirpc_rpcb_getaddr.c | 54 struct netbuf svcaddr; in main()
|
D | tirpc_rpcb_getaddr_limits.c | 53 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/ |
D | tirpc_clnt_tli_create.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/ |
D | tirpc_clnt_vc_create.c | 54 struct netbuf svcaddr; in main()
|
D | tirpc_clnt_vc_create_limits.c | 65 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/ |
D | tirpc_clnt_dg_create.c | 51 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/ |
D | tirpc_clnt_control_limits.c | 74 clnt_control(client, CLGET_SVC_ADDR, (struct netbuf *)&tst_nconf); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/ |
D | tirpc_svcerr_noprog.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/ |
D | tirpc_rpcb_rmtcall.c | 54 struct netbuf svcaddr; in main()
|
D | tirpc_rpcb_rmtcall_stress.c | 56 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/ |
D | tirpc_svcerr_systemerr.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/ |
D | tirpc_svcerr_progvers.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/ |
D | tirpc_svcerr_noproc.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/ |
D | tirpc_svcerr_weakauth.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/ |
D | tirpc_expertlevel_clnt_call.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
D | tirpc_bottomlevel_clnt_call.c | 51 struct netbuf svcaddr; in main()
|
D | tirpc_bottomlevel_clnt_call_stress.c | 56 struct netbuf svcaddr; in main()
|