Al Viro
5ae955cffd
[SCTP]: sctp_make_asconf_update_ip() and sctp_find_unmatch_addr().
...
... switched to taking and returning pointers to net-endian
sctp_addr resp. Together, since the only user of sctp_find_unmatch_addr()
just passes its value to sctp_make_asconf_update_ip().
sctp_make_asconf_update_ip() is actually endian-agnostic.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:59 -08:00
Al Viro
6244be4e06
[SCTP]: Trivial parts of a_h -> a switch.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:58 -08:00
Al Viro
80f15d6241
[SCTP]: ->source_h is not used anymore.
...
kill it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:57 -08:00
Al Viro
a926626893
[SCTP]: Switch all remaining users of ->saddr_h to ->saddr.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:56 -08:00
Al Viro
16b0a03033
[SCTP]: Switch sctp_chunk ->dest to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:55 -08:00
Al Viro
d448388bda
[SCTP]: sctp_transport_route() switched to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:54 -08:00
Al Viro
cb7b4a0dcf
[SCTP]: Pass net-endian to ->get_dst().
...
all instances are actually endian-agnostic...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:53 -08:00
Al Viro
d3f7a54a29
[SCTP]: ->get_saddr() switched to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:52 -08:00
Al Viro
6a1e5f3354
[SCTP]: sctp_process_init() and sctp_source() switched to net-endian.
...
both are done in one go since almost always we have result of
the latter immediately passed to the former. Possibly non-obvious
note: sctp_process_param() is endian-agnostic
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:51 -08:00
Al Viro
02a8a4db3b
[SCTP]: sctp_copy_one_addr() switched to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:50 -08:00
Al Viro
6c7be55ca0
[SCTP]: sctp_has_association() switched to net-endian.
...
Ditto for its only caller (sctp_endpoint_is_peeled_off)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:50 -08:00
Al Viro
cd4ff034e3
[SCTP]: sctp_endpoint_lookup_assoc() switched to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:49 -08:00
Al Viro
dd86d136f9
[SCTP]: Switch ->from_addr_param() to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:48 -08:00
Al Viro
5ab7b859ab
[SCTP]: Switch sctp_add_bind_addr() to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:47 -08:00
Al Viro
4bdf4b5fe2
[SCTP]: Switch sctp_assoc_add_peer() to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:46 -08:00
Al Viro
b488c7dd58
[SCTP]: sctp_transport_{init,new}() switched to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:45 -08:00
Al Viro
d55c41b115
[SCTP]: Switch ->from_skb() to net-endian.
...
All instances switched, callers updated.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:44 -08:00
Al Viro
9b1dfad011
[SCTP]: Switch sctp_cookie ->peer_addr to net-endian.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:43 -08:00
Al Viro
f235fca389
[SCTP]: sctp_init_addrs() switched to net-endian.
...
Caller adjusted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:42 -08:00
Al Viro
e2fccedb01
[SCTP]: Switch sctp_assoc_is_match to net-endian.
...
Along with it, statics in input.c that end up calling it
(__sctp_lookup_association, sctp_lookup_association,
__sctp_rcv_init_lookup, __sctp_rcv_lookup). Callers
are adjusted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:41 -08:00
Al Viro
1c7d1fc149
[SCTP]: Switch sctp_endpoint_is_match() to net-endian.
...
The only caller (__sctp_rcv_lookup_endpoint()) also switched,
its caller adjusted
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:40 -08:00
Al Viro
c9a08505ec
[SCTP]: Switch sctp_del_bind_addr() to net-endian.
...
Callers adjusted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:39 -08:00
Al Viro
63de08f45b
[SCTP]: Switch address inside the heartbeat opaque data to net-endian.
...
Its only use happens on the same host, when it gets quoted back to
us. So we are free to flip to net-endian and avoid extra PITA.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:38 -08:00
Al Viro
be29681edf
[SCTP]: Switch sctp_assoc_lookup_paddr() to net-endian.
...
Callers updated.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:37 -08:00
Al Viro
38a03145ef
[SCTP]: sctp_assoc_del_peer() switched to net-endian.
...
Callers adjusted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:26:36 -08:00