Skip to content
Commit e9a433cd authored by Florian Grandel's avatar Florian Grandel Committed by Fabio Baltieri
Browse files

net: introduce NET_IP config to efficiently mark conditional code



The code contained several repeated composite IPv4/v6 and UDP/TCP
preprocessor statements that can be simplified by introducing a hidden
NET_IP preprocessor constant that captures what probably is actually
"meant" by this code.

While we were on it we also used the new constant to further isolate
IP-specific code from non-IP specific generics.

Signed-off-by: default avatarFlorian Grandel <jerico.dev@gmail.com>
parent e608e921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment