On 1/11/11 8:25 PM, Jerry James wrote:
On Tue, Jan 11, 2011 at 1:46 PM, Philip Prindeville
philipp_s...@redfish-solutions.com
mailto:philipp_s...@redfish-solutions.com wrote:
so how can I tell in a couple of lines of code if the connection will
result in IPv4?
I'm not entirely sure
Hi.
I'm working on a patch to support QoS setting on an IPv4 connection, but I'm
being out-clevered by the kernel.
The code is doing the following:
s = socket(AF_INET6, SOCK_STREAM);
...
sin6.sin6_family = AF_INET6;
sin6.sin6_addr = ... // :::IPv4 address
and then, as the man page says:
On Tue, Jan 11, 2011 at 1:46 PM, Philip Prindeville
philipp_s...@redfish-solutions.com wrote:
so how can I tell in a couple of lines of code if the connection will
result in IPv4?
I'm not entirely sure what you're talking about. What software are you
attempting to patch, for example? But