> I do appologise if this post is offtopic but in net/ipv4/af_inet.c in the
> function inet_connect, could someone tell me the variable to reference to
> get the destination port? I tried sk->sin_port, sk->port,
> uaddr->sin_port, and uaddr->port. None of these worked.
You have been htons()ing them, haven't you?
Matthew.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu