Home
last modified time | relevance | path

Searched refs:sx25 (Results 1 – 1 of 1) sorted by relevance

/net/x25/
Daf_x25.c825 struct sockaddr_x25 *sx25 = (struct sockaddr_x25 *)uaddr; in x25_getname() local
832 sx25->sx25_addr = x25->dest_addr; in x25_getname()
834 sx25->sx25_addr = x25->source_addr; in x25_getname()
836 sx25->sx25_family = AF_X25; in x25_getname()
837 *uaddr_len = sizeof(*sx25); in x25_getname()
987 struct sockaddr_x25 sx25; in x25_sendmsg() local
1017 if (msg->msg_namelen < sizeof(sx25)) in x25_sendmsg()
1019 memcpy(&sx25, usx25, sizeof(sx25)); in x25_sendmsg()
1021 if (strcmp(x25->dest_addr.x25_addr, sx25.sx25_addr.x25_addr)) in x25_sendmsg()
1024 if (sx25.sx25_family != AF_X25) in x25_sendmsg()
[all …]