Skip to content

Patch for gopacket to enable SRv6 decoding + serialization, based on PR 1040

License

Notifications You must be signed in to change notification settings

nextmn/gopacket-srv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 : implementation of SRv6 extension header decoding (LastEntry, Flags and Tag are missing)
  • 879 : implementation of SRv6 extension header decoding
  • 889 : implementation of SRv6 extension header decoding
  • 1040 : implementation of SRv6 extension header decoding + serialization

Nota: For the decoding part, this code is based on PR 1040, by Takanori Hirano and Gernot Vormayr.