Skip to content

free5gc/go-gtp5gnl

Folders and files

NameName
Last commit message
Last commit date
Feb 17, 2024
Mar 21, 2025
Mar 27, 2025
Mar 21, 2025
Jul 5, 2022
Feb 16, 2024
Sep 22, 2021
May 31, 2024
Jul 9, 2024
Oct 8, 2024
May 31, 2024
Jul 18, 2024
May 31, 2024
May 31, 2024
Nov 14, 2022
Oct 20, 2022
Jan 13, 2025
Sep 22, 2021
Jul 18, 2024
Sep 22, 2021
Nov 14, 2022
Oct 20, 2022
Dec 13, 2022
Aug 8, 2022
Oct 8, 2024
Oct 20, 2022
Jan 5, 2023
Jan 5, 2023
Apr 12, 2022
Nov 14, 2022
Oct 8, 2024
Nov 14, 2022
Oct 20, 2022
Jul 18, 2024
Nov 15, 2022
Oct 31, 2022
Nov 14, 2022

Repository files navigation

go-gtp5gnl

go-gtp5gnl provides a netlink library about gtp5g for Go.

License

This software is released under the Apache 2.0 License, see LICENSE

Usage

List all PDR/FAR/QER

# ./gtp5g-tunnel list [pdr/far/qer]
./gtp5g-tunnel list pdr

Get/Del/Add/Mod PDR/FAR/QER

# ./gtp5g-tunnel [get/del/add/mod] [PDR/FAR/QER] [interface_name] [seid] [id] [option]
./gtp5g-tunnel add pdr upfgtp0 1 3 --pcd 99
  • options
    PDR OPTIONS
    
            --pcd <precedence>
    
            --hdr-rm <outer-header-removal>
    
            --far-id <existed-far-id>
    
            --ue-ipv4 <pdi-ue-ipv4>
    
            --f-teid <i-teid> <local-gtpu-ipv4>
    
            --sdf-desp <description-string>
    
            --sdf-tos-traff-cls <tos-traffic-class>
    
            --sdf-scy-param-idx <security-param-idx>
    
            --sdf-flow-label <flow-label>
    
            --sdf-id <id>
    
            --qer-id <id>
    
    FAR OPTIONS
    
            --action <apply-action>
    
            --hdr-creation <description> <o-teid> <peer-ipv4> <peer-port>
    
    QER OPTIONS
    
            --qer-id <qer-id>
    
            --qfi-id <qfi-id> [Value range: {0..63}]
    
            --rqi-d <rqi> [Value range: {0=not triggered, 1=triggered}]
    
            --ppp <ppp> [Value range: {0=not present, 1=present}]
    
            --ppi <ppi> [Value range: {0..7}]