Go to file
Rafael Zalamena 12386e86db Revert "isisd: bpf: ETHER_HDR_LEN -> ETH_ALEN"
This reverts commit d9e5b00955.

ETH_ALEN is not equivalent to ETHER_HDR_LEN. ETHER_HDR_LEN is the
definition for the length of the full ethernet header, meanwhile
ETH_ALEN is just the length of the ethernet address.

Here is the OpenBSD/FreeBSD definition for ETHER_HDR_LEN:
 #define ETHER_ADDR_LEN  6       /* Ethernet address length */
 #define ETHER_TYPE_LEN  2       /* Ethernet type field length */
 #define ETHER_HDR_LEN   ((ETHER_ADDR_LEN * 2) + ETHER_TYPE_LEN)

(OpenBSD's definition is at net/if_ether.h, FreeBSD's is at
 net/ethernet.h)

Linux definitions can be found at: net/ethernet.h
 #define ETHER_ADDR_LEN  ETH_ALEN  /* size of ethernet addr */
 #define ETHER_TYPE_LEN  2         /* bytes in type field */
 #define ETHER_HDR_LEN   ETH_HLEN  /* total octets in header */

net/if_ether.h:
 #define ETH_HLEN       14 /* Total octets in header.       */
 #define ETH_ALEN       6  /* Octets in one ethernet addr   */

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2017-12-18 13:19:08 -02:00
babeld babeld: if_eui64 never uses ifname 2017-12-04 21:28:19 -05:00
bgpd Merge pull request #1535 from qlyoung/fix-coalesce-time-display 2017-12-15 11:46:28 -02:00
debianpkg debianpkg: Add missing frr-dbg.lintian-overrides to Makefile 2017-12-13 18:58:33 -08:00
doc *: make clippy usage more consistent 2017-12-04 19:46:38 -02:00
eigrpd eigrpd: Fixup some SA issues 2017-12-11 08:42:51 -05:00
fpm build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
include build: include our own copies of some linux kernel headers 2017-10-24 09:20:12 -02:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd Revert "isisd: bpf: ETHER_HDR_LEN -> ETH_ALEN" 2017-12-18 13:19:08 -02:00
ldpd ldpd: Switch over to new debug style 2017-12-07 18:59:54 -05:00
lib Merge pull request #1478 from bingen/zeromq4 2017-12-13 07:36:57 -05:00
m4 build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
nhrpd *: Make zapi route install Notifications optional 2017-11-27 09:09:35 -05:00
ospf6d ospf6d: Don't assign to values that are never read 2017-12-14 10:43:53 -05:00
ospfclient Merge pull request #911 from opensourcerouting/non-recursive-2 2017-08-09 14:38:07 -04:00
ospfd ospfd: prevent passive interface cmd crash 2017-12-08 17:02:54 -08:00
pimd pimd: Fix memory allocation error 2017-12-14 10:43:53 -05:00
pkgsrc build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
python zebra: unify the ipv4/ipv6 'show ip route' commands - part 1/2 2017-10-24 10:12:40 -02:00
qpb build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
redhat sharpd: Add Super Happy Advanced Routing Protocol 2017-11-27 09:16:30 -05:00
ripd *: Make zapi route install Notifications optional 2017-11-27 09:09:35 -05:00
ripngd *: Make zapi route install Notifications optional 2017-11-27 09:09:35 -05:00
sharpd *: make clippy usage more consistent 2017-12-04 19:46:38 -02:00
snapcraft build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
solaris gitignore: update references to FRR 2017-07-12 11:55:04 -05:00
tests Merge pull request #1478 from bingen/zeromq4 2017-12-13 07:36:57 -05:00
tools tools, watchfrr: Modify timeout to 90 seconds 2017-12-04 09:55:39 -05:00
vtysh Merge pull request #1445 from donaldsharp/rpki_vtysh 2017-11-28 14:44:39 -02:00
watchfrr Merge pull request #1514 from donaldsharp/watchfrr 2017-12-12 08:51:25 -08:00
zebra zebra: Remove possible NULL dereference in if_delete_connected 2017-12-14 10:43:53 -05:00
.clang-format *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.gitignore debian/backports: include in distfile, don't put files in .. 2017-11-17 17:55:29 -08:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
ChangeLog Rename: freerangerouting --> frrouting 2017-03-30 14:24:05 -04:00
common.am python/clippy: make output file writing less weird 2017-08-24 00:18:53 +02:00
COMMUNITY.md COMMUNITY.md: add paragraph on use of development list and discussing/documenting decisions 2017-12-12 08:42:54 -05:00
configure.ac configure: exclude some checks not needed on clippy host build 2017-12-13 23:13:59 +02:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
git-reindent-branch.py *: update git-reindent-branch.py 2017-08-22 18:51:31 +02:00
indent.py *: add indent control files 2017-07-17 14:00:23 +02:00
Makefile.am sharpd: Add Super Happy Advanced Routing Protocol 2017-11-27 09:16:30 -05:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README README: add references to EIGRP and NHRP. 2017-05-12 22:51:45 +02:00
README.NetBSD config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
render_md.py build: number sections in COMMUNITY.md HTML 2016-12-05 19:08:00 +01:00
REPORTING-BUGS config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
SERVICES babeld/eigrpd: flip VTY ports & fix rpm 2017-06-13 14:36:55 +02:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

FRRouting is free software that manages various IPv4 and IPv6 routing
protocols.

Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, RIPng, PIM-SM/MSDP and LDP as well as very early support for IS-IS,
EIGRP and NHRP.

See the file REPORTING-BUGS to report bugs.

Free RRRouting is free software. See the file COPYING for copying conditions.

Public email discussion can be found at https://lists.frrouting.org/listinfo

Our public slack channel is at https://frrouting.slack.com