Al Viro
962c837275
[SCTP]: Netfilter sctp annotations.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:12 -08:00
Al Viro
3dbe86566e
[SCTP]: Annotate ->supported_addrs().
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:11 -08:00
Al Viro
e1857ea28d
[SCTP]: sctp_association ->peer.i is a host-endian analog of sctp_inthdr.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:10 -08:00
Al Viro
dce116ae86
[SCTP]: Get rid of the last remnants of sin_port flipping.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:09 -08:00
Al Viro
6fbfa9f951
[SCTP]: Annotate ->inaddr_any().
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:08 -08:00
Al Viro
c9c938cb05
[SCTP]: flip_to_{h,n}() are not needed anymore.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:07 -08:00
Al Viro
7dcdbd9579
[SCTP]: Don't bother setting sin_port in ->from_sk().
...
... the only caller will overwrite immediately
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:06 -08:00
Al Viro
516b20ee2d
[SCTP]: ->a_h is gone now.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:05 -08:00
Al Viro
9fd7649485
[SCTP]: ip6_send() doesn't need fl_ip_[sd]port.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:04 -08:00
Al Viro
7dd8a5821d
[SCTP]: sctp_sf_send_restart_abort() is endian-agnostic.
...
... so caller can use ->ipaddr instead of ->ipaddr_h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:03 -08:00
Al Viro
8cec6b8066
[SCTP]: We need to be careful when copying to sockaddr_storage.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:02 -08:00
Al Viro
b3f5b3b665
[SCTP]: Trivial ->ipaddr_h -> ->ipaddr conversions.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:01 -08:00
Al Viro
74af924ab6
[SCTP]: ->a_h is gone now.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:27:00 -08:00
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