Lines Matching refs:sx25
745 struct sockaddr_x25 *sx25 = (struct sockaddr_x25 *)uaddr; in x25_getname() local
751 sx25->sx25_addr = sk->protinfo.x25->dest_addr; in x25_getname()
753 sx25->sx25_addr = sk->protinfo.x25->source_addr; in x25_getname()
756 sx25->sx25_family = AF_X25; in x25_getname()
864 struct sockaddr_x25 sx25; in x25_sendmsg() local
888 if (msg->msg_namelen < sizeof(sx25)) in x25_sendmsg()
890 sx25 = *usx25; in x25_sendmsg()
891 if (strcmp(sk->protinfo.x25->dest_addr.x25_addr, sx25.sx25_addr.x25_addr) != 0) in x25_sendmsg()
893 if (sx25.sx25_family != AF_X25) in x25_sendmsg()
904 sx25.sx25_family = AF_X25; in x25_sendmsg()
905 sx25.sx25_addr = sk->protinfo.x25->dest_addr; in x25_sendmsg()
1027 struct sockaddr_x25 *sx25 = (struct sockaddr_x25 *)msg->msg_name; in x25_recvmsg() local
1086 if (sx25 != NULL) { in x25_recvmsg()
1087 sx25->sx25_family = AF_X25; in x25_recvmsg()
1088 sx25->sx25_addr = sk->protinfo.x25->dest_addr; in x25_recvmsg()