summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJon Grimm <jgrimm@touki.austin.ibm.com>2002-11-10 23:00:06 -0600
committerJon Grimm <jgrimm@touki.austin.ibm.com>2002-11-10 23:00:06 -0600
commit01e85b9f4af02041ac645532fb83e7da0071576e (patch)
treedca3d6681a973554ecb4d3d78a086612c52bedf5 /include/net
parenteb34f986a8693c1d005a374e14291a9ffcbbea39 (diff)
[SCTP]: enable v6 autobinding.
This is just more address cleanup really, but the sideeffect is that this enables the autobinding on PF_INET6 sockets.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index b4f6a1021c6e..a6f1651ad0f1 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -259,6 +259,7 @@ typedef struct sctp_func {
int saddr);
int (*addr_valid) (union sctp_addr *);
sctp_scope_t (*scope) (union sctp_addr *);
+ void (*inaddr_any) (union sctp_addr *, unsigned short);
__u16 net_header_len;
int sockaddr_len;
sa_family_t sa_family;
@@ -272,6 +273,7 @@ typedef struct sctp_pf {
void (*event_msgname)(sctp_ulpevent_t *, char *, int *);
void (*skb_msgname)(struct sk_buff *, char *, int *);
int (*af_supported)(sa_family_t);
+ struct sctp_func *af;
} sctp_pf_t;
/* SCTP Socket type: UDP or TCP style. */