David Miller <[EMAIL PROTECTED]> wrote: > >> BTW, is it possible to send both these requests out before starting to >> read the results? This would reduce the amount of code quite a bit. > > Unfortunately, that won't work. Like datagram protocols, > netlink assumes one message per sendmsg() call.
Actually netlink packets come with headers so we do allow chaining. See netlink_rcv_skb for details. We don't make use of that on recvmsg() though although theoretically user-space is supposed to be ready to handle that too. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html