lkml.org 
[lkml]   [1998]   [Jun]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 13 Jun 1998 16:47:21 +0100 (BST)
FromMatthew Kirkwood <>
SubjectRe: in_connect
On Fri, 12 Jun 1998, MUD Admin wrote:

> 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

\
 
 \ /
  Last update: 2005-03-22 12:43    [from the cache]
©2003-2008