travelping / pfcplib

Erlang library for encoding and decoding Packet Forwarding Control Protocol (PFCP) frames.
Mozilla Public License 2.0
14 stars 9 forks source link

pfcplib

Hex.pm Version Hex.pm Downloads Build Status Coverage Status Erlang Versions

Erlang library for encoding and decoding Packet Forwarding Control Protocol (PFCP) frames.

BUILDING

Using rebar:

# rebar3 compile

Build a PCAP file with random PFCP Messages

This procedure will generate a a file called pfcp.pcap that is filled with randomly generated PFCP packets. The overall structure of the information elements in the PFCP will match the specification, however the structure of grouped IEs, and requirements for mandatory IEs will not be meet.

# rebar3 as pcap do compile, shell
> c("test/property_test/pfcplib_prop.erl").
> pfcplib_prop:gen_pcap(2000).
> q().