KNET_LINK_CLEAR_ACL(3)

okay so bestie, we're in the Kronosnet Programmer's Manual rn and today's main character is knet_link_clear_acl(3). yes it's a mouthful, yes it's iconic, let's go πŸ¦‹


✨ NAME ✨

knet_link_clear_acl β€” Remove all access list entries from an open link.

like, all of them. the whole guest list. gone. πŸ’…


🌸 SYNOPSIS 🌸

#include <libknet.h>

int knet_link_clear_acl(
    knet_handle_t   knet_h,
    knet_node_id_t  host_id,
    uint8_t         link_id
);

πŸŽ€ DESCRIPTION πŸŽ€

so knet_link_clear_acl is the function, and here's the tea on its args:

that's literally it, no cap. give it a handle, a host, and a link, and it wipes the access list clean 🧹✨


πŸ’« RETURN VALUE πŸ’«

knet_link_clear_acl returns 0 on success. On error it returns -1 and errno is set. so like, check your errno babes, it's giving "read the room" energy 😭


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group showed up for this one, obsessed:


Copyright (C) 2010-2026 Red Hat, Inc. All rights reserved.


okay that's the whole page bestie, you ate that fr fr πŸ’…βœ¨

this lil bop came to you from the kronosnet era, dated 2026-07-20 πŸŽ€ go forth and clear those ACLs, mwah 🫢

πŸ“¦ where this page comes from