tipc_parse_udp_addr(9)
β¨ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms