FUNCTION::TCPMIB_REM(3stap)

πŸ’– NAME πŸ’–

function::tcpmib_remote_port β€” bestie, this is how you grab the remote port, no cap


✨ SYNOPSIS ✨

tcpmib_remote_port:long(sk:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” okay so this is a pointer to a struct inet_sock, she's the plug 🫢

🌸 DESCRIPTION 🌸

So like, she returns the dport from a struct inet_sock, and it comes back in host order. That's it, that's the whole vibe. Iconic, lowkey, does exactly one thing and does it slay πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


okay that's the whole page bestie, go forth and tap those SNMP stats πŸ’œ

This was the SystemTap Tapset Reference, Ver β€” September 2026 edition, mwah, bye πŸ’–βœ¨

πŸ“¦ where this page comes from