lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAM4gwJ3PBCBSK0Rp3pqDP6Rd_vBekfpRtnC=9P1u=Lqb+DjrZw@mail.gmail.com>
Date:	Fri, 20 Feb 2015 10:10:59 +0100
From:	Shahin Ghazinouri <shahin.ghazinouri@...il.com>
To:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: usbnet devices with several in/out endpoints

I'm developing a driver for a USB network device that filters received
network packets into two separate USB IN endpoints. This means a
second rx urb has to be allocated and submitted.

Right now, the implementation relies on patching usbnet.c, so that a
second urb is allocated and a new function "rx_submit_fixup" is called
in the device driver. This function is a copy of rx_submit, except it
submits an urb to receive data from the second endpoint.

Would it be feasible to modify the current usbnet framework to support
devices with several endpoints?

Kind regards,
Shahin
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists