tipc_parse_udp_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tipc_parse_udp_addr(9) ✨

okay so bestie, we're in the Kernel API Manual today and this one is a little function from ./net/tipc that's basically the glow-up artist for UDP media addresses πŸ’… like it takes the raw netlink data and turns it into something the TIPC media layer can actually slay with. obsessed.


🌸 NAME 🌸

tipc_parse_udp_addr β€” build udp media address from netlink data

literally what it says on the tin, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int tipc_parse_udp_addr (struct nlattr *nla , struct udp_media_addr
*addr , u32 *scope_id );

three args, one int coming back at you, that's the whole vibe ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • nla β€” the netlink attribute holding the sockaddr storage aligned address. like, this is the raw material bestie, it's giving "unprocessed data" energy πŸ™ˆ
  • addr β€” the tipc media address you're filling up with address, port and protocol type. this is the main character of the whole operation πŸ‘‘
  • scope_id β€” an IPv6 scope id pointer. and ok this is the important bit: if it's not NULL, that means it's required. not optional, not "eh whatever", required fr fr πŸ’€

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./net/tipc/udp_media.c
  • struct udp_media_addr(9)
  • struct udp_bearer(9)
  • tipc_udp_enable(9)

go read those next, iykyk 🧚


ok that's the whole page bestie, short and iconic, no filler πŸ“

and a lil sign-off for you: this one lives in ./net/tipc, dated October 2026, and it's part of the Kernel API Manual β€” periodt πŸ’–πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from