Home
last modified time | relevance | path

Searched refs:sctp_sock (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/include/net/sctp/
Dstructs.h149 struct sctp_sock { struct
237 static inline struct sctp_sock *sctp_sk(const struct sock *sk) in sctp_sk() argument
239 return (struct sctp_sock *)sk; in sctp_sk()
242 static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp) in sctp_opt2sk()
249 struct sctp_sock sctp;
453 void (*get_saddr) (struct sctp_sock *sk,
473 struct sctp_sock *,
479 struct sctp_sock *);
499 int (*af_supported) (sa_family_t, struct sctp_sock *);
502 struct sctp_sock *);
[all …]
Dsctp.h103 int sctp_asconf_mgmt(struct sctp_sock *, struct sctp_sockaddr_entry *);
574 static inline __u32 sctp_mtu_payload(const struct sctp_sock *sp, in sctp_mtu_payload()
608 static inline __u32 sctp_min_frag_point(struct sctp_sock *sp, __u16 datasize) in sctp_min_frag_point()
/Linux-v5.4/net/sctp/
Dbind_addr.c306 struct sctp_sock *opt) in sctp_bind_addr_match()
325 int sctp_bind_addrs_check(struct sctp_sock *sp, in sctp_bind_addrs_check()
326 struct sctp_sock *sp2, int cnt2) in sctp_bind_addrs_check()
358 struct sctp_sock *bp_sp, in sctp_bind_addr_conflict()
359 struct sctp_sock *addr_sp) in sctp_bind_addr_conflict()
363 struct sctp_sock *sp; in sctp_bind_addr_conflict()
417 struct sctp_sock *opt) in sctp_find_unmatch_addr()
Dsocket.c80 static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt,
315 static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt, in sctp_sockaddr_af()
349 struct sctp_sock *sp = sctp_sk(sk); in sctp_do_bind()
528 struct sctp_sock *sp; in sctp_send_asconf_add_ip()
649 struct sctp_sock *sp = sctp_sk(sk); in sctp_bindx_rem()
730 struct sctp_sock *sp; in sctp_send_asconf_del_ip()
878 int sctp_asconf_mgmt(struct sctp_sock *sp, struct sctp_sockaddr_entry *addrw) in sctp_asconf_mgmt()
1148 struct sctp_sock *sp = sctp_sk(sk); in __sctp_connect()
1783 struct sctp_sock *sp = sctp_sk(sk); in sctp_sendmsg_to_asoc()
2080 struct sctp_sock *sp = sctp_sk(sk); in sctp_recvmsg()
[all …]
Dipv6.c386 static void sctp_v6_get_saddr(struct sctp_sock *sk, in sctp_v6_get_saddr()
620 static int sctp_v6_available(union sctp_addr *addr, struct sctp_sock *sp) in sctp_v6_available()
650 struct sctp_sock *sp, in sctp_v6_addr_valid()
755 static int sctp_v6_addr_to_user(struct sctp_sock *sp, union sctp_addr *addr) in sctp_v6_addr_to_user()
861 static int sctp_inet6_af_supported(sa_family_t family, struct sctp_sock *sp) in sctp_inet6_af_supported()
882 struct sctp_sock *opt) in sctp_inet6_cmp_addr()
910 static int sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet6_bind_verify()
946 static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet6_send_verify()
979 static int sctp_inet6_supported_addrs(const struct sctp_sock *opt, in sctp_inet6_supported_addrs()
Dprotocol.c322 struct sctp_sock *sp, in sctp_v4_addr_valid()
341 static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp) in sctp_v4_available()
526 static void sctp_v4_get_saddr(struct sctp_sock *sk, in sctp_v4_get_saddr()
585 static int sctp_v4_addr_to_user(struct sctp_sock *sp, union sctp_addr *addr) in sctp_v4_addr_to_user()
607 struct sctp_sock *sp; in sctp_addr_wq_timeout_handler()
908 static int sctp_inet_af_supported(sa_family_t family, struct sctp_sock *sp) in sctp_inet_af_supported()
917 struct sctp_sock *opt) in sctp_inet_cmp_addr()
934 static int sctp_inet_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet_bind_verify()
942 static int sctp_inet_send_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet_send_verify()
950 static int sctp_inet_supported_addrs(const struct sctp_sock *opt, in sctp_inet_supported_addrs()
Dulpqueue.c130 struct sctp_sock *sp = sctp_sk(sk); in sctp_clear_pd()
168 struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk); in sctp_ulpq_set_pd()
185 struct sctp_sock *sp = sctp_sk(sk); in sctp_ulpq_tail_event()
1031 struct sctp_sock *sp; in sctp_ulpq_partial_delivery()
1116 struct sctp_sock *sp; in sctp_ulpq_abort_pd()
Dassociola.c57 struct sctp_sock *sp; in sctp_association_init()
583 struct sctp_sock *sp; in sctp_assoc_add_peer()
1070 struct sctp_sock *newsp = sctp_sk(newsk); in sctp_assoc_migrate()
Dtransport.c291 union sctp_addr *saddr, struct sctp_sock *opt) in sctp_transport_route()
Dstream_interleave.c475 struct sctp_sock *sp = sctp_sk(sk); in sctp_enqueue_event()
1002 struct sctp_sock *sp = sctp_sk(sk); in sctp_intl_stream_abort_pd()
Doutput.c78 struct sctp_sock *sp = NULL; in sctp_packet_config()
Dsm_make_chunk.c220 struct sctp_sock *sp; in sctp_make_init()
392 struct sctp_sock *sp; in sctp_make_init_ack()
1244 struct sctp_sock *sp = NULL; in sctp_make_op_error_limited()
Dsm_sideeffect.c1262 struct sctp_sock *sp = sctp_sk(ep->base.sk); in sctp_cmd_interpreter()