[PR #1121] [CLOSED] feat: ipv4_subnet calculator added #1686

Open
opened 2026-01-29 15:23:33 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1121
Author: @XenoxJeager
Created: 10/29/2022
Status: Closed

Base: masterHead: ipv4_branch


📝 Commits (1)

📊 Changes

1 file changed (+60 additions, -0 deletions)

View changed files

misc/ipv4_subnet.c (+60 -0)

📄 Description

Description of Change

Contribution of an algorithm to calculate subnet mask of ipv4 addresses with network bits.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1121 **Author:** [@XenoxJeager](https://github.com/XenoxJeager) **Created:** 10/29/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `ipv4_branch` --- ### 📝 Commits (1) - [`b4d3bf7`](https://github.com/TheAlgorithms/C/commit/b4d3bf774fea587d34edd5f6c80198f7d84bda21) Add: ipv4_subnet.c added ### 📊 Changes **1 file changed** (+60 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `misc/ipv4_subnet.c` (+60 -0) </details> ### 📄 Description #### Description of Change Contribution of an algorithm to calculate subnet mask of ipv4 addresses with network bits. #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:23:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1686