[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] remove some bytes from the end of the evbuffer
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] remove some bytes from the end of the evbuffer
- From: 谷天仁 <wsgtrsys@xxxxxxxxx>
- Date: Fri, 15 Mar 2013 11:44:17 +0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 14 Mar 2013 23:44:22 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=kZuTLSiM22KctcExBYbZJQVpYlV6yAvH6TMvqBUi+ZM=; b=yIqOv/JVlOPFFhqq/WsgeXcUKXhYmAIvAApJXTSPWQyVGywbvj7xxB0glVh8R1DcEf CRAcdzDsfWHAa8OiOmRzrnyCm7K43t5fLqm5mqTmKDmJKtcDOc4jjbikdM5HV7EouSNk uQbq2CIamEbHIOjmmLJ10Puopzkqu1f8BWryBHNOmyDVf1erAdVDTU7EJn17kMdqxVzt b/eQ1zvokhKugxobhREaVEPTX1vnxBKzpOCSu9ysgY6IFePwvpB8z/amsNH9QMi33hp9 LcZbtHx11R4H5VPsw8OWIWRNiTEulrxhHDfQb1VVI3lhEb7oGPKqAI6EZX8AwWyetmTi xgzQ==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
I now use libevent to develop a network program, which used a evbuffer
buffer function.
The currently evbuff only evbuffer_drain and evbuffer_remove, are
removed from the head of the buffer data.
I need a very important functions: remove some bytes from the end of the buffer.
That is the sk_buff like linux kernel as a function of: skb_trim.
It describes: http://www.skbuff.net/skbbasic.html
I hope that the developers can add this function
Thanks!
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.