Lines Matching refs:sipx

1151 		struct sockaddr_ipx *sipx;  in ipxitf_ioctl()  local
1157 sipx = (struct sockaddr_ipx *)&ifr.ifr_addr; in ipxitf_ioctl()
1159 if (sipx->sipx_family != AF_IPX) in ipxitf_ioctl()
1161 f.ipx_network = sipx->sipx_network; in ipxitf_ioctl()
1164 memcpy(f.ipx_node, sipx->sipx_node, IPX_NODE_LEN); in ipxitf_ioctl()
1165 f.ipx_dlink_type = sipx->sipx_type; in ipxitf_ioctl()
1166 f.ipx_special = sipx->sipx_special; in ipxitf_ioctl()
1168 if (sipx->sipx_action == IPX_DLTITF) in ipxitf_ioctl()
1175 struct sockaddr_ipx *sipx; in ipxitf_ioctl() local
1182 sipx = (struct sockaddr_ipx *)&ifr.ifr_addr; in ipxitf_ioctl()
1188 ipx_map_frame_type(sipx->sipx_type)); in ipxitf_ioctl()
1193 sipx->sipx_family = AF_IPX; in ipxitf_ioctl()
1194 sipx->sipx_network = ipxif->if_netnum; in ipxitf_ioctl()
1195 memcpy(sipx->sipx_node, ipxif->if_node, in ipxitf_ioctl()
1196 sizeof(sipx->sipx_node)); in ipxitf_ioctl()
1610 struct sockaddr_ipx sipx; in ipx_getname() local
1624 sipx.sipx_network = addr->net; in ipx_getname()
1625 sipx.sipx_port = addr->sock; in ipx_getname()
1626 memcpy(sipx.sipx_node, addr->node, IPX_NODE_LEN); in ipx_getname()
1629 sipx.sipx_network = ipxs->intrfc->if_netnum; in ipx_getname()
1631 memcpy(sipx.sipx_node, ipxs->node, IPX_NODE_LEN); in ipx_getname()
1633 memcpy(sipx.sipx_node, ipxs->intrfc->if_node, in ipx_getname()
1638 sipx.sipx_network = 0; in ipx_getname()
1639 memset(sipx.sipx_node, '\0', IPX_NODE_LEN); in ipx_getname()
1642 sipx.sipx_port = ipxs->port; in ipx_getname()
1645 sipx.sipx_family = AF_IPX; in ipx_getname()
1646 sipx.sipx_type = ipxs->type; in ipx_getname()
1647 sipx.sipx_zero = 0; in ipx_getname()
1648 memcpy(uaddr, &sipx, sizeof(sipx)); in ipx_getname()
1789 struct sockaddr_ipx *sipx = (struct sockaddr_ipx *)msg->msg_name; in ipx_recvmsg() local
1838 msg->msg_namelen = sizeof(*sipx); in ipx_recvmsg()
1840 if (sipx) { in ipx_recvmsg()
1841 sipx->sipx_family = AF_IPX; in ipx_recvmsg()
1842 sipx->sipx_port = ipx->ipx_source.sock; in ipx_recvmsg()
1843 memcpy(sipx->sipx_node, ipx->ipx_source.node, IPX_NODE_LEN); in ipx_recvmsg()
1844 sipx->sipx_network = IPX_SKB_CB(skb)->ipx_source_net; in ipx_recvmsg()
1845 sipx->sipx_type = ipx->ipx_type; in ipx_recvmsg()
1846 sipx->sipx_zero = 0; in ipx_recvmsg()