eth_mac_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… eth_mac_addr(9) β€” like, the Kernel API Manual page, bestie

okay so real talk, this is a page from the Kernel API Manual and it's called eth_mac_addr(9). Yes the (9) is the section, no we're not gonna fight about it. Let's go 🌸


✨ NAME ✨

eth_mac_addr β€” set a brand new Ethernet hardware address πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int eth_mac_addr (struct net_device *dev , void *p );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the network device in question 🫢
  • p β€” the socket address

πŸ’– DESCRIPTION πŸ’–

Change the hardware address of the device. Iconic behaviour, honestly.

Careful though bestie!! This doesn't change hardware matching, so it needs to be overridden for most real devices. Like, it's giving "starter pack function" β€” do not assume it does the full job on a real device, no cap. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/ethernet/eth.c and the whole squad:


k that's the whole page, ilysm πŸ§šπŸ’œ β€” brought to you by the ./net/ethernet girlies, dated October 2026, and yes that's literally the whole version/date situation. mwah πŸ’‹πŸ’…

πŸ“¦ where this page comes from