Giter Club home page Giter Club logo

Comments (8)

w910820618 avatar w910820618 commented on May 26, 2024 1

thank you!!!

from go-pfcp.

w910820618 avatar w910820618 commented on May 26, 2024

I refer to your implementation of the structure in f-seid --->

go-pfcp/ie/f-seid.go

Lines 40 to 46 in e45192e

type FSEIDFields struct {
Flags uint8
SEID uint64
IPv4Address net.IP
IPv6Address net.IP
ChooseID []byte
}
.
Are Flags in the structure used to control Octets5?

go-pfcp/ie/f-seid.go

Lines 113 to 115 in e45192e

func (f *FSEIDFields) SetIPv6Flag() {
f.Flags |= 0x01
}

go-pfcp/ie/f-seid.go

Lines 103 to 105 in e45192e

func (f *FSEIDFields) SetIPv4Flag() {
f.Flags |= 0x02
}

Are these two methods used to assign values to Octet5?

from go-pfcp.

w910820618 avatar w910820618 commented on May 26, 2024

image
Take a look, is my understanding correct?How do you think TEIDRIFlags should be assigned?
bf24e450dd9356ff99fb94561e79c78

from go-pfcp.

w910820618 avatar w910820618 commented on May 26, 2024

Octets "k to l", if present, shall contain a Network Instance value as encoded in octet "5 to n+4" of the Figure 8.2.4-1 in clause 8.2.4, identifying a Network Instance with which the IP address or TEID Range is associated.
Octet r, if present, shall contain a Source Interface value as encoded in octet 5 of the Figure 8.2.2-1 in clause 8.2.2, identifying the Source Interface with which the IP address or TEID Range is associated.

The meaning of the two sentences is to put the value encoded by Network Instance and Source Interface into user-plane-ip-resource-information?

from go-pfcp.

wmnsk avatar wmnsk commented on May 26, 2024

@w910820618
Did you solve it?

from go-pfcp.

w910820618 avatar w910820618 commented on May 26, 2024

@wmnsk I did not solve this problem

from go-pfcp.

wmnsk avatar wmnsk commented on May 26, 2024

Please refer to the implementation I've just pushed and find the answer by yourself, as there are too many things to explain.

The specification by 3GPP is sometimes(or often) not so kind to us. We need to supplement some parts with our consideration made as reasonable as possible.

from go-pfcp.

wmnsk avatar wmnsk commented on May 26, 2024

Closing, as it seems there's no questions.

from go-pfcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.