sctp_sock
static inline __u32 __sctp_mtu_payload(const struct sctp_sock *sp,
static inline __u32 sctp_mtu_payload(const struct sctp_sock *sp,
static inline __u32 sctp_min_frag_point(struct sctp_sock *sp, __u16 datasize)
int sctp_asconf_mgmt(struct sctp_sock *, struct sctp_sockaddr_entry *);
struct sctp_sock *);
struct sctp_sock *, struct sctp_sock *);
int sctp_bind_addrs_check(struct sctp_sock *sp,
struct sctp_sock *sp2, int cnt2);
struct sctp_sock *opt);
#define sctp_sk(ptr) container_of_const(ptr, struct sctp_sock, inet.sk)
static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp)
struct sctp_sock sctp;
void (*get_saddr) (struct sctp_sock *sk,
struct sctp_sock *,
struct sctp_sock *);
int (*af_supported) (sa_family_t, struct sctp_sock *);
struct sctp_sock *);
int (*bind_verify) (struct sctp_sock *, union sctp_addr *);
int (*send_verify) (struct sctp_sock *, union sctp_addr *);
int (*supported_addrs)(const struct sctp_sock *, __be16 *);
int (*addr_to_user)(struct sctp_sock *sk, union sctp_addr *addr);
struct sctp_sock *);
struct sctp_sock *newsp = sctp_sk(newsk);
struct sctp_sock *sp;
struct sctp_sock *sp;
struct sctp_sock *opt)
int sctp_bind_addrs_check(struct sctp_sock *sp,
struct sctp_sock *sp2, int cnt2)
struct sctp_sock *bp_sp,
struct sctp_sock *addr_sp)
struct sctp_sock *sp;
struct sctp_sock *opt)
static int sctp_inet6_supported_addrs(const struct sctp_sock *opt,
static void sctp_v6_get_saddr(struct sctp_sock *sk,
static int sctp_v6_available(union sctp_addr *addr, struct sctp_sock *sp)
struct sctp_sock *sp,
static int sctp_v6_addr_to_user(struct sctp_sock *sp, union sctp_addr *addr)
static int sctp_inet6_af_supported(sa_family_t family, struct sctp_sock *sp)
struct sctp_sock *opt)
static int sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr)
static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr)
struct sctp_sock *sp = NULL;
static int sctp_inet_bind_verify(struct sctp_sock *opt, union sctp_addr *addr)
static int sctp_inet_send_verify(struct sctp_sock *opt, union sctp_addr *addr)
static int sctp_inet_supported_addrs(const struct sctp_sock *opt,
struct sctp_sock *sp,
static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp)
static void sctp_v4_get_saddr(struct sctp_sock *sk,
static int sctp_v4_addr_to_user(struct sctp_sock *sp, union sctp_addr *addr)
struct sctp_sock *sp;
static int sctp_inet_af_supported(sa_family_t family, struct sctp_sock *sp)
struct sctp_sock *opt)
struct sctp_sock *sp = NULL;
struct sctp_sock *sp;
struct sctp_sock *sp;
struct sctp_sock *sp = sctp_sk(ep->base.sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp,
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp;
static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt,
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
static void sctp_auto_asconf_init(struct sctp_sock *sp)
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *newsp;
struct sctp_sock *sp;
struct sctp_sock *sp;
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp;
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp;
static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt,
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp2 = sctp_sk(sk2);
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
int sctp_asconf_mgmt(struct sctp_sock *sp, struct sctp_sockaddr_entry *addrw)
struct sctp_sock *oldsp = sctp_sk(oldsk);
struct sctp_sock *newsp = sctp_sk(newsk);
.obj_size = sizeof(struct sctp_sock),
.useroffset = offsetof(struct sctp_sock, subscribe),
.usersize = offsetof(struct sctp_sock, initmsg) -
offsetof(struct sctp_sock, subscribe) +
sizeof_field(struct sctp_sock, initmsg),
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(sk);
union sctp_addr *saddr, struct sctp_sock *opt)
struct sctp_sock *sp;
struct sctp_sock *sp;
struct sctp_sock *sp = sctp_sk(sk);
struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk);
struct sctp_sock *sp = sctp_sk(sk);