Socket...:Route(3pm)

πŸ“¦
version 0.05 Β· 2 versions
, in fedora 43

okay bestie, gather round, because this is Socket::Netlink::Route β€” the Perl interface to Linux's NETLINK_ROUTE netlink socket protocol. yes it's a mouthful. yes it's iconic. let's go πŸ¦‹


✨ NAME ✨

Socket::Netlink::Route β€” interface to Linux's NETLINK_ROUTE netlink socket protocol πŸ’…


🌸 DESCRIPTION 🌸

So here's the vibe: this module is where all the low-level constants and structure handling functions live β€” literally everything you need to actually use the NETLINK_ROUTE protocol from Linux's PF_NETLINK socket family. it's the plumbing. the backstage. the scaffolding πŸŽ€

but bestie, real talk: you probably don't wanna hang out down here. the module suggests you use the high-level object interface instead β€” that's IO::Socket::Netlink::Route. much cuter, much easier, no cap 🫢

want the full lore? the Linux kernel documentation has the whole NETLINK_ROUTE protocol family tea in rtnetlink(7):

 $ man 7 rtnetlink

go read it, it's giving textbook but make it kernel πŸ‘‘


🌈 SEE ALSO 🌈

  • Socket::Netlink β€” interface to Linux's PF_NETLINK socket family ✨
  • IO::Socket::Netlink::Route β€” Object interface to NETLINK_ROUTE netlink protocol sockets πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

Paul Evans <leonerd@leonerd.org.uk> β€” the mastermind, the moment, the main character ⭐


and that's the whole page, bestie!! πŸŽ€ this one shipped as part of perl v5.42.0, dated 2025-07-25, under the manual name Socket::Netlink::Route(3pm). slay, stay hydrated, and go use the object interface πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from