diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:06:24 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:35 -0500 |
commit | 854d43a465cc8ba8e501320b3bc27359d909da2f (patch) | |
tree | 6a1d4d5aa91eb4a945f79e3a1420b541705b32a5 /include/net/sctp | |
parent | acd2bc96e19535fcd74c6eb94532c19c817857bd (diff) |
[SCTP]: Annotate ->dst_saddr()
switched to taking a pointer to net-endian sctp_addr
and a net-endian port number. Instances and callers
adjusted; interestingly enough, the only calls are
direct calls of specific instances - the method is not
used at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 2c35f2fd5601..1616a38a0be3 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -559,7 +559,7 @@ struct sctp_af { | |||
559 | struct net_device *); | 559 | struct net_device *); |
560 | void (*dst_saddr) (union sctp_addr *saddr, | 560 | void (*dst_saddr) (union sctp_addr *saddr, |
561 | struct dst_entry *dst, | 561 | struct dst_entry *dst, |
562 | unsigned short port); | 562 | __be16 port); |
563 | int (*cmp_addr) (const union sctp_addr *addr1, | 563 | int (*cmp_addr) (const union sctp_addr *addr1, |
564 | const union sctp_addr *addr2); | 564 | const union sctp_addr *addr2); |
565 | void (*addr_copy) (union sctp_addr *dst, | 565 | void (*addr_copy) (union sctp_addr *dst, |