https://github.com/nextmn/gopacket-srv6
Patch for gopacket to enable SRv6 decoding + serialization, based on PR 1040
https://github.com/nextmn/gopacket-srv6
gopacket patch srv6
Last synced: 5 months ago
JSON representation
Patch for gopacket to enable SRv6 decoding + serialization, based on PR 1040
- Host: GitHub
- URL: https://github.com/nextmn/gopacket-srv6
- Owner: nextmn
- License: bsd-3-clause
- Created: 2023-05-25T14:32:13.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-11T21:05:22.000Z (5 months ago)
- Last Synced: 2026-01-12T00:56:09.628Z (5 months ago)
- Topics: gopacket, patch, srv6
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gopacket-srv6
`gopacket` (v1.1.19) is missing decoder and encoder for `IPv6Routing` Extension with `RoutingType = 4` (SRv6)
This file module is a patch to enable using gopacket with SRv6.
For information, here are some related PRs:
* [703](https://github.com/google/gopacket/pull/703) : implementation of SRv6 extension header decoding (LastEntry, Flags and Tag are missing)
* [879](https://github.com/google/gopacket/pull/879) : implementation of SRv6 extension header decoding
* [889](https://github.com/google/gopacket/pull/889) : implementation of SRv6 extension header decoding
* [1040](https://github.com/google/gopacket/pull/1040) : implementation of SRv6 extension header decoding + serialization
Nota: For the decoding part, this code is based on [PR 1040](https://github.com/google/gopacket/pull/1040), by [Takanori Hirano](github.com/hrntknr) and [Gernot Vormayr](https://github.com/notti).