From: Herbert Xu Date: Wed, 9 Aug 2006 22:47:12 +0000 (-0700) Subject: [IPV4]: Use network-order dport for all visible inet_lookup_* X-Git-Tag: v2.6.19-rc1~1272^2~297 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f491069b40be5d627007a343f99759e9da6a178;p=pandora-kernel.git [IPV4]: Use network-order dport for all visible inet_lookup_* Right now most inet_lookup_* functions take a host-order hnum instead of a network-order dport because that's how it is represented internally. This means that users of these functions have to be careful about using the right byte-order. To add more confusion, inet_lookup takes a network-order dport unlike all other functions. So this patch changes all visible inet_lookup functions to take a dport and move all dport->hnum conversion inside them. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed