In article <[EMAIL PROTECTED]> (at Thu, 08 Feb 2007 16:32:11 +0000), David Howells <[EMAIL PROTECTED]> says:
> (2) A local address can optionally be bound: > > struct sockaddr_rxrpc srx = { > .srx_family = AF_RXRPC, > .srx_service = 0, /* we're a client */ > .transport_type = SOCK_DGRAM, /* type of transport socket */ > .transport.sin_family = AF_INET, > .transport.sin_port = htons(7000), /* AFS callback */ > .transport.sin_address = 0, /* all local interfaces */ > }; This sockaddr_rxrpc{} should NOT include sockaddr_in{} directly. Please use sockaddr_storage{} (or sockaddr{}, maybe), and make it sure to align on 64-bit word. --yoshfuji - 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