Lines Matching refs:srose
949 struct full_sockaddr_rose *srose = (struct full_sockaddr_rose *)uaddr; in rose_getname() local
954 memset(srose, 0, sizeof(*srose)); in rose_getname()
958 srose->srose_family = AF_ROSE; in rose_getname()
959 srose->srose_addr = rose->dest_addr; in rose_getname()
960 srose->srose_call = rose->dest_call; in rose_getname()
961 srose->srose_ndigis = rose->dest_ndigis; in rose_getname()
963 srose->srose_digis[n] = rose->dest_digis[n]; in rose_getname()
965 srose->srose_family = AF_ROSE; in rose_getname()
966 srose->srose_addr = rose->source_addr; in rose_getname()
967 srose->srose_call = rose->source_call; in rose_getname()
968 srose->srose_ndigis = rose->source_ndigis; in rose_getname()
970 srose->srose_digis[n] = rose->source_digis[n]; in rose_getname()
1063 struct full_sockaddr_rose srose; in rose_sendmsg() local
1085 memset(&srose, 0, sizeof(struct full_sockaddr_rose)); in rose_sendmsg()
1086 memcpy(&srose, usrose, msg->msg_namelen); in rose_sendmsg()
1087 if (rosecmp(&rose->dest_addr, &srose.srose_addr) != 0 || in rose_sendmsg()
1088 ax25cmp(&rose->dest_call, &srose.srose_call) != 0) in rose_sendmsg()
1090 if (srose.srose_ndigis != rose->dest_ndigis) in rose_sendmsg()
1092 if (srose.srose_ndigis == rose->dest_ndigis) { in rose_sendmsg()
1093 for (n = 0 ; n < srose.srose_ndigis ; n++) in rose_sendmsg()
1095 &srose.srose_digis[n])) in rose_sendmsg()
1098 if (srose.srose_family != AF_ROSE) in rose_sendmsg()
1104 srose.srose_family = AF_ROSE; in rose_sendmsg()
1105 srose.srose_addr = rose->dest_addr; in rose_sendmsg()
1106 srose.srose_call = rose->dest_call; in rose_sendmsg()
1107 srose.srose_ndigis = rose->dest_ndigis; in rose_sendmsg()
1109 srose.srose_digis[n] = rose->dest_digis[n]; in rose_sendmsg()
1262 struct sockaddr_rose *srose; in rose_recvmsg() local
1267 srose = msg->msg_name; in rose_recvmsg()
1268 srose->srose_family = AF_ROSE; in rose_recvmsg()
1269 srose->srose_addr = rose->dest_addr; in rose_recvmsg()
1270 srose->srose_call = rose->dest_call; in rose_recvmsg()
1271 srose->srose_ndigis = rose->dest_ndigis; in rose_recvmsg()