Lines Matching refs:sctp_addr
81 union sctp_addr *addr, int len);
88 static int sctp_do_bind(struct sock *, union sctp_addr *, int);
207 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
273 union sctp_addr *laddr = (union sctp_addr *)addr; in sctp_addr_id2transport()
291 (union sctp_addr *)addr); in sctp_addr_id2transport()
317 retval = sctp_do_bind(sk, (union sctp_addr *)addr, in sctp_bind()
327 static int sctp_get_port_local(struct sock *, union sctp_addr *);
331 union sctp_addr *addr, int len) in sctp_sockaddr_af()
361 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
511 retval = sctp_do_bind(sk, (union sctp_addr *)sa_addr, in sctp_bindx_add()
548 union sctp_addr *addr; in sctp_send_asconf_add_ip()
549 union sctp_addr saveaddr; in sctp_send_asconf_add_ip()
669 union sctp_addr *sa_addr; in sctp_bindx_rem()
750 union sctp_addr *laddr; in sctp_send_asconf_del_ip()
807 laddr = sctp_find_unmatch_addr(bp, (union sctp_addr *)addrs, in sctp_send_asconf_del_ip()
813 kzalloc(sizeof(union sctp_addr), GFP_ATOMIC); in sctp_send_asconf_del_ip()
895 union sctp_addr *addr; in sctp_asconf_mgmt()
1051 const union sctp_addr *daddr, in sctp_connect_new_asoc()
1118 union sctp_addr *daddr, int addr_len) in sctp_connect_add_peer()
1157 union sctp_addr *daddr; in __sctp_connect()
1642 union sctp_addr *daddr, in sctp_sendmsg_new_asoc()
1689 union sctp_addr _daddr; in sctp_sendmsg_new_asoc()
1876 static union sctp_addr *sctp_sendmsg_get_daddr(struct sock *sk, in sctp_sendmsg_get_daddr()
1880 union sctp_addr *daddr = NULL; in sctp_sendmsg_get_daddr()
1889 daddr = (union sctp_addr *)msg->msg_name; in sctp_sendmsg_get_daddr()
1932 union sctp_addr *daddr; in sctp_sendmsg()
2625 if (!sctp_is_any(sk, (union sctp_addr *)¶ms->spp_address)) { in sctp_setsockopt_peer_addr_params()
3321 if (!af->addr_valid((union sctp_addr *)&prim->sspp_addr, sp, NULL)) in sctp_setsockopt_peer_primary_addr()
3324 if (!sctp_assoc_lookup_laddr(asoc, (union sctp_addr *)&prim->sspp_addr)) in sctp_setsockopt_peer_primary_addr()
3336 (union sctp_addr *)&prim->sspp_addr); in sctp_setsockopt_peer_primary_addr()
3865 if (!sctp_is_any(sk, (const union sctp_addr *)&val->spt_address)) { in sctp_setsockopt_paddr_thresholds()
5202 const union sctp_addr *laddr, in sctp_transport_lookup_process()
5203 const union sctp_addr *paddr, void *p) in sctp_transport_lookup_process()
5306 (union sctp_addr *)&status.sstat_primary.spinfo_address); in sctp_getsockopt_sctp_status()
5787 if (!sctp_is_any(sk, (union sctp_addr *)¶ms.spp_address)) { in sctp_getsockopt_peer_addr_params()
6002 union sctp_addr temp; in sctp_getsockopt_peer_addrs()
6049 union sctp_addr temp; in sctp_copy_laddrs()
6099 union sctp_addr temp; in sctp_getsockopt_local_addrs()
6224 (union sctp_addr *)&prim.ssp_addr); in sctp_getsockopt_primary_addr()
7035 if (!sctp_is_any(sk, (const union sctp_addr *)&val.spt_address)) { in sctp_getsockopt_paddr_thresholds()
8048 static int sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
8218 union sctp_addr addr; in sctp_get_port()
8471 union sctp_addr autoaddr; in sctp_autobind()