net/netfilter/ipset/pfxlen.c

Source file repositories/reference/linux-study-clean/net/netfilter/ipset/pfxlen.c

File Facts

System
Linux kernel
Corpus path
net/netfilter/ipset/pfxlen.c
Extension
.c
Size
8248 bytes
Lines
190
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

if (!after(last, to)) {
			*cidr = i;
			return last;
		}
	}
	*cidr = 32;
	return from;
}
EXPORT_SYMBOL_GPL(ip_set_range_to_cidr);

Annotation

Implementation Notes