mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-27 01:34:27 +00:00
Import our a copy of Linux if.h and its dependencies (compiler_types.h and libc-compat.h) from the above links. In "if.h", "#include <linux/compiler.h>" has been replaced by "#include <linux/compiler_types.h>". libc-compat.h is needed to avoid conflicts with glibc. Include "linux/if.h" in "zebra.h" when compiling on Linux. De-reference "net/if.h" in C files. Note that "net/if.h" is still needed. It is even included in many Linux kernel files. "linux/if.h" provides additional definitions. Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/if.h?h=v5.5 Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/libc-compat.h?h=v5.5 Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/linux/compiler_types.h?h=v5.5 Link: https://patchwork.ozlabs.org/project/glibc/patch/1461512707-23058-1-git-send-email-mikko.rapeli@iki.fi/ Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com> |
||
|---|---|---|
| .. | ||
| compiler_types.h | ||
| fib_rules.h | ||
| if_addr.h | ||
| if_bridge.h | ||
| if_link.h | ||
| if_packet.h | ||
| if_tunnel.h | ||
| if.h | ||
| libc-compat.h | ||
| lwtunnel.h | ||
| mpls_iptunnel.h | ||
| neighbour.h | ||
| net_namespace.h | ||
| netconf.h | ||
| netlink.h | ||
| nexthop.h | ||
| pkt_cls.h | ||
| rtnetlink.h | ||
| seg6_genl.h | ||
| seg6_hmac.h | ||
| seg6_iptunnel.h | ||
| seg6_local.h | ||
| seg6.h | ||
| socket.h | ||