From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] pcap: remove test for PCAP_CAN_SEND Date: Sat, 29 Mar 2014 11:34:46 +0100 Message-ID: <3857255.iofc7hnFnA@x220> References: <1396056749-11738-1-git-send-email-nhorman@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <1396056749-11738-1-git-send-email-nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Neil, 28/03/2014 21:32, Neil Horman : > The libpcap library has had the ability to send packets since 2004, theres > really no need to test for it. Especially in the way dpdk is doing as, as > according to the libpcap git tree pcap_sendpacket has never been a #define, > and dpdk tests for its existance with an #ifdef. Its easier just to remove > the test entirely > > Signed-off-by: Neil Horman A similar patch is already applied on HEAD: http://dpdk.org/browse/dpdk/commit/?id=2a315d698510e7b33 -- Thomas