Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/x25/
Daf_x25.c745 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()
[all …]