netdev2pinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ netdev2pinfo(9) πŸŽ€

okay so bestie, this page is from the Kernel API Manual, and the whole vibe is β€œget the port_info that goes with a net_device.” that’s it. that’s the assignment. πŸ’…


πŸ’– NAME πŸ’–

netdev2pinfo β€” return the port_info structure associated with a net_device πŸ¦‹

🌸 SYNOPSIS 🌸

struct port_info * netdev2pinfo (const struct net_device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the netdev. literally the one and only argument, bestie 🫢

✨ DESCRIPTION ✨

okay so netdev2pinfo returns the struct port_info associated with a net_device. no cap, that’s the whole description. it’s giving β€œshort and iconic.” πŸ’…βœ¨

πŸŽ€ SEE ALSO πŸŽ€


mwah πŸ’‹ source/version: ./drivers/net/ethernet/chelsio... Β· date: October 2026 Β· netdev2pinfo(9) out πŸ’œ

πŸ“¦ where this page comes from