Skip to content

Rework Match #39

Description

@louisroyer
  • InnerIpSrc should not be inside Header: we have Payload for this…
type Match struct {
    Gtp GtpLayer
    Ip IpLayer
}
type IpLayer struct {
    Src netip.Addr
    Dst netip.Addr
}

type GtpLayer struct {
    Ip IpLayer // outer Ip
    Udp UdpLayer 
    Teid
}

func (l GtpLayer) Fteid() Fteid {
    return Fteid{Addr: l.Ip.Dst, Teid: Teid}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions