]>
git.proxmox.com Git - mirror_frr.git/blob - pceplib/pcep.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
3 * This file is part of the PCEPlib, a PCEP protocol library.
5 * Copyright (C) 2020 Volta Networks https://voltanet.io/
7 * Author : Javier Garcia <javier.garcia@voltanet.io>
18 #if defined(linux) || defined(GNU_LINUX)
20 #define ipv6_u __in6_u
23 #define ipv6_u __u6_addr
25 #include <sys/endian.h>
28 #endif /* __FreeBSD__ */
31 #include <sys/socket.h>
32 #include <netinet/in.h>
35 /* Cross-compilation seems to have trouble finding this */
36 #if defined(TCP_MD5SIG_MAXKEYLEN)
37 #define PCEP_MD5SIG_MAXKEYLEN TCP_MD5SIG_MAXKEYLEN
39 #define PCEP_MD5SIG_MAXKEYLEN 80