tomoyo_print_ip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 tomoyo_print_ip β€” the Kernel API Manual version πŸ’…

okay so bestie, welcome to the tomoyo_print_ip(9) page, straight out of the Linux Kernel API Manual ✨ this one is a lil' shorty but she still ate, so let's get into it πŸŽ€


✨ NAME ✨

tomoyo_print_ip β€” print an IP address. that's it. that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

void tomoyo_print_ip (char *buf , const unsigned int size , const struct
       tomoyo_ipaddr_union *ptr );

literally the whole signature, copied exactly, no notes πŸ‘‘


✨ ARGUMENTS ✨

  • buf β€” the buffer you're writing into. your canvas, your main character 🎨
  • size β€” how big buf is. gotta know the vibes fit before you pour anything in πŸ’–
  • ptr β€” pointer to "struct ipaddr_union". yes, that's what the page says, fr fr β€” quoting it exact, don't come for me πŸ™ˆ
ngl the synopsis calls it const struct tomoyo_ipaddr_union *ptr and the arguments section says "struct ipaddr_union" β€” both are literally here on the page, so both are literally here in mine 🫢

✨ DESCRIPTION ✨

returns nothing. no cap, that's the whole description πŸ’€ it prints the IP address, and it gives you nada back. zero. silence. iconic behaviour honestly 😭


✨ SEE ALSO ✨

okay this is the part where she shows off her friend group πŸ”₯ all of these are in the kernel file ./security/tomoyo/network.c 🌈

like, the whole network.c squad showed up to the group chat πŸ’œ go read them too, iykyk 🧚


small sign-off before you close the tab: this page lives in ./security/tomoyo, and it's dated October 2026 ⭐ and yeah, the footer still says tomoyo_print_ip(9) because she's consistent like that πŸ’… bye bestie, go print some IPs πŸ“

πŸ“¦ where this page comes from