| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of changes:
- Complete UDLD protocol support was added according to RFC5171
- UDLD checksum implementation was added
- UDLD unit tests were added
- CI has been updated to run UDLD unit tests
That's how sample/udld looks in tcpdump:
tcpdump: listening on lo0, link-type EN10MB (Ethernet), capture size 262144 bytes
06:23:33.536964 UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x03), length 60
Checksum 0x6d85 (unverified)
Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
Port-ID TLV (0x0002) TLV, length 9, Gi0/1
Echo TLV (0x0003) TLV, length 8, ^@^@^@^@
Message Interval TLV (0x0004) TLV, length 5, 7s
Timeout Interval TLV (0x0005) TLV, length 5, 5s
Device Name TLV (0x0006) TLV, length 6, S1
Sequence Number TLV (0x0007) TLV, length 8, 1
0x0000: 2103 6d85 0001 000f 464f 4331 3033 315a !.m.....FOC1031Z
0x0010: 374a 4700 0200 0947 6930 2f31 0003 0008 7JG....Gi0/1....
0x0020: 0000 0000 0004 0005 0700 0500 0505 0006 ................
0x0030: 0006 5331 0007 0008 0000 0001 ..S1........
Signed-off-by: Valery Ivanov <ivalery111@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
|
|
|
|
| |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
|
|
|
|
| |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicts:
.gitignore
.travis.yml
BUILD-FROM-GIT.txt
Makefile.am
Makefile.am.common
Prepare
acinclude.m4
autogen.sh
configure.ac
doc/html/Makefile.am
doc/html/closed.png
doc/html/globals_func.html
doc/html/tab_s.png
doc/libnet.doxygen.conf
doc/man/Makefile.am
doc/man/man3/Makefile.am
doc/man/man3/libnet-functions.h.3
doc/man/man3/libnet-macros.h.3
include/libnet.h
include/libnet/Makefile.am
libnet/acinclude.m4
libnet/libnet-config.in
libnet/m4/acinclude.m4
lua/Makefile
lua/msvcbuild.bat
sample/Makefile.am
scripts/Push
src/libnet_link_win32.c
win32/Makefile.am
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a `struct libnet_ether_addr` member to libnet_t which
libnet_get_hwaddr() can safely return for each call.
Also, some of the backends returned a malloc()'ed pointer instead of a
pointer to a static stack variable. That has been purged but should
probably be mentioned in the ChangeLog.
Fixes https://github.com/libnet/libnet/issues/1
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
|
|
1. Moved scripts into libnet/scripts/, moved debian/ into libnet/,
and other top-level content into libnet/.
2. Moved libnet/* up to ./
|