id
stringlengths
4
63
text
stringlengths
153
8.81M
netif_napi_add_config(9)
NAME netif_napi_add_config - initialize a NAPI context with persistent config SYNOPSIS void netif_napi_add_config (struct net_device *dev , struct napi_struct *napi , int (*poll)(struct napi_struct *, int) , int index ); ARGUMENTS dev network device napi NAPI context poll polling...
netif_napi_add_tx(9)
NAME netif_napi_add_tx - initialize a NAPI context to be used for Tx only SYNOPSIS void netif_napi_add_tx (struct net_device *dev , struct napi_struct *napi , int (*poll)(struct napi_struct *, int) ); ARGUMENTS dev network device napi NAPI context poll polling function DESCRIPTI...
netif_napi_del(9)
NAME netif_napi_del - remove a NAPI context SYNOPSIS void netif_napi_del (struct napi_struct *napi ); ARGUMENTS napi NAPI context DESCRIPTION netif_napi_del removes a NAPI context from the network device NAPI list SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9),...
netif_oper_up(9)
NAME netif_oper_up - test if device is operational SYNOPSIS bool netif_oper_up (const struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Check if carrier is operational SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_schedule(9), napi_sc...
netif_pre_changeaddr_notify(9)
NAME netif_pre_changeaddr_notify - Call NETDEV_PRE_CHANGEADDR. SYNOPSIS int netif_pre_changeaddr_notify (struct net_device *dev , const char *addr , struct netlink_ext_ack *extack ); ARGUMENTS dev device addr new address extack netlink extended ack RETURN 0 on success, -errno on f...
netif_queue_set_napi(9)
NAME netif_queue_set_napi - Associate queue with the napi SYNOPSIS void netif_queue_set_napi (struct net_device *dev , unsigned int queue_index , enum netdev_queue_type type , struct napi_struct *napi ); ARGUMENTS dev device to which NAPI and queue belong queue_index Index of queue type ...
netif_queue_stopped(9)
NAME netif_queue_stopped - test if transmit queue is flowblocked SYNOPSIS bool netif_queue_stopped (const struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Test if transmit queue on device is currently unable to send. SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi...
netif_receive_skb(9)
NAME netif_receive_skb - process receive buffer from network SYNOPSIS int netif_receive_skb (struct sk_buff *skb ); ARGUMENTS skb buffer to process DESCRIPTION netif_receive_skb is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion c...
netif_receive_skb_core(9)
NAME netif_receive_skb_core - special purpose version of netif_receive_skb SYNOPSIS int netif_receive_skb_core (struct sk_buff *skb ); ARGUMENTS skb buffer to process DESCRIPTION More direct receive version of netif_receive_skb. It should only be used by callers that have a need to skip RPS and Generic X...
netif_receive_skb_list(9)
NAME netif_receive_skb_list - process many receive buffers from network SYNOPSIS void netif_receive_skb_list (struct list_head *head ); ARGUMENTS head list of skbs to process. DESCRIPTION Since return value of netif_receive_skb is normally ignored, and wouldn't be meaningful for a list, this function returns ...
netif_running(9)
NAME netif_running - test if up SYNOPSIS bool netif_running (const struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Test if the device has been brought up. SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_schedule(9), napi_schedule_irqo...
netif_rx(9)
NAME netif_rx - post buffer to the network code SYNOPSIS int netif_rx (struct sk_buff *skb ); ARGUMENTS skb buffer to post DESCRIPTION This function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may...
netif_set_mtu_ext(9)
NAME netif_set_mtu_ext - Change maximum transfer unit SYNOPSIS int netif_set_mtu_ext (struct net_device *dev , int new_mtu , struct netlink_ext_ack *extack ); ARGUMENTS dev device new_mtu new transfer unit extack netlink extended ack DESCRIPTION Change the maximum transfer size of th...
netif_set_real_num_queues(9)
NAME netif_set_real_num_queues - set actual number of RX and TX queues used SYNOPSIS int netif_set_real_num_queues (struct net_device *dev , unsigned int txq , unsigned int rxq ); ARGUMENTS dev Network device txq Actual number of TX queues rxq Actual number of RX queues DESCRI...
netif_set_real_num_rx_queues(9)
NAME netif_set_real_num_rx_queues - set actual number of RX queues used SYNOPSIS int netif_set_real_num_rx_queues (struct net_device *dev , unsigned int rxq ); ARGUMENTS dev Network device rxq Actual number of RX queues DESCRIPTION This must be called either with the rtnl_lock held or before ...
netif_set_tso_max_segs(9)
NAME netif_set_tso_max_segs - set the max number of segs supported for TSO SYNOPSIS void netif_set_tso_max_segs (struct net_device *dev , unsigned int segs ); ARGUMENTS dev netdev to update segs max number of TCP segments DESCRIPTION Set the limit on the number of TCP segments the device can g...
netif_set_tso_max_size(9)
NAME netif_set_tso_max_size - set the max size of TSO frames supported SYNOPSIS void netif_set_tso_max_size (struct net_device *dev , unsigned int size ); ARGUMENTS dev netdev to update size max skb->len of a TSO frame DESCRIPTION Set the limit on the size of TSO super-frames the device can ha...
netif_setup_tc(9)
NAME netif_setup_tc - Handle tc mappings on real_num_tx_queues change SYNOPSIS void netif_setup_tc (struct net_device *dev , unsigned int txq ); ARGUMENTS dev Network device txq number of queues available DESCRIPTION If real_num_tx_queues is changed the tc mappings may no longer be valid....
netif_stacked_transfer_operstate(9)
NAME netif_stacked_transfer_operstate - transfer operstate SYNOPSIS void netif_stacked_transfer_operstate (const struct net_device *rootdev , struct net_device *dev ); ARGUMENTS rootdev the root or lower level device to transfer state from dev the device to transfer operstate to DESCRIPTION Trans...
netif_start_queue(9)
NAME netif_start_queue - allow transmit SYNOPSIS void netif_start_queue (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Allow upper layers to call the device hard_start_xmit routine. SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_sch...
netif_start_subqueue(9)
NAME netif_start_subqueue - allow sending packets on subqueue SYNOPSIS void netif_start_subqueue (struct net_device *dev , u16 queue_index ); ARGUMENTS dev network device queue_index sub queue index DESCRIPTION Start individual transmit queue of a device with multiple transmit queues. SEE ALSO Kerne...
netif_stop_queue(9)
NAME netif_stop_queue - stop transmitted packets SYNOPSIS void netif_stop_queue (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable. SEE ALSO Kernel file ./include/l...
netif_stop_subqueue(9)
NAME netif_stop_subqueue - stop sending packets on subqueue SYNOPSIS void netif_stop_subqueue (struct net_device *dev , u16 queue_index ); ARGUMENTS dev network device queue_index sub queue index DESCRIPTION Stop individual transmit queue of a device with multiple transmit queues. SEE ALSO Kernel f...
netif_subqueue_stopped(9)
NAME netif_subqueue_stopped - test status of subqueue SYNOPSIS bool netif_subqueue_stopped (const struct net_device *dev , struct sk_buff *skb ); ARGUMENTS dev network device skb sub queue buffer pointer DESCRIPTION Check individual transmit queue of a device with multiple transmit queues. S...
netif_testing(9)
NAME netif_testing - test if device is under test SYNOPSIS bool netif_testing (const struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Check if device is under test SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_schedule(9), napi_sched...
netif_testing_off(9)
NAME netif_testing_off - set device as not under test. SYNOPSIS void netif_testing_off (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Device is not in testing state. SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_schedule(9), napi_...
netif_testing_on(9)
NAME netif_testing_on - mark device as under test. SYNOPSIS void netif_testing_on (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Mark device as under test (as per RFC2863). The testing state indicates that some test(s) must be performed on the interface. After completion, of the test, t...
netif_threaded_enable(9)
NAME netif_threaded_enable - enable threaded NAPIs SYNOPSIS void netif_threaded_enable (struct net_device *dev ); ARGUMENTS dev net_device instance DESCRIPTION Enable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single i...
netif_tx_lock(9)
NAME netif_tx_lock - grab network device transmit lock SYNOPSIS void netif_tx_lock (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Get network device transmit lock SEE ALSO Kernel file ./include/linux/netdevice.h struct gro_node(9), napi_is_scheduled(9), napi_schedule(9), napi_sch...
netif_txq_maybe_stop(9)
NAME netif_txq_maybe_stop - locklessly stop a Tx queue, if needed SYNOPSIS netif_txq_maybe_stop (txq , get_desc , stop_thrs , start_thrs ); ARGUMENTS txq struct netdev_queue to stop/start get_desc get current number of free descriptors (see requirements below!) stop_thrs minimal number of...
netif_wake_queue(9)
NAME netif_wake_queue - restart transmit SYNOPSIS void netif_wake_queue (struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available. SEE ALSO Kernel file ./include/linux/netd...
netif_wake_subqueue(9)
NAME netif_wake_subqueue - allow sending packets on subqueue SYNOPSIS void netif_wake_subqueue (struct net_device *dev , u16 queue_index ); ARGUMENTS dev network device queue_index sub queue index DESCRIPTION Resume individual transmit queue of a device with multiple transmit queues. SEE ALSO Kernel...
netinet_in.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME netinet/in.h — Internet address family SYNOPSIS #include <neti...
netinet_tcp.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME netinet/tcp.h — definitions for the Internet Transmission Contr...
netlbl_af4list_add(9)
NAME netlbl_af4list_add - Add a new IPv4 address entry to a list SYNOPSIS int netlbl_af4list_add (struct netlbl_af4list *entry , struct list_head *head ); ARGUMENTS entry address entry head the list head DESCRIPTION Add a new address entry to the list pointed to by head. On success zero is retu...
netlbl_af4list_audit_addr(9)
NAME netlbl_af4list_audit_addr - Audit an IPv4 address SYNOPSIS void netlbl_af4list_audit_addr (struct audit_buffer *audit_buf , int src , const char *dev , __be32 addr , __be32 mask ); ARGUMENTS audit_buf audit buffer src true if source address, false if destination dev network inte...
netlbl_af4list_remove(9)
NAME netlbl_af4list_remove - Remove an IPv4 address entry SYNOPSIS struct netlbl_af4list * netlbl_af4list_remove (__be32 addr , __be32 mask , struct list_head *head ); ARGUMENTS addr IP address mask IP address mask head the list head DESCRIPTION Remove an IP address entry from th...
netlbl_af4list_remove_entry(9)
NAME netlbl_af4list_remove_entry - Remove an IPv4 address entry SYNOPSIS void netlbl_af4list_remove_entry (struct netlbl_af4list *entry ); ARGUMENTS entry address entry DESCRIPTION Remove the specified IP address entry. The caller is responsible for calling the necessary locking functions. SEE ALSO Kernel ...
netlbl_af4list_search(9)
NAME netlbl_af4list_search - Search for a matching IPv4 address entry SYNOPSIS struct netlbl_af4list * netlbl_af4list_search (__be32 addr , struct list_head *head ); ARGUMENTS addr IPv4 address head the list head DESCRIPTION Searches the IPv4 address list given by head. If a matching address e...
netlbl_af4list_search_exact(9)
NAME netlbl_af4list_search_exact - Search for an exact IPv4 address entry SYNOPSIS struct netlbl_af4list * netlbl_af4list_search_exact (__be32 addr , __be32 mask , struct list_head *head ); ARGUMENTS addr IPv4 address mask IPv4 address mask head the list head DESCRIPTION Searches...
netlbl_af6list_add(9)
NAME netlbl_af6list_add - Add a new IPv6 address entry to a list SYNOPSIS int netlbl_af6list_add (struct netlbl_af6list *entry , struct list_head *head ); ARGUMENTS entry address entry head the list head DESCRIPTION Add a new address entry to the list pointed to by head. On success zero is retu...
netlbl_af6list_audit_addr(9)
NAME netlbl_af6list_audit_addr - Audit an IPv6 address SYNOPSIS void netlbl_af6list_audit_addr (struct audit_buffer *audit_buf , int src , const char *dev , const struct in6_addr *addr , const struct in6_addr *mask ); ARGUMENTS audit_buf audit buffer src true if source address, false if destination ...
netlbl_af6list_remove(9)
NAME netlbl_af6list_remove - Remove an IPv6 address entry SYNOPSIS struct netlbl_af6list * netlbl_af6list_remove (const struct in6_addr *addr , const struct in6_addr *mask , struct list_head *head ); ARGUMENTS addr IP address mask IP address mask head the list head DESCRIPTION Re...
netlbl_af6list_remove_entry(9)
NAME netlbl_af6list_remove_entry - Remove an IPv6 address entry SYNOPSIS void netlbl_af6list_remove_entry (struct netlbl_af6list *entry ); ARGUMENTS entry address entry DESCRIPTION Remove the specified IP address entry. The caller is responsible for calling the necessary locking functions. SEE ALSO Kernel ...
netlbl_af6list_search(9)
NAME netlbl_af6list_search - Search for a matching IPv6 address entry SYNOPSIS struct netlbl_af6list * netlbl_af6list_search (const struct in6_addr *addr , struct list_head *head ); ARGUMENTS addr IPv6 address head the list head DESCRIPTION Searches the IPv6 address list given by head. If a ma...
netlbl_af6list_search_exact(9)
NAME netlbl_af6list_search_exact - Search for an exact IPv6 address entry SYNOPSIS struct netlbl_af6list * netlbl_af6list_search_exact (const struct in6_addr *addr , const struct in6_addr *mask , struct list_head *head ); ARGUMENTS addr IPv6 address mask IPv6 address mask head the...
netlbl_audit_start(9)
NAME netlbl_audit_start - Start an audit message SYNOPSIS struct audit_buffer * netlbl_audit_start (int type , struct netlbl_audit *audit_info ); ARGUMENTS type audit message type audit_info NetLabel audit information DESCRIPTION Start an audit message using the type specified in type and fill ...
netlbl_audit_start_common(9)
NAME netlbl_audit_start_common - Start an audit message SYNOPSIS struct audit_buffer * netlbl_audit_start_common (int type , struct netlbl_audit *audit_info ); ARGUMENTS type audit message type audit_info NetLabel audit information DESCRIPTION Start an audit message using the type specified in type a...
netlbl_bitmap_setbit(9)
NAME netlbl_bitmap_setbit - Sets a single bit in a bitmap SYNOPSIS void netlbl_bitmap_setbit (unsigned char *bitmap , u32 bit , u8 state ); ARGUMENTS bitmap the bitmap bit the bit state if non-zero, set the bit (1) else clear the bit (0) DESCRIPTION Set a single bit in the bitmask....
netlbl_bitmap_walk(9)
NAME netlbl_bitmap_walk - Walk a bitmap looking for a bit SYNOPSIS int netlbl_bitmap_walk (const unsigned char *bitmap , u32 bitmap_len , u32 offset , u8 state ); ARGUMENTS bitmap the bitmap bitmap_len length in bits offset starting offset state if non-zero, look for a set (1)...
netlbl_cache_add(9)
NAME netlbl_cache_add - Add an entry to a NetLabel protocol cache SYNOPSIS int netlbl_cache_add (const struct sk_buff *skb , u16 family , const struct netlbl_lsm_secattr *secattr ); ARGUMENTS skb the packet family the family secattr the packet's security attributes DESCRIPTION Add th...
netlbl_cache_invalidate(9)
NAME netlbl_cache_invalidate - Invalidate all of the NetLabel protocol caches SYNOPSIS void netlbl_cache_invalidate (void ); ARGUMENTS void no arguments DESCRIPTION For all of the NetLabel protocols that support some form of label mapping cache, invalidate the cache. Returns zero on success, negative values ...
netlbl_calipso_add(9)
NAME netlbl_calipso_add - Handle an ADD message SYNOPSIS int netlbl_calipso_add (struct sk_buff *skb , struct genl_info *info ); ARGUMENTS skb the NETLINK buffer info the Generic NETLINK info block DESCRIPTION Create a new DOI definition based on the given ADD message and add it to the CALIPSO...
netlbl_calipso_add_pass(9)
NAME netlbl_calipso_add_pass - Adds a CALIPSO pass DOI definition SYNOPSIS int netlbl_calipso_add_pass (struct genl_info *info , struct netlbl_audit *audit_info ); ARGUMENTS info the Generic NETLINK info block audit_info NetLabel audit information DESCRIPTION Create a new CALIPSO_MAP_PASS DOI definit...
netlbl_calipso_genl_init(9)
NAME netlbl_calipso_genl_init - Register the CALIPSO NetLabel component SYNOPSIS int netlbl_calipso_genl_init (void ); ARGUMENTS void no arguments DESCRIPTION Register the CALIPSO packet NetLabel component with the Generic NETLINK mechanism. Returns zero on success, negative values on failure. SEE ALSO Kern...
netlbl_calipso_list(9)
NAME netlbl_calipso_list - Handle a LIST message SYNOPSIS int netlbl_calipso_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 accordingly. Returns zero on su...
netlbl_calipso_listall(9)
NAME netlbl_calipso_listall - Handle a LISTALL message SYNOPSIS int netlbl_calipso_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 respond accordingly. Returns zer...
netlbl_calipso_listall_cb(9)
NAME netlbl_calipso_listall_cb - calipso_doi_walk() callback for LISTALL SYNOPSIS int netlbl_calipso_listall_cb (struct calipso_doi *doi_def , void *arg ); ARGUMENTS doi_def the CALIPSO DOI definition arg the netlbl_calipso_doiwalk_arg structure DESCRIPTION This function is designed to be used as...
netlbl_calipso_ops_register(9)
NAME netlbl_calipso_ops_register - Register the CALIPSO operations SYNOPSIS const struct netlbl_calipso_ops * netlbl_calipso_ops_register (const struct netlbl_calipso_ops *ops ); ARGUMENTS ops ops to register DESCRIPTION Register the CALIPSO packet engine operations. SEE ALSO Kernel file ./net/netlabel/...
netlbl_calipso_remove(9)
NAME netlbl_calipso_remove - Handle a REMOVE message SYNOPSIS int netlbl_calipso_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 respond accordingly. Returns ze...
netlbl_calipso_remove_cb(9)
NAME netlbl_calipso_remove_cb - netlbl_calipso_remove() callback for REMOVE SYNOPSIS int netlbl_calipso_remove_cb (struct netlbl_dom_map *entry , void *arg ); ARGUMENTS entry LSM domain mapping entry arg the netlbl_domhsh_walk_arg structure DESCRIPTION This function is intended for use by net...
netlbl_catmap_alloc(9)
NAME netlbl_catmap_alloc - Allocate a LSM secattr catmap SYNOPSIS struct netlbl_lsm_catmap * netlbl_catmap_alloc (gfp_t flags ); ARGUMENTS flags memory allocation flags DESCRIPTION Allocate memory for a LSM secattr catmap, returns a pointer on success, NULL on failure. SEE ALSO Kernel file ./include/net/net...
netlbl_catmap_free(9)
NAME netlbl_catmap_free - Free a LSM secattr catmap SYNOPSIS void netlbl_catmap_free (struct netlbl_lsm_catmap *catmap ); ARGUMENTS catmap the category bitmap DESCRIPTION Free a LSM secattr catmap. SEE ALSO Kernel file ./include/net/netlabel.h struct netlbl_lsm_cache(9), struct netlbl_lsm_secattr(9), struct n...
netlbl_catmap_getlong(9)
NAME netlbl_catmap_getlong - Export an unsigned long bitmap SYNOPSIS int netlbl_catmap_getlong (struct netlbl_lsm_catmap *catmap , u32 *offset , unsigned long *bitmap ); ARGUMENTS catmap pointer to the category bitmap offset pointer to the requested offset bitmap the exported bitmap DE...
netlbl_catmap_setbit(9)
NAME netlbl_catmap_setbit - Set a bit in a LSM secattr catmap SYNOPSIS int netlbl_catmap_setbit (struct netlbl_lsm_catmap **catmap , u32 bit , gfp_t flags ); ARGUMENTS catmap pointer to the category bitmap bit the bit to set flags memory allocation flags DESCRIPTION Set the bit spe...
netlbl_catmap_setlong(9)
NAME netlbl_catmap_setlong - Import an unsigned long bitmap SYNOPSIS int netlbl_catmap_setlong (struct netlbl_lsm_catmap **catmap , u32 offset , unsigned long bitmap , gfp_t flags ); ARGUMENTS catmap pointer to the category bitmap offset offset to the start of the imported bitmap bitmap ...
netlbl_catmap_setrng(9)
NAME netlbl_catmap_setrng - Set a range of bits in a LSM secattr catmap SYNOPSIS int netlbl_catmap_setrng (struct netlbl_lsm_catmap **catmap , u32 start , u32 end , gfp_t flags ); ARGUMENTS catmap pointer to the category bitmap start the starting bit end the last bit in the string ...
netlbl_catmap_walk(9)
NAME netlbl_catmap_walk - Walk a LSM secattr catmap looking for a bit SYNOPSIS int netlbl_catmap_walk (struct netlbl_lsm_catmap *catmap , u32 offset ); ARGUMENTS catmap the category bitmap offset the offset to start searching at, in bits DESCRIPTION This function walks a LSM secattr category bitmap...
netlbl_catmap_walkrng(9)
NAME netlbl_catmap_walkrng - Find the end of a string of set bits SYNOPSIS int netlbl_catmap_walkrng (struct netlbl_lsm_catmap *catmap , u32 offset ); ARGUMENTS catmap the category bitmap offset the offset to start searching at, in bits DESCRIPTION This function walks a LSM secattr category bitmap ...
netlbl_cfg_calipso_add(9)
NAME netlbl_cfg_calipso_add - Add a new CALIPSO DOI definition SYNOPSIS int netlbl_cfg_calipso_add (struct calipso_doi *doi_def , struct netlbl_audit *audit_info ); ARGUMENTS doi_def CALIPSO DOI definition audit_info NetLabel audit information DESCRIPTION Add a new CALIPSO DOI definition as defined by d...
netlbl_cfg_calipso_del(9)
NAME netlbl_cfg_calipso_del - Remove an existing CALIPSO DOI definition SYNOPSIS void netlbl_cfg_calipso_del (u32 doi , struct netlbl_audit *audit_info ); ARGUMENTS doi CALIPSO DOI audit_info NetLabel audit information DESCRIPTION Remove an existing CALIPSO DOI definition matching doi. Returns zero...
netlbl_cfg_calipso_map_add(9)
NAME netlbl_cfg_calipso_map_add - Add a new CALIPSO DOI mapping SYNOPSIS int netlbl_cfg_calipso_map_add (u32 doi , const char *domain , const struct in6_addr *addr , const struct in6_addr *mask , struct netlbl_audit *audit_info ); ARGUMENTS doi the CALIPSO DOI domain the domain mapping to add ...
netlbl_cfg_cipsov4_add(9)
NAME netlbl_cfg_cipsov4_add - Add a new CIPSOv4 DOI definition SYNOPSIS int netlbl_cfg_cipsov4_add (struct cipso_v4_doi *doi_def , struct netlbl_audit *audit_info ); ARGUMENTS doi_def CIPSO DOI definition audit_info NetLabel audit information DESCRIPTION Add a new CIPSO DOI definition as defined by doi_...
netlbl_cfg_cipsov4_del(9)
NAME netlbl_cfg_cipsov4_del - Remove an existing CIPSOv4 DOI definition SYNOPSIS void netlbl_cfg_cipsov4_del (u32 doi , struct netlbl_audit *audit_info ); ARGUMENTS doi CIPSO DOI audit_info NetLabel audit information DESCRIPTION Remove an existing CIPSO DOI definition matching doi. Returns zero on ...
netlbl_cfg_cipsov4_map_add(9)
NAME netlbl_cfg_cipsov4_map_add - Add a new CIPSOv4 DOI mapping SYNOPSIS int netlbl_cfg_cipsov4_map_add (u32 doi , const char *domain , const struct in_addr *addr , const struct in_addr *mask , struct netlbl_audit *audit_info ); ARGUMENTS doi the CIPSO DOI domain the domain mapping to add ...
netlbl_cfg_map_del(9)
NAME netlbl_cfg_map_del - Remove a NetLabel/LSM domain mapping SYNOPSIS int netlbl_cfg_map_del (const char *domain , u16 family , const void *addr , const void *mask , struct netlbl_audit *audit_info ); ARGUMENTS domain the domain mapping to remove family address family addr IP addres...
netlbl_cfg_unlbl_map_add(9)
NAME netlbl_cfg_unlbl_map_add - Add a new unlabeled mapping SYNOPSIS int netlbl_cfg_unlbl_map_add (const char *domain , u16 family , const void *addr , const void *mask , struct netlbl_audit *audit_info ); ARGUMENTS domain the domain mapping to add family address family addr IP addres...
netlbl_cfg_unlbl_static_add(9)
NAME netlbl_cfg_unlbl_static_add - Adds a new static label SYNOPSIS int netlbl_cfg_unlbl_static_add (struct net *net , const char *dev_name , const void *addr , const void *mask , u16 family , u32 secid , struct netlbl_audit *audit_info ); ARGUMENTS net network namespace dev_name interface name ...
netlbl_cfg_unlbl_static_del(9)
NAME netlbl_cfg_unlbl_static_del - Removes an existing static label SYNOPSIS int netlbl_cfg_unlbl_static_del (struct net *net , const char *dev_name , const void *addr , const void *mask , u16 family , struct netlbl_audit *audit_info ); ARGUMENTS net network namespace dev_name interface name ...
netlbl_cipsov4_add(9)
NAME netlbl_cipsov4_add - Handle an ADD message SYNOPSIS int netlbl_cipsov4_add (struct sk_buff *skb , struct genl_info *info ); ARGUMENTS skb the NETLINK buffer info the Generic NETLINK info block DESCRIPTION Create a new DOI definition based on the given ADD message and add it to the CIPSO V...
netlbl_cipsov4_add_common(9)
NAME netlbl_cipsov4_add_common - Parse the common sections of a ADD message SYNOPSIS int netlbl_cipsov4_add_common (struct genl_info *info , struct cipso_v4_doi *doi_def ); ARGUMENTS info the Generic NETLINK info block doi_def the CIPSO V4 DOI definition DESCRIPTION Parse the common sections of a ...
netlbl_cipsov4_add_local(9)
NAME netlbl_cipsov4_add_local - Adds a CIPSO V4 DOI definition SYNOPSIS int netlbl_cipsov4_add_local (struct genl_info *info , struct netlbl_audit *audit_info ); ARGUMENTS info the Generic NETLINK info block audit_info NetLabel audit information DESCRIPTION Create a new CIPSO_V4_MAP_LOCAL DOI definit...
netlbl_cipsov4_add_pass(9)
NAME netlbl_cipsov4_add_pass - Adds a CIPSO V4 DOI definition SYNOPSIS int netlbl_cipsov4_add_pass (struct genl_info *info , struct netlbl_audit *audit_info ); ARGUMENTS info the Generic NETLINK info block audit_info NetLabel audit information DESCRIPTION Create a new CIPSO_V4_MAP_PASS DOI definition...
netlbl_cipsov4_add_std(9)
NAME netlbl_cipsov4_add_std - Adds a CIPSO V4 DOI definition SYNOPSIS int netlbl_cipsov4_add_std (struct genl_info *info , struct netlbl_audit *audit_info ); ARGUMENTS info the Generic NETLINK info block audit_info NetLabel audit information DESCRIPTION Create a new CIPSO_V4_MAP_TRANS DOI definition ...
netlbl_cipsov4_genl_init(9)
NAME netlbl_cipsov4_genl_init - Register the CIPSOv4 NetLabel component SYNOPSIS int netlbl_cipsov4_genl_init (void ); ARGUMENTS void no arguments DESCRIPTION Register the CIPSOv4 packet NetLabel component with the Generic NETLINK mechanism. Returns zero on success, negative values on failure. SEE ALSO Kern...
netlbl_cipsov4_list(9)
NAME netlbl_cipsov4_list - Handle a LIST message SYNOPSIS int netlbl_cipsov4_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 accordingly. While the response...
netlbl_cipsov4_listall(9)
NAME netlbl_cipsov4_listall - Handle a LISTALL message SYNOPSIS int netlbl_cipsov4_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 respond accordingly. Returns zer...
netlbl_cipsov4_listall_cb(9)
NAME netlbl_cipsov4_listall_cb - cipso_v4_doi_walk() callback for LISTALL SYNOPSIS int netlbl_cipsov4_listall_cb (struct cipso_v4_doi *doi_def , void *arg ); ARGUMENTS doi_def the CIPSOv4 DOI definition arg the netlbl_cipsov4_doiwalk_arg structure DESCRIPTION This function is designed to be used ...
netlbl_cipsov4_remove(9)
NAME netlbl_cipsov4_remove - Handle a REMOVE message SYNOPSIS int netlbl_cipsov4_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 respond accordingly. Returns ze...
netlbl_cipsov4_remove_cb(9)
NAME netlbl_cipsov4_remove_cb - netlbl_cipsov4_remove() callback for REMOVE SYNOPSIS int netlbl_cipsov4_remove_cb (struct netlbl_dom_map *entry , void *arg ); ARGUMENTS entry LSM domain mapping entry arg the netlbl_domhsh_walk_arg structure DESCRIPTION This function is intended for use by netl...
netlbl_conn_setattr(9)
NAME netlbl_conn_setattr - Label a connected socket using the correct protocol SYNOPSIS int netlbl_conn_setattr (struct sock *sk , struct sockaddr *addr , const struct netlbl_lsm_secattr *secattr ); ARGUMENTS sk the socket to label addr the destination address secattr the security ...
netlbl_domhsh_add(9)
NAME netlbl_domhsh_add - Adds a entry to the domain hash table SYNOPSIS int netlbl_domhsh_add (struct netlbl_dom_map *entry , struct netlbl_audit *audit_info ); ARGUMENTS entry the entry to add audit_info NetLabel audit information DESCRIPTION Adds a new entry to the domain hash table and handles an...
netlbl_domhsh_add_default(9)
NAME netlbl_domhsh_add_default - Adds the default entry to the domain hash table SYNOPSIS int netlbl_domhsh_add_default (struct netlbl_dom_map *entry , struct netlbl_audit *audit_info ); ARGUMENTS entry the entry to add audit_info NetLabel audit information DESCRIPTION Adds a new default entry to the ...
netlbl_domhsh_audit_add(9)
NAME netlbl_domhsh_audit_add - Generate an audit entry for an add event SYNOPSIS void netlbl_domhsh_audit_add (struct netlbl_dom_map *entry , struct netlbl_af4list *addr4 , struct netlbl_af6list *addr6 , int result , struct netlbl_audit *audit_info ); ARGUMENTS entry the entry being added addr4 th...
netlbl_domhsh_free_entry(9)
NAME netlbl_domhsh_free_entry - Frees a domain hash table entry SYNOPSIS void netlbl_domhsh_free_entry (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 the memory allocated to a hash table entry can ...
netlbl_domhsh_getentry(9)
NAME netlbl_domhsh_getentry - Get an entry from the domain hash table SYNOPSIS struct netlbl_dom_map * netlbl_domhsh_getentry (const char *domain , u16 family ); ARGUMENTS domain the domain name to search for family address family DESCRIPTION Look through the domain hash table searching for an ...
netlbl_domhsh_getentry_af4(9)
NAME netlbl_domhsh_getentry_af4 - Get an entry from the domain hash table SYNOPSIS struct netlbl_dommap_def * netlbl_domhsh_getentry_af4 (const char *domain , __be32 addr ); ARGUMENTS domain the domain name to search for addr the IP address to search for DESCRIPTION Look through the domain hash t...
netlbl_domhsh_getentry_af6(9)
NAME netlbl_domhsh_getentry_af6 - Get an entry from the domain hash table SYNOPSIS struct netlbl_dommap_def * netlbl_domhsh_getentry_af6 (const char *domain , const struct in6_addr *addr ); ARGUMENTS domain the domain name to search for addr the IP address to search for DESCRIPTION Look through t...
netlbl_domhsh_hash(9)
NAME netlbl_domhsh_hash - Hashing function for the domain hash table SYNOPSIS u32 netlbl_domhsh_hash (const char *key ); ARGUMENTS key the domain name to hash DESCRIPTION This is the hashing function for the domain hash table, it returns the correct bucket number for the domain. The caller is responsible fo...
netlbl_domhsh_init(9)
NAME netlbl_domhsh_init - Init for the domain hash SYNOPSIS int netlbl_domhsh_init (u32 size ); ARGUMENTS size the number of bits to use for the hash buckets DESCRIPTION Initializes the domain hash table, should be called only by netlbl_user_init during initialization. Returns zero on success, non-zero value...