Lines Matching refs:sx25
918 struct sockaddr_x25 *sx25 = (struct sockaddr_x25 *)uaddr; in x25_getname() local
928 sx25->sx25_addr = x25->dest_addr; in x25_getname()
930 sx25->sx25_addr = x25->source_addr; in x25_getname()
932 sx25->sx25_family = AF_X25; in x25_getname()
933 rc = sizeof(*sx25); in x25_getname()
1105 struct sockaddr_x25 sx25; in x25_sendmsg() local
1136 if (msg->msg_namelen < sizeof(sx25)) in x25_sendmsg()
1138 memcpy(&sx25, usx25, sizeof(sx25)); in x25_sendmsg()
1140 if (strcmp(x25->dest_addr.x25_addr, sx25.sx25_addr.x25_addr)) in x25_sendmsg()
1143 if (sx25.sx25_family != AF_X25) in x25_sendmsg()
1155 sx25.sx25_family = AF_X25; in x25_sendmsg()
1156 sx25.sx25_addr = x25->dest_addr; in x25_sendmsg()
1279 DECLARE_SOCKADDR(struct sockaddr_x25 *, sx25, msg->msg_name); in x25_recvmsg()
1360 if (sx25) { in x25_recvmsg()
1361 sx25->sx25_family = AF_X25; in x25_recvmsg()
1362 sx25->sx25_addr = x25->dest_addr; in x25_recvmsg()
1363 msg->msg_namelen = sizeof(*sx25); in x25_recvmsg()