FUNCTION::TCPMIB_LOC(3stap)

✨ NAME ✨

function::tcpmib_local_port β€” bestie, it gets the local port πŸ’…

This one lives in the SNMP Information Tapset, and yes we're reading it from the 3stap manual, section 3, tapset girlies rise up 🫢


🌸 SYNOPSIS 🌸

tcpmib_local_port:long(sk:long)

okay so it takes one thing and it gives you back a long. simple. iconic. no notes πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” a pointer to a struct inet_sock. that's it, that's the whole shopping list πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, you hand it a struct inet_sock and it returns the sport from it, in host order. That's the vibe. That's the whole function. No cap 🧚

host order means it's already been translated out of network byte order for you, so please don't go flipping bytes on it yourself, that would be so embarrassing for everyone 😭

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the page!! this is from the SystemTap Tapset Reference, dated September 2026, and it's filed under section 3stap for FUNCTION::TCPMIB_LOC(3stap) πŸ’œ

stay hydrated, read your tapsets, love u, bye πŸŽ€βœ¨πŸŒˆ

πŸ“¦ where this page comes from