{"id":17324927,"url":"https://github.com/fwsgonzo/userspace","last_synced_at":"2025-03-27T04:24:33.567Z","repository":{"id":70710581,"uuid":"182521039","full_name":"fwsGonzo/userspace","owner":"fwsGonzo","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-19T19:21:24.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T09:41:39.120Z","etag":null,"topics":["cpp","cpp17","includeos","network-stack","tcp-ip","userspace-networking"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fwsGonzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-21T10:47:55.000Z","updated_at":"2020-03-19T19:21:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf59d142-e8af-4397-ad5f-c1482dc929aa","html_url":"https://github.com/fwsGonzo/userspace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwsGonzo%2Fuserspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwsGonzo%2Fuserspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwsGonzo%2Fuserspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwsGonzo%2Fuserspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwsGonzo","download_url":"https://codeload.github.com/fwsGonzo/userspace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245780948,"owners_count":20670960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cpp17","includeos","network-stack","tcp-ip","userspace-networking"],"created_at":"2024-10-15T14:12:00.194Z","updated_at":"2025-03-27T04:24:33.549Z","avatar_url":"https://github.com/fwsGonzo.png","language":"C++","readme":"## Userspace Linux platform\n\n### Installation\n\n* Get a modern compiler\n    * gcc 7.3 or later\n    * clang-8 or later\n* Create userspace services that includes userspace.cmake\n* Build the userspace service like a normal CMake project\n    * mkdir -p build \u0026\u0026 cd build\n    * cmake ..\n    * make -j16\n* Run the resulting binary as a normal linux program\n* You can avoid having to run with sudo with bridge permissions\n\n### Options\n\n* Apply your own CMake code to the 'service' target:\n    * `target_link_libraries(service mylib)`\n* CMake options:\n    * See the top of userspace.cmake\n* For PGO training you will have to automate the process yourself\n\n### Testing it\n\nRun one of the test services in /services with one of the scripts. If you get the error `RTNETLINK answers: File exists`, flush the interface with `sudo ip addr flush dev bridge43`. Where bridge43 is the interface name. You might have to do the same if the interface stops responding. If all else fails, restart your machine.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwsgonzo%2Fuserspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwsgonzo%2Fuserspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwsgonzo%2Fuserspace/lists"}