{"id":23640661,"url":"https://github.com/mrasadatik/cbitfields","last_synced_at":"2025-07-05T21:34:04.358Z","repository":{"id":269422322,"uuid":"907364482","full_name":"mrasadatik/CBitFields","owner":"mrasadatik","description":"A C project that mimics a simplified TCP header using bitfields, helping practice bit-level data manipulation and understanding the structure of a TCP header.","archived":false,"fork":false,"pushed_at":"2025-01-10T17:11:24.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T18:23:39.024Z","etag":null,"topics":["bitfield","bitfields","c","cli","tcp","tcp-ip","tcpip"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrasadatik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-23T12:18:45.000Z","updated_at":"2025-01-10T17:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee592eb0-7c0a-4f3e-bfce-db661bdefced","html_url":"https://github.com/mrasadatik/CBitFields","commit_stats":null,"previous_names":["mrasadatik/cbitfields"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrasadatik%2FCBitFields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrasadatik%2FCBitFields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrasadatik%2FCBitFields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrasadatik%2FCBitFields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrasadatik","download_url":"https://codeload.github.com/mrasadatik/CBitFields/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239578925,"owners_count":19662518,"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":["bitfield","bitfields","c","cli","tcp","tcp-ip","tcpip"],"created_at":"2024-12-28T09:50:09.001Z","updated_at":"2025-02-19T01:25:52.017Z","avatar_url":"https://github.com/mrasadatik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TCP Header Mimic - C Bitfields Practice Project\n\n## Project Overview\nThis is a C console project developed using Code::Blocks, designed to help practice using C bitfields. The project mimics a simplified version of a TCP header structure, focusing on the representation and manipulation of the various flags and fields within a TCP header. This project will help you understand how bitfields work in C by using them to represent the control flags and other fields within a TCP header.\n\nThe TCP header structure is composed of several 16-bit and 32-bit fields, which are implemented using C bitfields to efficiently represent the data.\n\n## Project Files\n- **/include/tcp.h**  \n  This header file contains the structure definitions for the TCP header. It includes bitfields for control flags, reserved bits, and other fields.\n  \n- **/main.c**  \n  The main source file that demonstrates the use of the TCP header structure with bitfields. It initializes a TCP header with predefined values, assigns values to control flags using bitfields, and then prints out the header's fields.\n\n## Key Concepts Practiced\n- **Bitfields in C**: Learn how to use bitfields to efficiently represent data in a structure.\n- **TCP Header Representation**: Mimic the structure of a simplified TCP header to understand its components.\n- **Data Representation and Manipulation**: Understand how individual bits within the TCP header can be accessed and manipulated using bitfields.\n\n## Conclusion\nThis project is a great way to practice using bitfields in C while learning about the structure of a TCP header. By mimicking a real-world protocol, you will get hands-on experience with bit-level data manipulation and bitfield usage.\n\n\u003e GitHub Repo: [https://github.com/mrasadatik/CBitFields.git](https://github.com/mrasadatik/CBitFields.git)\n\n---\n\n## Course Information\n\n- **University**: East West University\n- **Course**: CSE207 - Data Structures\n- **Instructor**: Dr. Hasan Mahmood Aminul Islam (DHMAI)\n- **Teaching Assistant**: Abdullah Al Tamim\n- **Student**: Md Asaduzzaman Atik (2023-1-60-130)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrasadatik%2Fcbitfields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrasadatik%2Fcbitfields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrasadatik%2Fcbitfields/lists"}