zephyr/include/net
Tomasz Bursztyka 622f4abdf2 net/ip: Make struct net_addr holding uninon of ipv6/4 unconditionally
It will help to use IS_ENABLED in place of #ifdef in relevant place.

Only struct net_if uses this structure.
In case only IPv4 is used, it will bloat up this struct by 12 bytes.

There are few reasons why this is "ok" in this case:

- On limited rom/ram system it will be unlikely to find a lot of
network interfaces so it should not harm much to raise the size of
struct net_addr.
- If IPv4 is the only enabled IP version, it gains a good amount of
rom/ram to discard IPv6 support so it is fine to steal a bit of this
gain to bloat up a bit struct net_addr.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-05-07 15:40:33 +03:00
..
bt.h
buf.h
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h
gptp.h
hostname.h
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h
mii.h
mqtt.h
net_config.h
net_context.h
net_core.h
net_event.h
net_if.h
net_ip.h net/ip: Make struct net_addr holding uninon of ipv6/4 unconditionally 2019-05-07 15:40:33 +03:00
net_l2.h
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h
net_stats.h
net_timeout.h
openthread.h
promiscuous.h
ptp_time.h
sntp.h
socket_can.h
socket_offload_ops.h
socket_offload.h
socket_select.h
socket.h
socks.h
tls_credentials.h
trickle.h
udp.h
wifi_mgmt.h
wifi.h