Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Add PPP decoding #58

Merged
merged 1 commit into from
Mar 2, 2020
Merged

Add PPP decoding #58

merged 1 commit into from
Mar 2, 2020

Conversation

lspgn
Copy link
Contributor

@lspgn lspgn commented Jan 31, 2020

Decodes the packets inside a PPP layer.
Example:

{
  "Type": "SFLOW_5",
  "TimeReceived": 0,
  "SequenceNum": 0,
  "SamplingRate": 1,
  "TimeFlowStart": 0,
  "TimeFlowEnd": 0,
  "Bytes": 10,
  "Packets": 1,
  "SrcAddr": "20.0.0.2",
  "DstAddr": "20.0.0.1",
  "Etype": 2048,
  "Proto": 47,
  "SrcPort": 0,
  "DstPort": 0,
  "SrcIf": 0,
  "DstIf": 0,
  "HasEncap": true,
  "SrcAddrEncap": "17.1.1.122",
  "DstAddrEncap": "40.0.0.2",
  "ProtoEncap": 1,
  "EtypeEncap": 2048,
  "IPTosEncap": 0,
  "IPTTLEncap": 64,
  "IPv6FlowLabelEncap": 0,
  "FragmentIdEncap": 4353,
  "FragmentOffsetEncap": 0,
  "HasMPLS": false,
  "HasPPP": true,
  "PPPAddressControl": 65283
}

cc @tamihiro

@lspgn lspgn force-pushed the feature/ppp branch 2 times, most recently from bb1f762 to 2e3d63e Compare January 31, 2020 00:55
@lspgn lspgn merged commit f9ff988 into master Mar 2, 2020
@lspgn lspgn deleted the feature/ppp branch March 2, 2020 03:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant