id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
netlbl_domhsh_remove(9) | NAME netlbl_domhsh_remove - Removes an entry from the domain hash table
SYNOPSIS int netlbl_domhsh_remove (const char *domain , u16 family , struct netlbl_audit *audit_info );
ARGUMENTS domain the domain to remove
family address family
audit_info NetLabel audit information
DESCRIPTION Remo... |
netlbl_domhsh_remove_af4(9) | NAME netlbl_domhsh_remove_af4 - Removes an address selector entry
SYNOPSIS int netlbl_domhsh_remove_af4 (const char *domain , const struct in_addr *addr , const struct in_addr *mask , struct netlbl_audit *audit_info );
ARGUMENTS domain the domain
addr IPv4 address
mask IPv4 address ... |
netlbl_domhsh_remove_af6(9) | NAME netlbl_domhsh_remove_af6 - Removes an address selector entry
SYNOPSIS int netlbl_domhsh_remove_af6 (const char *domain , const struct in6_addr *addr , const struct in6_addr *mask , struct netlbl_audit *audit_info );
ARGUMENTS domain the domain
addr IPv6 address
mask IPv6 addres... |
netlbl_domhsh_remove_default(9) | NAME netlbl_domhsh_remove_default - Removes the default entry from the table
SYNOPSIS int netlbl_domhsh_remove_default (u16 family , struct netlbl_audit *audit_info );
ARGUMENTS family address family
audit_info NetLabel audit information
DESCRIPTION Removes/resets the default entry corresponding to f... |
netlbl_domhsh_remove_entry(9) | NAME netlbl_domhsh_remove_entry - Removes a given entry from the domain table
SYNOPSIS int netlbl_domhsh_remove_entry (struct netlbl_dom_map *entry , struct netlbl_audit *audit_info );
ARGUMENTS entry the entry to remove
audit_info NetLabel audit information
DESCRIPTION Removes an entry from the doma... |
netlbl_domhsh_search(9) | NAME netlbl_domhsh_search - Search for a domain entry
SYNOPSIS struct netlbl_dom_map * netlbl_domhsh_search (const char *domain , u16 family );
ARGUMENTS domain the domain
family the address family
DESCRIPTION Searches the domain hash table and returns a pointer to the hash table entry if found, ot... |
netlbl_domhsh_search_def(9) | NAME netlbl_domhsh_search_def - Search for a domain entry
SYNOPSIS struct netlbl_dom_map * netlbl_domhsh_search_def (const char *domain , u16 family );
ARGUMENTS domain the domain
family the address family
DESCRIPTION Searches the domain hash table and returns a pointer to the hash table entry if a... |
netlbl_domhsh_validate(9) | NAME netlbl_domhsh_validate - Validate a new domain mapping entry
SYNOPSIS int netlbl_domhsh_validate (const struct netlbl_dom_map *entry );
ARGUMENTS entry the entry to validate
DESCRIPTION This function validates the new domain mapping entry to ensure that it is a valid entry. Returns zero on success, negat... |
netlbl_domhsh_walk(9) | NAME netlbl_domhsh_walk - Iterate through the domain mapping hash table
SYNOPSIS int netlbl_domhsh_walk (u32 *skip_bkt , u32 *skip_chain , int (*callback) (struct netlbl_dom_map *entry, void *arg) , void *cb_arg );
ARGUMENTS skip_bkt the number of buckets to skip at the start
skip_chain the number of entr... |
netlbl_enabled(9) | NAME netlbl_enabled - Determine if the NetLabel subsystem is enabled
SYNOPSIS int netlbl_enabled (void );
ARGUMENTS void no arguments
DESCRIPTION The LSM can use this function to determine if it should use NetLabel security attributes in it's enforcement mechanism. Currently, NetLabel is considered to be e... |
netlbl_init(9) | NAME netlbl_init - Initialize NetLabel
SYNOPSIS int netlbl_init (void );
ARGUMENTS void no arguments
DESCRIPTION Perform the required NetLabel initialization before first use.
SEE ALSO Kernel file ./net/netlabel/netlabel_kapi.c netlbl_cfg_map_del(9), netlbl_cfg_unlbl_map_add(9), netlbl_cfg_unlbl_static... |
netlbl_mgmt_add(9) | NAME netlbl_mgmt_add - Handle an ADD message
SYNOPSIS int netlbl_mgmt_add (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated ADD message and add the domains from the message to the hash tabl... |
netlbl_mgmt_add_common(9) | NAME netlbl_mgmt_add_common - Handle an ADD message
SYNOPSIS int netlbl_mgmt_add_common (struct genl_info *info , struct netlbl_audit *audit_info );
ARGUMENTS info the Generic NETLINK info block
audit_info NetLabel audit information
DESCRIPTION Helper function for the ADD and ADDDEF messages to add t... |
netlbl_mgmt_adddef(9) | NAME netlbl_mgmt_adddef - Handle an ADDDEF message
SYNOPSIS int netlbl_mgmt_adddef (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated ADDDEF message and respond accordingly. Returns zero on... |
netlbl_mgmt_genl_init(9) | NAME netlbl_mgmt_genl_init - Register the NetLabel management component
SYNOPSIS int netlbl_mgmt_genl_init (void );
ARGUMENTS void no arguments
DESCRIPTION Register the NetLabel management component with the Generic NETLINK mechanism. Returns zero on success, negative values on failure.
SEE ALSO Kernel fil... |
netlbl_mgmt_listall(9) | NAME netlbl_mgmt_listall - Handle a LISTALL message
SYNOPSIS int netlbl_mgmt_listall (struct sk_buff *skb , struct netlink_callback *cb );
ARGUMENTS skb the NETLINK buffer
cb the NETLINK callback
DESCRIPTION Process a user generated LISTALL message and dumps the domain hash table in a form s... |
netlbl_mgmt_listall_cb(9) | NAME netlbl_mgmt_listall_cb - netlbl_domhsh_walk() callback for LISTALL
SYNOPSIS int netlbl_mgmt_listall_cb (struct netlbl_dom_map *entry , void *arg );
ARGUMENTS entry the domain mapping hash table entry
arg the netlbl_domhsh_walk_arg structure
DESCRIPTION This function is designed to be used ... |
netlbl_mgmt_listdef(9) | NAME netlbl_mgmt_listdef - Handle a LISTDEF message
SYNOPSIS int netlbl_mgmt_listdef (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated LISTDEF message and dumps the default domain mapping i... |
netlbl_mgmt_listentry(9) | NAME netlbl_mgmt_listentry - List a NetLabel/LSM domain map entry
SYNOPSIS int netlbl_mgmt_listentry (struct sk_buff *skb , struct netlbl_dom_map *entry );
ARGUMENTS skb the NETLINK buffer
entry the map entry
DESCRIPTION This function is a helper function used by the LISTALL and LISTDEF command... |
netlbl_mgmt_protocols(9) | NAME netlbl_mgmt_protocols - Handle a PROTOCOLS message
SYNOPSIS int netlbl_mgmt_protocols (struct sk_buff *skb , struct netlink_callback *cb );
ARGUMENTS skb the NETLINK buffer
cb the NETLINK callback
DESCRIPTION Process a user generated PROTOCOLS message and respond accordingly.
SEE ALSO ... |
netlbl_mgmt_protocols_cb(9) | NAME netlbl_mgmt_protocols_cb - Write an individual PROTOCOL message response
SYNOPSIS int netlbl_mgmt_protocols_cb (struct sk_buff *skb , struct netlink_callback *cb , u32 protocol );
ARGUMENTS skb the skb to write to
cb the NETLINK callback
protocol the NetLabel protocol to use i... |
netlbl_mgmt_remove(9) | NAME netlbl_mgmt_remove - Handle a REMOVE message
SYNOPSIS int netlbl_mgmt_remove (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated REMOVE message and remove the specified domain mappings. ... |
netlbl_mgmt_removedef(9) | NAME netlbl_mgmt_removedef - Handle a REMOVEDEF message
SYNOPSIS int netlbl_mgmt_removedef (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated REMOVEDEF message and remove the default domain ... |
netlbl_mgmt_version(9) | NAME netlbl_mgmt_version - Handle a VERSION message
SYNOPSIS int netlbl_mgmt_version (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated VERSION message and respond accordingly. Returns zero... |
netlbl_netlink_auditinfo(9) | NAME netlbl_netlink_auditinfo - Fetch the audit information from a NETLINK msg
SYNOPSIS void netlbl_netlink_auditinfo (struct netlbl_audit *audit_info );
ARGUMENTS audit_info NetLabel audit information
SEE ALSO Kernel file ./net/netlabel/netlabel_user.h
April 2026 ... |
netlbl_netlink_init(9) | NAME netlbl_netlink_init - Initialize the NETLINK communication channel
SYNOPSIS int netlbl_netlink_init (void );
ARGUMENTS void no arguments
DESCRIPTION Call out to the NetLabel components so they can register their families and commands with the Generic NETLINK mechanism. Returns zero on success and non-ze... |
netlbl_req_delattr(9) | NAME netlbl_req_delattr - Delete all the NetLabel labels on a socket
SYNOPSIS void netlbl_req_delattr (struct request_sock *req );
ARGUMENTS req the socket
DESCRIPTION Remove all the NetLabel labeling from req.
SEE ALSO Kernel file ./net/netlabel/netlabel_kapi.c netlbl_cfg_map_del(9), netlbl_cfg_unlbl_... |
netlbl_req_setattr(9) | NAME netlbl_req_setattr - Label a request socket using the correct protocol
SYNOPSIS int netlbl_req_setattr (struct request_sock *req , const struct netlbl_lsm_secattr *secattr );
ARGUMENTS req the request socket to label
secattr the security attributes
DESCRIPTION Attach the correct label to the... |
netlbl_secattr_alloc(9) | NAME netlbl_secattr_alloc - Allocate and initialize a netlbl_lsm_secattr struct
SYNOPSIS struct netlbl_lsm_secattr * netlbl_secattr_alloc (gfp_t flags );
ARGUMENTS flags the memory allocation flags
DESCRIPTION Allocate and initialize a netlbl_lsm_secattr struct. Returns a valid pointer on success, or NULL on ... |
netlbl_secattr_cache_alloc(9) | NAME netlbl_secattr_cache_alloc - Allocate and initialize a secattr cache
SYNOPSIS struct netlbl_lsm_cache * netlbl_secattr_cache_alloc (gfp_t flags );
ARGUMENTS flags the memory allocation flags
DESCRIPTION Allocate and initialize a netlbl_lsm_cache structure. Returns a pointer on success, NULL on failure.
... |
netlbl_secattr_cache_free(9) | NAME netlbl_secattr_cache_free - Frees a netlbl_lsm_cache struct
SYNOPSIS void netlbl_secattr_cache_free (struct netlbl_lsm_cache *cache );
ARGUMENTS cache the struct to free
DESCRIPTION Frees secattr including all of the internal buffers.
SEE ALSO Kernel file ./include/net/netlabel.h struct netlbl_lsm_ca... |
netlbl_secattr_destroy(9) | NAME netlbl_secattr_destroy - Clears a netlbl_lsm_secattr struct
SYNOPSIS void netlbl_secattr_destroy (struct netlbl_lsm_secattr *secattr );
ARGUMENTS secattr the struct to clear
DESCRIPTION Destroys the secattr struct, including freeing all of the internal buffers. The struct must be reset with a call to netlb... |
netlbl_secattr_free(9) | NAME netlbl_secattr_free - Frees a netlbl_lsm_secattr struct
SYNOPSIS void netlbl_secattr_free (struct netlbl_lsm_secattr *secattr );
ARGUMENTS secattr the struct to free
DESCRIPTION Frees secattr including all of the internal buffers.
SEE ALSO Kernel file ./include/net/netlabel.h struct netlbl_lsm_cache(9... |
netlbl_secattr_init(9) | NAME netlbl_secattr_init - Initialize a netlbl_lsm_secattr struct
SYNOPSIS void netlbl_secattr_init (struct netlbl_lsm_secattr *secattr );
ARGUMENTS secattr the struct to initialize
DESCRIPTION Initialize an already allocated netlbl_lsm_secattr struct.
SEE ALSO Kernel file ./include/net/netlabel.h struct n... |
netlbl_sk_lock_check(9) | NAME netlbl_sk_lock_check - Check if the socket lock has been acquired.
SYNOPSIS bool netlbl_sk_lock_check (struct sock *sk );
ARGUMENTS sk the socket to be checked
RETURN true if socket sk is locked or if lock debugging is disabled at runtime or compile-time; false otherwise
SEE ALSO Kernel file ./net/... |
netlbl_skbuff_err(9) | NAME netlbl_skbuff_err - Handle a LSM error on a sk_buff
SYNOPSIS void netlbl_skbuff_err (struct sk_buff *skb , u16 family , int error , int gateway );
ARGUMENTS skb the packet
family the family
error the error code
gateway true if host is acting as a gateway, false othe... |
netlbl_skbuff_getattr(9) | NAME netlbl_skbuff_getattr - Determine the security attributes of a packet
SYNOPSIS int netlbl_skbuff_getattr (const struct sk_buff *skb , u16 family , struct netlbl_lsm_secattr *secattr );
ARGUMENTS skb the packet
family protocol family
secattr the security attributes
DESCRIPTION Ex... |
netlbl_skbuff_setattr(9) | NAME netlbl_skbuff_setattr - Label a packet using the correct protocol
SYNOPSIS int netlbl_skbuff_setattr (struct sk_buff *skb , u16 family , const struct netlbl_lsm_secattr *secattr );
ARGUMENTS skb the packet
family protocol family
secattr the security attributes
DESCRIPTION Attach... |
netlbl_sock_delattr(9) | NAME netlbl_sock_delattr - Delete all the NetLabel labels on a socket
SYNOPSIS void netlbl_sock_delattr (struct sock *sk );
ARGUMENTS sk the socket
DESCRIPTION Remove all the NetLabel labeling from sk. The caller is responsible for ensuring that sk is locked.
SEE ALSO Kernel file ./net/netlabel/netlabe... |
netlbl_sock_getattr(9) | NAME netlbl_sock_getattr - Determine the security attributes of a sock
SYNOPSIS int netlbl_sock_getattr (struct sock *sk , struct netlbl_lsm_secattr *secattr );
ARGUMENTS sk the sock
secattr the security attributes
DESCRIPTION Examines the given sock to see if any NetLabel style labeling has bee... |
netlbl_sock_setattr(9) | NAME netlbl_sock_setattr - Label a socket using the correct protocol
SYNOPSIS int netlbl_sock_setattr (struct sock *sk , u16 family , const struct netlbl_lsm_secattr *secattr , bool sk_locked );
ARGUMENTS sk the socket to label
family protocol family
secattr the security attributes
... |
netlbl_unlabel_accept(9) | NAME netlbl_unlabel_accept - Handle an ACCEPT message
SYNOPSIS int netlbl_unlabel_accept (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated ACCEPT message and set the accept flag accordingly... |
netlbl_unlabel_acceptflg_set(9) | NAME netlbl_unlabel_acceptflg_set - Set the unlabeled accept flag
SYNOPSIS void netlbl_unlabel_acceptflg_set (u8 value , struct netlbl_audit *audit_info );
ARGUMENTS value desired value
audit_info NetLabel audit information
DESCRIPTION Set the value of the unlabeled accept flag to value.
SEE ALSO Ker... |
netlbl_unlabel_addrinfo_get(9) | NAME netlbl_unlabel_addrinfo_get - Get the IPv4/6 address information
SYNOPSIS int netlbl_unlabel_addrinfo_get (struct genl_info *info , void **addr , void **mask , u32 *len );
ARGUMENTS info the Generic NETLINK info block
addr the IP address
mask the IP address mask
len ... |
netlbl_unlabel_defconf(9) | NAME netlbl_unlabel_defconf - Set the default config to allow unlabeled packets
SYNOPSIS int netlbl_unlabel_defconf (void );
ARGUMENTS void no arguments
DESCRIPTION Set the default NetLabel configuration to allow incoming unlabeled packets and to send unlabeled network traffic by default.
SEE ALSO Kernel fil... |
netlbl_unlabel_genl_init(9) | NAME netlbl_unlabel_genl_init - Register the Unlabeled NetLabel component
SYNOPSIS int netlbl_unlabel_genl_init (void );
ARGUMENTS void no arguments
DESCRIPTION Register the unlabeled packet NetLabel component with the Generic NETLINK mechanism. Returns zero on success, negative values on failure.
SEE ALSO ... |
netlbl_unlabel_getattr(9) | NAME netlbl_unlabel_getattr - Get the security attributes for an unlabled packet
SYNOPSIS int netlbl_unlabel_getattr (const struct sk_buff *skb , u16 family , struct netlbl_lsm_secattr *secattr );
ARGUMENTS skb the packet
family protocol family
secattr the security attributes
DESCRIP... |
netlbl_unlabel_init(9) | NAME netlbl_unlabel_init - Initialize the unlabeled connection hash table
SYNOPSIS int netlbl_unlabel_init (u32 size );
ARGUMENTS size the number of bits to use for the hash buckets
DESCRIPTION Initializes the unlabeled connection hash table and registers a network device notification handler. This functio... |
netlbl_unlabel_list(9) | NAME netlbl_unlabel_list - Handle a LIST message
SYNOPSIS int netlbl_unlabel_list (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated LIST message and respond with the current status. Return... |
netlbl_unlabel_staticadd(9) | NAME netlbl_unlabel_staticadd - Handle a STATICADD message
SYNOPSIS int netlbl_unlabel_staticadd (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated STATICADD message and add a new unlabeled ... |
netlbl_unlabel_staticadddef(9) | NAME netlbl_unlabel_staticadddef - Handle a STATICADDDEF message
SYNOPSIS int netlbl_unlabel_staticadddef (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated STATICADDDEF message and add a ne... |
netlbl_unlabel_staticlist(9) | NAME netlbl_unlabel_staticlist - Handle a STATICLIST message
SYNOPSIS int netlbl_unlabel_staticlist (struct sk_buff *skb , struct netlink_callback *cb );
ARGUMENTS skb the NETLINK buffer
cb the NETLINK callback
DESCRIPTION Process a user generated STATICLIST message and dump the unlabeled co... |
netlbl_unlabel_staticlist_gen(9) | NAME netlbl_unlabel_staticlist_gen - Generate messages for STATICLIST[DEF]
SYNOPSIS int netlbl_unlabel_staticlist_gen (u32 cmd , const struct netlbl_unlhsh_iface *iface , const struct netlbl_unlhsh_addr4 *addr4 , const struct netlbl_unlhsh_addr6 *addr6 , void *arg );
ARGUMENTS cmd command/message
ifac... |
netlbl_unlabel_staticlistdef(9) | NAME netlbl_unlabel_staticlistdef - Handle a STATICLISTDEF message
SYNOPSIS int netlbl_unlabel_staticlistdef (struct sk_buff *skb , struct netlink_callback *cb );
ARGUMENTS skb the NETLINK buffer
cb the NETLINK callback
DESCRIPTION Process a user generated STATICLISTDEF message and dump the ... |
netlbl_unlabel_staticremove(9) | NAME netlbl_unlabel_staticremove - Handle a STATICREMOVE message
SYNOPSIS int netlbl_unlabel_staticremove (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated STATICREMOVE message and remove t... |
netlbl_unlabel_staticremovedef(9) | NAME netlbl_unlabel_staticremovedef - Handle a STATICREMOVEDEF message
SYNOPSIS int netlbl_unlabel_staticremovedef (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb the NETLINK buffer
info the Generic NETLINK info block
DESCRIPTION Process a user generated STATICREMOVEDEF message ... |
netlbl_unlhsh_add(9) | NAME netlbl_unlhsh_add - Adds a new entry to the unlabeled connection hash table
SYNOPSIS int netlbl_unlhsh_add (struct net *net , const char *dev_name , const void *addr , const void *mask , u32 addr_len , u32 secid , struct netlbl_audit *audit_info );
ARGUMENTS net network namespace
dev_name inte... |
netlbl_unlhsh_add_addr4(9) | NAME netlbl_unlhsh_add_addr4 - Add a new IPv4 address entry to the hash table
SYNOPSIS int netlbl_unlhsh_add_addr4 (struct netlbl_unlhsh_iface *iface , const struct in_addr *addr , const struct in_addr *mask , u32 secid );
ARGUMENTS iface the associated interface entry
addr IPv4 address in networ... |
netlbl_unlhsh_add_addr6(9) | NAME netlbl_unlhsh_add_addr6 - Add a new IPv6 address entry to the hash table
SYNOPSIS int netlbl_unlhsh_add_addr6 (struct netlbl_unlhsh_iface *iface , const struct in6_addr *addr , const struct in6_addr *mask , u32 secid );
ARGUMENTS iface the associated interface entry
addr IPv6 address in netw... |
netlbl_unlhsh_add_iface(9) | NAME netlbl_unlhsh_add_iface - Adds a new interface entry to the hash table
SYNOPSIS struct netlbl_unlhsh_iface * netlbl_unlhsh_add_iface (int ifindex );
ARGUMENTS ifindex network interface
DESCRIPTION Add a new, empty, interface entry into the unlabeled connection hash table. On success a pointer to the new in... |
netlbl_unlhsh_condremove_iface(9) | NAME netlbl_unlhsh_condremove_iface - Remove an interface entry
SYNOPSIS void netlbl_unlhsh_condremove_iface (struct netlbl_unlhsh_iface *iface );
ARGUMENTS iface the interface entry
DESCRIPTION Remove an interface entry from the unlabeled connection hash table if it is empty. An interface entry is considered... |
netlbl_unlhsh_free_iface(9) | NAME netlbl_unlhsh_free_iface - Frees an interface entry from the hash table
SYNOPSIS void netlbl_unlhsh_free_iface (struct rcu_head *entry );
ARGUMENTS entry the entry's RCU field
DESCRIPTION This function is designed to be used as a callback to the call_rcu function so that memory allocated to a hash tabl... |
netlbl_unlhsh_hash(9) | NAME netlbl_unlhsh_hash - Hashing function for the hash table
SYNOPSIS u32 netlbl_unlhsh_hash (int ifindex );
ARGUMENTS ifindex the network interface/device to hash
DESCRIPTION This is the hashing function for the unlabeled hash table, it returns the bucket number for the given device/interface. The caller is ... |
netlbl_unlhsh_netdev_handler(9) | NAME netlbl_unlhsh_netdev_handler - Network device notification handler
SYNOPSIS int netlbl_unlhsh_netdev_handler (struct notifier_block *this , unsigned long event , void *ptr );
ARGUMENTS this notifier block
event the event
ptr the netdevice notifier info (cast to void)
DESCRIP... |
netlbl_unlhsh_remove(9) | NAME netlbl_unlhsh_remove - Remove an entry from the unlabeled hash table
SYNOPSIS int netlbl_unlhsh_remove (struct net *net , const char *dev_name , const void *addr , const void *mask , u32 addr_len , struct netlbl_audit *audit_info );
ARGUMENTS net network namespace
dev_name interface name
... |
netlbl_unlhsh_remove_addr4(9) | NAME netlbl_unlhsh_remove_addr4 - Remove an IPv4 address entry
SYNOPSIS int netlbl_unlhsh_remove_addr4 (struct net *net , struct netlbl_unlhsh_iface *iface , const struct in_addr *addr , const struct in_addr *mask , struct netlbl_audit *audit_info );
ARGUMENTS net network namespace
iface interfa... |
netlbl_unlhsh_remove_addr6(9) | NAME netlbl_unlhsh_remove_addr6 - Remove an IPv6 address entry
SYNOPSIS int netlbl_unlhsh_remove_addr6 (struct net *net , struct netlbl_unlhsh_iface *iface , const struct in6_addr *addr , const struct in6_addr *mask , struct netlbl_audit *audit_info );
ARGUMENTS net network namespace
iface inter... |
netlbl_unlhsh_search_iface(9) | NAME netlbl_unlhsh_search_iface - Search for a matching interface entry
SYNOPSIS struct netlbl_unlhsh_iface * netlbl_unlhsh_search_iface (int ifindex );
ARGUMENTS ifindex the network interface
DESCRIPTION Searches the unlabeled connection hash table and returns a pointer to the interface entry which matches i... |
netlink(3) | NAME netlink - Netlink macros
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <asm/types.h> #include <linux/netlink.h>
int NLMSG_ALIGN(size_t size);
int NLMSG_LENGTH(size_t size);
int NLMSG_SPACE(size_t size);
void *NLMSG_DATA(struct nlmsghdr *nlh);
struct nlmsghdr *NLMSG_... |
netlink(7) | NAME netlink - communication between kernel and user space (AF_NETLINK)
SYNOPSIS #include <asm/types.h> #include <sys/socket.h> #include <linux/netlink.h>
netlink_socket = socket(AF_NETLINK, socket_type, netlink_family);
DESCRIPTION Netlink is used to transfer information between the kernel and user-space pro... |
netlink_capable(9) | NAME netlink_capable - Netlink global message capability test
SYNOPSIS bool netlink_capable (const struct sk_buff *skb , int cap );
ARGUMENTS skb socket buffer holding a netlink command from userspace
cap The capability to use
DESCRIPTION Test to see if the opener of the socket we received th... |
netlink_change_ngroups(9) | NAME netlink_change_ngroups - change number of multicast groups
SYNOPSIS int netlink_change_ngroups (struct sock *sk , unsigned int groups );
ARGUMENTS sk The kernel netlink socket, as returned by netlink_kernel_create.
groups The new number of groups.
DESCRIPTION This changes the number of... |
netlink_net_capable(9) | NAME netlink_net_capable - Netlink network namespace message capability test
SYNOPSIS bool netlink_net_capable (const struct sk_buff *skb , int cap );
ARGUMENTS skb socket buffer holding a netlink command from userspace
cap The capability to use
DESCRIPTION Test to see if the opener of the... |
netlink_ns_capable(9) | NAME netlink_ns_capable - General netlink message capability test
SYNOPSIS bool netlink_ns_capable (const struct sk_buff *skb , struct user_namespace *user_ns , int cap );
ARGUMENTS skb socket buffer holding a netlink command from userspace
user_ns The user namespace of the capability to use
... |
netlink_policy_dump_add_policy(9) | NAME netlink_policy_dump_add_policy - add a policy to the dump
SYNOPSIS int netlink_policy_dump_add_policy (struct netlink_policy_dump_state **pstate , const struct nla_policy *policy , unsigned int maxtype );
ARGUMENTS pstate state to add to, may be reallocated, must be NULL the first time
policy t... |
netlink_policy_dump_free(9) | NAME netlink_policy_dump_free - free policy dump state
SYNOPSIS void netlink_policy_dump_free (struct netlink_policy_dump_state *state );
ARGUMENTS state the policy dump state to free
DESCRIPTION Call this from the done method to ensure dump state is freed.
SEE ALSO Kernel file ./net/netlink/policy.c netlink_... |
netlink_policy_dump_get_policy_idx(9) | NAME netlink_policy_dump_get_policy_idx - retrieve policy index
SYNOPSIS int netlink_policy_dump_get_policy_idx (struct netlink_policy_dump_state *state , const struct nla_policy *policy , unsigned int maxtype );
ARGUMENTS state the policy dump state
policy the policy to find
maxtype th... |
netlink_policy_dump_loop(9) | NAME netlink_policy_dump_loop - dumping loop indicator
SYNOPSIS bool netlink_policy_dump_loop (struct netlink_policy_dump_state *state );
ARGUMENTS state the policy dump state
RETURN true if the dump continues, false otherwise
NOTE this frees the dump state when finishing
SEE ALSO Kernel file ./net/netlink/p... |
netlink_policy_dump_write(9) | NAME netlink_policy_dump_write - write current policy dump attributes
SYNOPSIS int netlink_policy_dump_write (struct sk_buff *skb , struct netlink_policy_dump_state *state );
ARGUMENTS skb the message skb to write to
state the policy dump state
RETURN 0 on success, an error code otherwise
SEE ... |
netlink_policy_dump_write_attr(9) | NAME netlink_policy_dump_write_attr - write a given attribute policy
SYNOPSIS int netlink_policy_dump_write_attr (struct sk_buff *skb , const struct nla_policy *pt , int nestattr );
ARGUMENTS skb the message skb to write to
pt the attribute's policy
nestattr the nested attribute ID... |
netlink_set_err(9) | NAME netlink_set_err - report error to broadcast listeners
SYNOPSIS int netlink_set_err (struct sock *ssk , u32 portid , u32 group , int code );
ARGUMENTS ssk the kernel netlink socket, as returned by netlink_kernel_create
portid the PORTID of a process that we want to skip (if any)
group... |
netmem_is_pfmemalloc(9) | NAME netmem_is_pfmemalloc - check if @netmem was allocated under memory pressure
SYNOPSIS bool netmem_is_pfmemalloc (netmem_ref netmem );
ARGUMENTS netmem netmem reference to check
RETURN true if netmem is page-backed and the page was allocated under memory pressure, false otherwise.
SEE ALSO Kernel file ./inc... |
netmem_ref(9) | Kernel API(9) API Manual Kernel API(9)
NAME typedef netmem_ref - a nonexistent type marking a reference to generic network memory... |
netprio_prio(9) | NAME netprio_prio - return the effective netprio of a cgroup-net_device pair
SYNOPSIS u32 netprio_prio (struct cgroup_subsys_state *css , struct net_device *dev );
ARGUMENTS css css part of the target pair
dev net_device part of the target pair
DESCRIPTION Should be called under RCU read or r... |
netprio_set_prio(9) | NAME netprio_set_prio - set netprio on a cgroup-net_device pair
SYNOPSIS int netprio_set_prio (struct cgroup_subsys_state *css , struct net_device *dev , u32 prio );
ARGUMENTS css css part of the target pair
dev net_device part of the target pair
prio prio to set
DESCRIPTION Se... |
network_namespaces(7) | NAME network_namespaces - overview of Linux network namespaces
DESCRIPTION Network namespaces provide isolation of the system resources associated with networking: network devices, IPv4 and IPv6 protocol stacks, IP routing tables, firewall rules, the /proc/net directory (which is a symbolic link to /proc/pid/net), the... |
networkctl(1) | NAME networkctl - Query or modify the status of network links
SYNOPSIS
networkctl [OPTIONS...] COMMAND [LINK...]
DESCRIPTION networkctl may be used to query or modify the state of the network links as seen by systemd-networkd. Please refer to systemd-networkd.service(8) for an introduction to the basic concep... |
networkd.conf(5) | NAME networkd.conf, networkd.conf.d - Global Network configuration files
SYNOPSIS /etc/systemd/networkd.conf /run/systemd/networkd.conf /usr/local/lib/systemd/networkd.conf /usr/lib/systemd/networkd.conf /etc/systemd/networkd.conf.d/*.conf /run/systemd/networkd.conf.d/*.conf /usr/local/lib/systemd/networkd.conf.d/*.co... |
networkd.conf.d(5) | NAME networkd.conf, networkd.conf.d - Global Network configuration files
SYNOPSIS /etc/systemd/networkd.conf /run/systemd/networkd.conf /usr/local/lib/systemd/networkd.conf /usr/lib/systemd/networkd.conf /etc/systemd/networkd.conf.d/*.conf /run/systemd/networkd.conf.d/*.conf /usr/local/lib/systemd/networkd.conf.d/*.co... |
networks(5) | NAME networks - network name information
DESCRIPTION The file /etc/networks is a plain ASCII file that describes known DARPA networks and symbolic names for these networks. Each line represents a network and has the following structure:
name number aliases ...
where the fields are delimited by ... |
netxbig_gpio_ext_get(9) | NAME netxbig_gpio_ext_get - Obtain GPIO extension device data
SYNOPSIS int netxbig_gpio_ext_get (struct device *dev , struct device *gpio_ext_dev , struct netxbig_gpio_ext *gpio_ext );
ARGUMENTS dev main LED device
gpio_ext_dev
the GPIO extension device
gpio_ext the data ... |
netxbig_gpio_ext_remove(9) | NAME netxbig_gpio_ext_remove - Clean up GPIO extension data
SYNOPSIS void netxbig_gpio_ext_remove (void *data );
ARGUMENTS data managed resource data to clean up
DESCRIPTION Since we pick GPIO descriptors from another device than the device our driver is probing to, we need to register a specific callback to ... |
netxen_config_master(9) | NAME netxen_config_master - configure addresses based on master
SYNOPSIS void netxen_config_master (struct net_device *dev , unsigned long event );
ARGUMENTS dev netxen device
event netdev event
SEE ALSO Kernel file ./drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
April 2026 ... |
new_field.3x(3) | NAME new_field, dup_field, link_field, free_field - create and destroy form fields
SYNOPSIS #include <form.h>
FIELD *new_field(int height, int width,
int toprow, int leftcol,
int offscreen, int nbuffers);
FIELD *dup_field(FIELD *field, int toprow, int left... |
new_fieldtype.3x(3) | NAME form_fieldtype - define validation-field types
SYNOPSIS #include <form.h>
FIELDTYPE *new_fieldtype(
bool (* const field_check)(FIELD *, const void *),
bool (* const char_check)(int, const void *));
int free_fieldtype(FIELDTYPE *fieldtype);
int set_fieldtype_arg(
... |
new_fm_vbuf(9) | NAME new_fm_vbuf - allocate a new volume header for fastmap usage.
SYNOPSIS struct ubi_vid_io_buf * new_fm_vbuf (struct ubi_device *ubi , int vol_id );
ARGUMENTS ubi UBI device description object
vol_id the VID of the new header
DESCRIPTION Returns a new struct ubi_vid_hdr on success. NULL indi... |
new_form.3x(3) | NAME new_form, free_form - create and destroy forms
SYNOPSIS #include <form.h>
FORM *new_form(FIELD **fields);
int free_form(FORM *form);
DESCRIPTION The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated).
The function free_form dis... |
new_form_sp.3x(3) | NAME curs_sp_funcs - curses screen-pointer extension
SYNOPSIS #include <ncursesw/curses.h>
int alloc_pair_sp(SCREEN* sp, int fg, int bg);
int assume_default_colors_sp(SCREEN* sp, int fg, int bg);
int baudrate_sp(SCREEN* sp);
int beep_sp(SCREEN* sp);
bool can_change_color_sp(SCREEN* ... |
new_id_store(9) | NAME new_id_store - add a new PCMCIA device ID to this driver and re-probe devices
SYNOPSIS ssize_t new_id_store (struct device_driver *driver , const char *buf , size_t count );
ARGUMENTS driver target device driver
buf buffer for scanning device ID data
count input size
DESCRIPTI... |
new_inode(9) | NAME new_inode - obtain an inode
SYNOPSIS struct inode * new_inode (struct super_block *sb );
ARGUMENTS sb superblock
DESCRIPTION Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is kn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.