summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2003-08-25 00:30:47 -0700
committerSridhar Samudrala <sri@us.ibm.com>2003-08-25 00:30:47 -0700
commitbfaa8bf5be42f488ac83f7fc2e20b0d923e20d0d (patch)
tree0dea584e6197daa8991bdabbab7b802a6645fd34 /include/net
parentd2855c5dacd8dc87d6120b53e6de82c43745934a (diff)
parent5c70f0a4734dc1424dbf9eb5215f9591afd750ba (diff)
Merge us.ibm.com:/home/sridhar/BK/linux-2.6.0-test4
into us.ibm.com:/home/sridhar/BK/lksctp-2.6.0-test4
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/user.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h
index da96859dba92..45f96479510f 100644
--- a/include/net/sctp/user.h
+++ b/include/net/sctp/user.h
@@ -551,13 +551,15 @@ struct sctp_status {
};
/*
- * 8.3, 8.5 get all peer/local addresses on a socket
- * This parameter struct is for getsockopt
+ * 8.3, 8.5 get all peer/local addresses in an association.
+ * This parameter struct is used by SCTP_GET_PEER_ADDRS and
+ * SCTP_GET_LOCAL_ADDRS socket options used internally to implement
+ * sctp_getpaddrs() and sctp_getladdrs() API.
*/
struct sctp_getaddrs {
sctp_assoc_t assoc_id;
int addr_num;
- struct sockaddr_storage *addrs;
+ struct sockaddr *addrs;
};
/* These are bit fields for msghdr->msg_flags. See section 5.1. */