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  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]
Date:	Thu, 28 Aug 2014 10:39:40 +0200
From:	Sven Bachmann <>
Subject: enhance sendto/recvfrom with Ethernet switch port


I tried to ask this question at Stackoverflow but they marked it as question
for Administrators and not for Programmers [1].

So maybe you could enlighten me. I have an AM335x board which uses the
integrated CPSW switch. This switch is supported by the current Linux  
tree [2].
Currently, the driver only uses the switch port where the frames are came in
and go out only internally.

My question is: is there already a common way to exchange the information
on which port a frame came in (recvfrom) and should go out (sendto) with a
userspace application which I could adapt for the CPSW driver?

For outgoing frames I'm using raw sockets, but for incoming frames UDP is
needed, so it should be possible to keep the information through the TCP/IP

Thanks for your hints and help!



To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists