diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-12-20 17:08:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:59:20 -0500 |
commit | 42e30bf3463cd37d73839376662cb79b4d5c416c (patch) | |
tree | 18489b96b4af4ec12ebafc8ea1cb9fd3e6756ce1 /include/net/sctp | |
parent | 6afd2e83cd86b17b074e1854d063b8ec590d7f5b (diff) |
[SCTP]: Handle the wildcard ADD-IP Address parameter
The Address Parameter in the parameter list of the ASCONF chunk
may be a wildcard address. In this case special processing
is required. For the 'add' case, the source IP of the packet is
added. In the 'del' case, all addresses except the source IP
of packet are removed. In the "mark primary" case, the source
address is marked as primary.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
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, 2 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index bb965742b64e..96621db22466 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -1938,6 +1938,8 @@ void sctp_assoc_rwnd_increase(struct sctp_association *, unsigned); | |||
1938 | void sctp_assoc_rwnd_decrease(struct sctp_association *, unsigned); | 1938 | void sctp_assoc_rwnd_decrease(struct sctp_association *, unsigned); |
1939 | void sctp_assoc_set_primary(struct sctp_association *, | 1939 | void sctp_assoc_set_primary(struct sctp_association *, |
1940 | struct sctp_transport *); | 1940 | struct sctp_transport *); |
1941 | void sctp_assoc_del_nonprimary_peers(struct sctp_association *, | ||
1942 | struct sctp_transport *); | ||
1941 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, | 1943 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, |
1942 | gfp_t); | 1944 | gfp_t); |
1943 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, | 1945 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, |