rdma_copy_src_l2_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

rdma_copy_src_l2_addr β€” Copy netdevice source addresses

okay so welcome to the Kernel API Manual, bestie: this page is all about rdma_copy_src_l2_addr(9), and its whole job is literally copying netdevice source addresses. no cap. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

void rdma_copy_src_l2_addr (struct rdma_dev_addr *dev_addr , const
       struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev_addr β€” destination address pointer where to copy the addresses. it's the "put it here" spot, periodt. ✨
  • dev β€” netdevice whose source addresses to copy. this is the device you're copying from, bestie. 🫢

πŸ’… DESCRIPTION πŸ’…

rdma_copy_src_l2_addr copies source addresses from the specified netdevice. The way this works is it grabs the full little set, and that includes:

  • unicast address
  • broadcast address
  • device type
  • interface index

That's the whole vibe: source addresses from the netdevice you named, and those four things are in the mix. πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/infiniband/core/addr.c
  • rdma_addr_cancel(9) β€” another one to check out, iykyk. πŸ¦‹

also worth a peek, bestie. 🫢


mwah πŸ’‹ this page comes from ./drivers/infiniband/core, dated October 2026, and it's rdma_copy_src_l2_addr(9) β€” bye bestie, slay your kernel adventures! 🌸

πŸ“¦ where this page comes from