tomoyo_print_ip(9)
πΈ 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 bigbufis. 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 itconst struct tomoyo_ipaddr_union *ptrand 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 π
tomoyo_parse_ipaddr_union(9)tomoyo_print_ipv4(9)tomoyo_print_ipv6(9)tomoyo_same_inet_acl(9)tomoyo_same_unix_acl(9)tomoyo_merge_inet_acl(9)tomoyo_merge_unix_acl(9)tomoyo_write_inet_network(9)tomoyo_write_unix_network(9)tomoyo_audit_net_log(9)tomoyo_audit_inet_log(9)tomoyo_audit_unix_log(9)tomoyo_check_inet_acl(9)tomoyo_check_unix_acl(9)tomoyo_inet_entry(9)tomoyo_check_inet_address(9)tomoyo_unix_entry(9)tomoyo_check_unix_address(9)tomoyo_kernel_service(9)tomoyo_sock_family(9)tomoyo_socket_listen_permission(9)tomoyo_socket_connect_permission(9)tomoyo_socket_bind_permission(9)tomoyo_socket_sendmsg_permission(9)
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
- 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