Giter Club home page Giter Club logo

Comments (4)

laf0rge avatar laf0rge commented on June 15, 2024

Interesting. Seems like the value 18 is not stored in net_sock->ppid, but in net_sock->sock_id. Can that be a coincidence?

Thread 39 "nextepc-mmed" hit Breakpoint 1, net_write (net_sock=0x555555a02508 <net_pool+4200>, buffer=0x555555a70c30 <cluster_2048_pool+6800> " \021", size=27, dest_addr=0x555555a02518 <net_pool+4216>, addrsize=16) at net_lib.c:514
514     {
(gdb) p *net_sock
$2 = {type = 0, proto = 132, ppid = 0, sock_id = 18, remote = {sin_family = 2, sin_port = 15246, sin_addr = {s_addr = 3060050112}, sin_zero = "\000\000\000\000\000\000\000"}, opt = 0, app_index = 1, sndrcv_errno = 11}

from open5gs.

laf0rge avatar laf0rge commented on June 15, 2024

Please see #6 for a proposed fix. I'm actually surprised this was working at all or has passed any tests in the current state. Or maybe I'm misunderstanding the code. In any case, this fixes the PPID in my SCTP DATA chunks from MME -> ENB

from open5gs.

acetcom avatar acetcom commented on June 15, 2024

Correct! I've missed it. I saw the same result in './testepc'.
Thanks a lot!

from open5gs.

laf0rge avatar laf0rge commented on June 15, 2024

proposed fix #6 has been merged, closing issue.

from open5gs.

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.