On 04/28/2011 02:56 PM, Kurt Van Dijck wrote:
> On Thu, Apr 28, 2011 at 01:13:21PM +0200, Marc Kleine-Budde wrote:
>
>>> + while (1) {
>>> + /* these settings may be modified by recvmsg() */
>>> + iov.iov_len = s.pkt_len;
>>> + msg.msg_namelen = sizeof(src);
>>> + msg.msg_controllen = sizeof(ctrlmsg);
>>> + msg.msg_flags = 0;
>>> +
>>> + ret = recvmsg(sock, &msg, 0);
>>> + //ret = recvfrom(buf, s.pkt_len, 0, (void *)&addr, &len);
>> remove?
> how about the educational purpose of such tools?good point Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
