Home
last modified time | relevance | path

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

/linux-3.4.99/net/x25/
Daf_x25.c900 struct sockaddr_x25 *sx25 = (struct sockaddr_x25 *)uaddr; in x25_getname() local
910 sx25->sx25_addr = x25->dest_addr; in x25_getname()
912 sx25->sx25_addr = x25->source_addr; in x25_getname()
914 sx25->sx25_family = AF_X25; in x25_getname()
915 *uaddr_len = sizeof(*sx25); in x25_getname()
1087 struct sockaddr_x25 sx25; in x25_sendmsg() local
1118 if (msg->msg_namelen < sizeof(sx25)) in x25_sendmsg()
1120 memcpy(&sx25, usx25, sizeof(sx25)); in x25_sendmsg()
1122 if (strcmp(x25->dest_addr.x25_addr, sx25.sx25_addr.x25_addr)) in x25_sendmsg()
1125 if (sx25.sx25_family != AF_X25) in x25_sendmsg()
[all …]