Lines Matching refs:sockaddr
94 static int sctp_bindx_add(struct sock *, struct sockaddr *, int);
95 static int sctp_bindx_rem(struct sock *, struct sockaddr *, int);
96 static int sctp_send_asconf_add_ip(struct sock *, struct sockaddr *, int);
97 static int sctp_send_asconf_del_ip(struct sock *, struct sockaddr *, int);
302 static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind()
332 if (len < sizeof (struct sockaddr)) in sctp_sockaddr_af()
484 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
489 struct sockaddr *sa_addr; in sctp_bindx_add()
535 struct sockaddr *addrs, in sctp_send_asconf_add_ip()
659 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
739 struct sockaddr *addrs, in sctp_send_asconf_del_ip()
908 return sctp_send_asconf_add_ip(sk, (struct sockaddr *)addr, 1); in sctp_asconf_mgmt()
910 return sctp_send_asconf_del_ip(sk, (struct sockaddr *)addr, 1); in sctp_asconf_mgmt()
990 struct sockaddr __user *addrs, in sctp_setsockopt_bindx()
993 struct sockaddr *kaddrs; in sctp_setsockopt_bindx()
997 struct sockaddr *sa_addr; in sctp_setsockopt_bindx()
1077 struct sockaddr *kaddrs, in __sctp_connect()
1339 struct sockaddr __user *addrs, in __sctp_setsockopt_connectx()
1343 struct sockaddr *kaddrs; in __sctp_setsockopt_connectx()
1380 struct sockaddr __user *addrs, in sctp_setsockopt_connectx_old()
1393 struct sockaddr __user *addrs, in sctp_setsockopt_connectx()
1452 err = __sctp_setsockopt_connectx(sk, (struct sockaddr __user *) in sctp_getsockopt_connectx3()
1635 struct sockaddr *msg_name = NULL; in sctp_sendmsg()
3848 retval = sctp_setsockopt_bindx(sk, (struct sockaddr __user *)optval, in sctp_setsockopt()
3854 retval = sctp_setsockopt_bindx(sk, (struct sockaddr __user *)optval, in sctp_setsockopt()
3861 (struct sockaddr __user *)optval, in sctp_setsockopt()
3868 (struct sockaddr __user *)optval, in sctp_setsockopt()
3998 static int sctp_connect(struct sock *sk, struct sockaddr *addr, in sctp_connect()