id
stringlengths
4
63
text
stringlengths
153
8.81M
llc_conn_service(9)
NAME llc_conn_service - finds transition and changes state of connection SYNOPSIS int llc_conn_service (struct sock *sk , struct sk_buff *skb ); ARGUMENTS sk connection skb happened event DESCRIPTION This function finds transition that matches with happened event, then executes related actio...
llc_conn_state_process(9)
NAME llc_conn_state_process - sends event to connection state machine SYNOPSIS int llc_conn_state_process (struct sock *sk , struct sk_buff *skb ); ARGUMENTS sk connection skb occurred event DESCRIPTION Sends an event to connection state machine. After processing event (executing it's actio...
llc_data_accept_state(9)
NAME llc_data_accept_state - designates if in this state data can be sent. SYNOPSIS u8 llc_data_accept_state (u8 state ); ARGUMENTS state state of connection. DESCRIPTION Returns 0 if data can be sent, 1 otherwise. SEE ALSO Kernel file ./net/llc/llc_conn.c llc_conn_state_process(9), llc_conn_rtn_pdu(9), llc_c...
llc_establish_connection(9)
NAME llc_establish_connection - Called by upper layer to establish a conn SYNOPSIS int llc_establish_connection (struct sock *sk , const u8 *lmac , u8 *dmac , u8 dsap ); ARGUMENTS sk connection lmac local mac address dmac destination mac address dsap destination s...
llc_exec_conn_trans_actions(9)
NAME llc_exec_conn_trans_actions - executes related actions SYNOPSIS int llc_exec_conn_trans_actions (struct sock *sk , const struct llc_conn_state_trans *trans , struct sk_buff *skb ); ARGUMENTS sk connection trans transition that it's actions must be performed skb event DESCR...
llc_exec_sap_trans_actions(9)
NAME llc_exec_sap_trans_actions - execute actions related to event SYNOPSIS int llc_exec_sap_trans_actions (struct llc_sap *sap , const struct llc_sap_state_trans *trans , struct sk_buff *skb ); ARGUMENTS sap pointer to SAP trans pointer to transition that it's actions must be performed ...
llc_find_next_offset(9)
NAME llc_find_next_offset - finds offset for next category of transitions SYNOPSIS u16 llc_find_next_offset (struct llc_conn_state *state , u16 offset ); ARGUMENTS state state table. offset start offset. DESCRIPTION Finds offset of next category of transitions in transition table. Returns the sta...
llc_find_offset(9)
NAME llc_find_offset - finds start offset of category of transitions SYNOPSIS int llc_find_offset (int state , int ev_type ); ARGUMENTS state state of connection ev_type type of happened event DESCRIPTION Finds start offset of desired category of transitions. Returns the desired start offset. SEE ...
llc_find_sap_trans(9)
NAME llc_find_sap_trans - finds transition for event SYNOPSIS const struct llc_sap_state_trans * llc_find_sap_trans (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap pointer to SAP skb happened event DESCRIPTION This function finds transition that matches with happened event. Retur...
llc_fixup_skb(9)
NAME llc_fixup_skb - initializes skb pointers SYNOPSIS int llc_fixup_skb (struct sk_buff *skb ); ARGUMENTS skb This argument points to incoming skb DESCRIPTION Initializes internal skb pointer to start of network layer by deriving length of LLC header; finds length of LLC control field in LLC header by loo...
llc_lookup_dgram(9)
NAME llc_lookup_dgram - Finds dgram socket for the local sap/mac SYNOPSIS struct sock * llc_lookup_dgram (struct llc_sap *sap , const struct llc_addr *laddr , const struct net *net ); ARGUMENTS sap SAP laddr address of local LLC (MAC + SAP) net netns to look up a socket in DESCR...
llc_lookup_listener(9)
NAME llc_lookup_listener - Finds listener for local MAC + SAP SYNOPSIS struct sock * llc_lookup_listener (struct llc_sap *sap , struct llc_addr *laddr , const struct net *net ); ARGUMENTS sap SAP laddr address of local LLC (MAC + SAP) net netns to look up a socket in DESCRIPTION...
llc_mac_hdr_init(9)
NAME llc_mac_hdr_init - fills MAC header fields SYNOPSIS int llc_mac_hdr_init (struct sk_buff *skb , const unsigned char *sa , const unsigned char *da ); ARGUMENTS skb Address of the frame to initialize its MAC header sa The MAC source address da The MAC destination address ...
llc_pdu_decode_da(9)
NAME llc_pdu_decode_da - extracts dest address of input frame SYNOPSIS void llc_pdu_decode_da (struct sk_buff *skb , u8 *da ); ARGUMENTS skb input skb that destination address must be extracted from it da pointer to destination address (6 byte array). DESCRIPTION This function extracts desti...
llc_pdu_decode_dsap(9)
NAME llc_pdu_decode_dsap - extracts dest SAP of input frame SYNOPSIS void llc_pdu_decode_dsap (struct sk_buff *skb , u8 *dsap ); ARGUMENTS skb input skb that destination SAP must be extracted from it. dsap destination SAP (output argument). DESCRIPTION This function extracts destination SAP of...
llc_pdu_decode_pdu_type(9)
NAME llc_pdu_decode_pdu_type - designates PDU type SYNOPSIS void llc_pdu_decode_pdu_type (struct sk_buff *skb , u8 *type ); ARGUMENTS skb input skb that type of it must be designated. type type of PDU (output argument). DESCRIPTION This function designates type of PDU (I, S or U). SEE ALSO Ke...
llc_pdu_decode_pf_bit(9)
NAME llc_pdu_decode_pf_bit - extracs poll/final bit from LLC header SYNOPSIS void llc_pdu_decode_pf_bit (struct sk_buff *skb , u8 *pf_bit ); ARGUMENTS skb input skb that p/f bit must be extracted from it pf_bit poll/final bit (0 or 1) DESCRIPTION This function extracts poll/final bit from LLC he...
llc_pdu_decode_sa(9)
NAME llc_pdu_decode_sa - extracts, source address (MAC) of input frame SYNOPSIS void llc_pdu_decode_sa (struct sk_buff *skb , u8 *sa ); ARGUMENTS skb input skb that source address must be extracted from it. sa pointer to source address (6 byte array). DESCRIPTION This function extracts sourc...
llc_pdu_decode_ssap(9)
NAME llc_pdu_decode_ssap - extracts source SAP of input frame SYNOPSIS void llc_pdu_decode_ssap (struct sk_buff *skb , u8 *ssap ); ARGUMENTS skb input skb that source SAP must be extracted from it. ssap source SAP (output argument). DESCRIPTION This function extracts source SAP of input frame....
llc_pdu_get_pf_bit(9)
NAME llc_pdu_get_pf_bit - extracts p/f bit of input PDU SYNOPSIS u8 llc_pdu_get_pf_bit (struct llc_pdu_sn *pdu ); ARGUMENTS pdu pointer to LLC header. DESCRIPTION This function extracts p/f bit of input PDU. at first examines type of PDU and then extracts p/f bit. Returns the p/f bit. SEE ALSO Kernel file ...
llc_pdu_header_init(9)
NAME llc_pdu_header_init - initializes pdu header SYNOPSIS void llc_pdu_header_init (struct sk_buff *skb , u8 type , u8 ssap , u8 dsap , u8 cr ); ARGUMENTS skb input skb that header must be set into it. type type of PDU (U, I or S). ssap source sap. dsap destinatio...
llc_pdu_init_as_disc_cmd(9)
NAME llc_pdu_init_as_disc_cmd - Builds DISC PDU SYNOPSIS void llc_pdu_init_as_disc_cmd (struct sk_buff *skb , u8 p_bit ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU DESCRIPTION Builds a pdu frame as a DISC command. SEE ALSO Kernel file ./net/llc/llc_pdu.c llc...
llc_pdu_init_as_dm_rsp(9)
NAME llc_pdu_init_as_dm_rsp - builds DM response pdu SYNOPSIS void llc_pdu_init_as_dm_rsp (struct sk_buff *skb , u8 f_bit ); ARGUMENTS skb Address of the skb to build f_bit The F bit to set in the PDU DESCRIPTION Builds a pdu frame as a DM response. SEE ALSO Kernel file ./net/llc/llc_pdu.c ...
llc_pdu_init_as_frmr_rsp(9)
NAME llc_pdu_init_as_frmr_rsp - builds FRMR response PDU SYNOPSIS void llc_pdu_init_as_frmr_rsp (struct sk_buff *skb , struct llc_pdu_sn *prev_pdu , u8 f_bit , u8 vs , u8 vr , u8 vzyxw ); ARGUMENTS skb Address of the frame to build prev_pdu The rejected PDU frame f_bit The F bit to se...
llc_pdu_init_as_i_cmd(9)
NAME llc_pdu_init_as_i_cmd - builds I pdu SYNOPSIS void llc_pdu_init_as_i_cmd (struct sk_buff *skb , u8 p_bit , u8 ns , u8 nr ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU ns The sequence number of the data PDU nr The seq. number...
llc_pdu_init_as_rej_cmd(9)
NAME llc_pdu_init_as_rej_cmd - builds REJ PDU SYNOPSIS void llc_pdu_init_as_rej_cmd (struct sk_buff *skb , u8 p_bit , u8 nr ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU nr The seq. number of the expected I PDU from the remote DESCRIPTION Builds...
llc_pdu_init_as_rej_rsp(9)
NAME llc_pdu_init_as_rej_rsp - builds REJ response pdu SYNOPSIS void llc_pdu_init_as_rej_rsp (struct sk_buff *skb , u8 f_bit , u8 nr ); ARGUMENTS skb Address of the skb to build f_bit The F bit to set in the PDU nr The seq. number of the expected data PDU from the remote DESCRI...
llc_pdu_init_as_rnr_cmd(9)
NAME llc_pdu_init_as_rnr_cmd - builds RNR pdu SYNOPSIS void llc_pdu_init_as_rnr_cmd (struct sk_buff *skb , u8 p_bit , u8 nr ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU nr The seq. number of the expected I PDU from the remote DESCRIPTION Builds...
llc_pdu_init_as_rnr_rsp(9)
NAME llc_pdu_init_as_rnr_rsp - builds RNR response pdu SYNOPSIS void llc_pdu_init_as_rnr_rsp (struct sk_buff *skb , u8 f_bit , u8 nr ); ARGUMENTS skb Address of the frame to build f_bit The F bit to set in the PDU nr The seq. number of the expected data PDU from the remote DESC...
llc_pdu_init_as_rr_cmd(9)
NAME llc_pdu_init_as_rr_cmd - Builds RR pdu SYNOPSIS void llc_pdu_init_as_rr_cmd (struct sk_buff *skb , u8 p_bit , u8 nr ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU nr The seq. number of the expected I PDU from the remote DESCRIPTION Builds a ...
llc_pdu_init_as_rr_rsp(9)
NAME llc_pdu_init_as_rr_rsp - builds RR response pdu SYNOPSIS void llc_pdu_init_as_rr_rsp (struct sk_buff *skb , u8 f_bit , u8 nr ); ARGUMENTS skb Address of the skb to build f_bit The F bit to set in the PDU nr The seq. number of the expected data PDU from the remote DESCRIPTI...
llc_pdu_init_as_sabme_cmd(9)
NAME llc_pdu_init_as_sabme_cmd - builds SABME pdu SYNOPSIS void llc_pdu_init_as_sabme_cmd (struct sk_buff *skb , u8 p_bit ); ARGUMENTS skb Address of the skb to build p_bit The P bit to set in the PDU DESCRIPTION Builds a pdu frame as an SABME command. SEE ALSO Kernel file ./net/llc/llc_pdu....
llc_pdu_init_as_test_cmd(9)
NAME llc_pdu_init_as_test_cmd - sets PDU as TEST SYNOPSIS void llc_pdu_init_as_test_cmd (struct sk_buff *skb ); ARGUMENTS skb Address of the skb to build DESCRIPTION Sets a PDU as TEST SEE ALSO Kernel file ./include/net/llc_pdu.h llc_pdu_header_init(9), llc_pdu_decode_sa(9), llc_pdu_decode_da(9), ...
llc_pdu_init_as_test_rsp(9)
NAME llc_pdu_init_as_test_rsp - build TEST response PDU SYNOPSIS void llc_pdu_init_as_test_rsp (struct sk_buff *skb , struct sk_buff *ev_skb ); ARGUMENTS skb Address of the skb to build ev_skb The received TEST command PDU frame DESCRIPTION Builds a pdu frame as a TEST response. SEE ALSO Kernel...
llc_pdu_init_as_ua_rsp(9)
NAME llc_pdu_init_as_ua_rsp - builds UA response pdu SYNOPSIS void llc_pdu_init_as_ua_rsp (struct sk_buff *skb , u8 f_bit ); ARGUMENTS skb Address of the frame to build f_bit The F bit to set in the PDU DESCRIPTION Builds a pdu frame as a UA response. SEE ALSO Kernel file ./net/llc/llc_pdu.c...
llc_pdu_init_as_ui_cmd(9)
NAME llc_pdu_init_as_ui_cmd - sets LLC header as UI PDU SYNOPSIS void llc_pdu_init_as_ui_cmd (struct sk_buff *skb ); ARGUMENTS skb input skb that header must be set into it. DESCRIPTION This function sets third byte of LLC header as a UI PDU. SEE ALSO Kernel file ./include/net/llc_pdu.h llc_pdu_header...
llc_pdu_init_as_xid_cmd(9)
NAME llc_pdu_init_as_xid_cmd - sets bytes 3, 4 & 5 of LLC header as XID SYNOPSIS void llc_pdu_init_as_xid_cmd (struct sk_buff *skb , u8 svcs_supported , u8 rx_window ); ARGUMENTS skb input skb that header must be set into it. svcs_supported The class of the LLC (I or II) rx_...
llc_pdu_init_as_xid_rsp(9)
NAME llc_pdu_init_as_xid_rsp - builds XID response PDU SYNOPSIS void llc_pdu_init_as_xid_rsp (struct sk_buff *skb , u8 svcs_supported , u8 rx_window ); ARGUMENTS skb Address of the skb to build svcs_supported The class of the LLC (I or II) rx_window The size of the receive...
llc_pdu_set_pf_bit(9)
NAME llc_pdu_set_pf_bit - sets poll/final bit in LLC header SYNOPSIS void llc_pdu_set_pf_bit (struct sk_buff *skb , u8 bit_value ); ARGUMENTS skb Frame to set bit in bit_value poll/final bit (0 or 1). DESCRIPTION This function sets poll/final bit in LLC header (based on type of PDU). in I or S pdu...
llc_pdu_type(9)
NAME llc_pdu_type - returns which LLC component must handle for PDU SYNOPSIS int llc_pdu_type (struct sk_buff *skb ); ARGUMENTS skb input skb DESCRIPTION This function returns which LLC component must handle this PDU. SEE ALSO Kernel file ./net/llc/llc_input.c llc_fixup_skb(9), llc_rcv(9) April 2026 ...
llc_process_tmr_ev(9)
NAME llc_process_tmr_ev - timer backend SYNOPSIS void llc_process_tmr_ev (struct sock *sk , struct sk_buff *skb ); ARGUMENTS sk active connection skb occurred event DESCRIPTION This function is called from timer callback functions. When connection is busy (during sending a data frame) ti...
llc_proto_type(9)
NAME llc_proto_type - return eth protocol for ARP header type SYNOPSIS __be16 llc_proto_type (u16 arphrd ); ARGUMENTS arphrd ARP header type. DESCRIPTION Given an ARP header type return the corresponding ethernet protocol. SEE ALSO Kernel file ./net/llc/af_llc.c llc_ui_next_link_no(9), llc_ui_addr_null(9),...
llc_qualify_conn_ev(9)
NAME llc_qualify_conn_ev - finds transition for event SYNOPSIS const struct llc_conn_state_trans * llc_qualify_conn_ev (struct sock *sk , struct sk_buff *skb ); ARGUMENTS sk connection skb happened event DESCRIPTION This function finds transition that matches with happened event. Returns po...
llc_rcv(9)
NAME llc_rcv - 802.2 entry point from net lower layers SYNOPSIS int llc_rcv (struct sk_buff *skb , struct net_device *dev , struct packet_type *pt , struct net_device *orig_dev ); ARGUMENTS skb received pdu dev device that receive pdu pt packet type orig_dev the ori...
llc_sap_action_report_status(9)
NAME llc_sap_action_report_status - report data link status to layer mgmt SYNOPSIS int llc_sap_action_report_status (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Report data link status to layer management. Verify our event is the kind we ex...
llc_sap_action_send_test_c(9)
NAME llc_sap_action_send_test_c - send TEST PDU to MAC in resp to TEST REQ SYNOPSIS int llc_sap_action_send_test_c (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Send a TEST command PDU to the MAC layer in response to a TEST REQUEST primitive...
llc_sap_action_send_ui(9)
NAME llc_sap_action_send_ui - sends UI PDU resp to UNITDATA REQ to MAC layer SYNOPSIS int llc_sap_action_send_ui (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Sends a UI PDU to the MAC layer in response to a UNITDATA REQUEST primitive from t...
llc_sap_action_send_xid_c(9)
NAME llc_sap_action_send_xid_c - send XID PDU as response to XID REQ SYNOPSIS int llc_sap_action_send_xid_c (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Send a XID command PDU to MAC layer in response to a XID REQUEST primitive from the net...
llc_sap_action_send_xid_r(9)
NAME llc_sap_action_send_xid_r - send XID PDU resp to MAC for received XID SYNOPSIS int llc_sap_action_send_xid_r (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Send XID response PDU to MAC in response to an earlier received XID command PDU. ...
llc_sap_action_test_ind(9)
NAME llc_sap_action_test_ind - send TEST PDU to net layer via TEST IND SYNOPSIS int llc_sap_action_test_ind (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Send a TEST response PDU to the network layer via a TEST INDICATION primitive. Verify o...
llc_sap_action_unitdata_ind(9)
NAME llc_sap_action_unitdata_ind - forward UI PDU to network layer SYNOPSIS int llc_sap_action_unitdata_ind (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to forward DESCRIPTION Received a UI PDU from MAC layer; forward to network layer as a UNITDATA INDICATION;...
llc_sap_action_xid_ind(9)
NAME llc_sap_action_xid_ind - send XID PDU resp to net layer via XID IND SYNOPSIS int llc_sap_action_xid_ind (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap SAP skb the event to send DESCRIPTION Send a XID response PDU to the network layer via a XID INDICATION primitive. SEE ALSO...
llc_sap_add_socket(9)
NAME llc_sap_add_socket - adds a socket to a SAP SYNOPSIS void llc_sap_add_socket (struct llc_sap *sap , struct sock *sk ); ARGUMENTS sap SAP sk socket DESCRIPTION This function adds a socket to the hash tables of a SAP. SEE ALSO Kernel file ./net/llc/llc_conn.c llc_conn_state_process(9), l...
llc_sap_alloc(9)
NAME llc_sap_alloc - allocates and initializes sap. SYNOPSIS struct llc_sap * llc_sap_alloc (void ); ARGUMENTS void no arguments DESCRIPTION Allocates and initializes sap. SEE ALSO Kernel file ./net/llc/llc_core.c llc_sap_find(9), llc_sap_open(9), llc_sap_close(9) April 2026 ...
llc_sap_close(9)
NAME llc_sap_close - close interface for upper layers. SYNOPSIS void llc_sap_close (struct llc_sap *sap ); ARGUMENTS sap SAP to be closed. DESCRIPTION Close interface function to upper layer. Each one who wants to close an open SAP (for example NetBEUI) should call this function. Removes this sap from the...
llc_sap_find(9)
NAME llc_sap_find - searches a SAP in station SYNOPSIS struct llc_sap * llc_sap_find (unsigned char sap_value ); ARGUMENTS sap_value sap to be found DESCRIPTION Searches for a sap in the sap list of the LLC's station upon the sap ID. If the sap is found it will be refcounted and the user will have to do a llc_sap...
llc_sap_mcast(9)
NAME llc_sap_mcast - Deliver multicast PDU's to all matching datagram sockets. SYNOPSIS void llc_sap_mcast (struct llc_sap *sap , const struct llc_addr *laddr , struct sk_buff *skb ); ARGUMENTS sap SAP laddr address of local LLC (MAC + SAP) skb PDU to deliver DESCRIPTION Search ...
llc_sap_next_state(9)
NAME llc_sap_next_state - finds transition, execs actions & change SAP state SYNOPSIS int llc_sap_next_state (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap pointer to SAP skb happened event DESCRIPTION This function finds transition that matches with happened event, then executes...
llc_sap_open(9)
NAME llc_sap_open - open interface to the upper layers. SYNOPSIS struct llc_sap * llc_sap_open (unsigned char lsap , int (*func)(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) ); ARGUMENTS lsap SAP number. func rcv func for datalink protos DESC...
llc_sap_rcv(9)
NAME llc_sap_rcv - sends received pdus to the sap state machine SYNOPSIS void llc_sap_rcv (struct llc_sap *sap , struct sk_buff *skb , struct sock *sk ); ARGUMENTS sap current sap component structure. skb received frame. sk socket to associate to frame DESCRIPTION Sends recei...
llc_sap_remove_socket(9)
NAME llc_sap_remove_socket - removes a socket from SAP SYNOPSIS void llc_sap_remove_socket (struct llc_sap *sap , struct sock *sk ); ARGUMENTS sap SAP sk socket DESCRIPTION This function removes a connection from the hash tables of a SAP if the connection was in this list. SEE ALSO Kernel f...
llc_sap_rtn_pdu(9)
NAME llc_sap_rtn_pdu - Informs upper layer on rx of an UI, XID or TEST pdu. SYNOPSIS void llc_sap_rtn_pdu (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap pointer to SAP skb received pdu SEE ALSO Kernel file ./net/llc/llc_sap.c llc_alloc_frame(9), llc_find_sap_trans(9), llc_exe...
llc_sap_state_process(9)
NAME llc_sap_state_process - sends event to SAP state machine SYNOPSIS void llc_sap_state_process (struct llc_sap *sap , struct sk_buff *skb ); ARGUMENTS sap sap to use skb pointer to occurred event DESCRIPTION After executing actions of the event, upper layer will be indicated if needed(on r...
llc_send_disc(9)
NAME llc_send_disc - Called by upper layer to close a connection SYNOPSIS int llc_send_disc (struct sock *sk ); ARGUMENTS sk connection to be closed DESCRIPTION Upper layer calls this when it wants to close an established LLC connection with a remote machine. This function packages a proper event and sends...
llc_sk_alloc(9)
NAME llc_sk_alloc - Allocates LLC sock SYNOPSIS struct sock * llc_sk_alloc (struct net *net , int family , gfp_t priority , struct proto *prot , int kern ); ARGUMENTS net network namespace family upper layer protocol family priority for allocation (GFP_KERNEL, GFP_ATOMIC, etc) ...
llc_sk_free(9)
NAME llc_sk_free - Frees a LLC socket SYNOPSIS void llc_sk_free (struct sock *sk ); ARGUMENTS sk - socket to free DESCRIPTION Frees a LLC socket SEE ALSO Kernel file ./net/llc/llc_conn.c llc_conn_state_process(9), llc_conn_rtn_pdu(9), llc_conn_resend_i_pdu_as_cmd(9), llc_conn_resend_i_pdu_as_rsp(9), llc_co...
llc_sk_init(9)
NAME llc_sk_init - Initializes a socket with default llc values. SYNOPSIS void llc_sk_init (struct sock *sk ); ARGUMENTS sk socket to initialize. DESCRIPTION Initializes a socket with default llc values. SEE ALSO Kernel file ./net/llc/llc_conn.c llc_conn_state_process(9), llc_conn_rtn_pdu(9), llc_conn...
llc_sk_reset(9)
NAME llc_sk_reset - resets a connection SYNOPSIS void llc_sk_reset (struct sock *sk ); ARGUMENTS sk LLC socket to reset DESCRIPTION Resets a connection to the out of service state. Stops its timers and frees any frames in the queues of the connection. SEE ALSO Kernel file ./net/llc/llc_conn.c llc_conn_stat...
llc_station_rcv(9)
NAME llc_station_rcv - send received pdu to the station state machine SYNOPSIS void llc_station_rcv (struct sk_buff *skb ); ARGUMENTS skb received frame. DESCRIPTION Sends data unit to station state machine. SEE ALSO Kernel file ./net/llc/llc_station.c April 2026 ...
llc_ui_accept(9)
NAME llc_ui_accept - accept a new incoming connection. SYNOPSIS int llc_ui_accept (struct socket *sock , struct socket *newsock , struct proto_accept_arg *arg ); ARGUMENTS sock Socket which connections arrive on. newsock Socket to move incoming connection to. arg User specified argu...
llc_ui_addr_null(9)
NAME llc_ui_addr_null - determines if a address structure is null SYNOPSIS u8 llc_ui_addr_null (struct sockaddr_llc *addr ); ARGUMENTS addr Address to test if null. SEE ALSO Kernel file ./net/llc/af_llc.c llc_ui_next_link_no(9), llc_proto_type(9), llc_ui_header_len(9), llc_ui_send_data(9), llc_ui_crea...
llc_ui_autobind(9)
NAME llc_ui_autobind - automatically bind a socket to a sap SYNOPSIS int llc_ui_autobind (struct socket *sock , struct sockaddr_llc *addr ); ARGUMENTS sock socket to bind addr address to connect to DESCRIPTION Used by llc_ui_connect and llc_ui_sendmsg when the user hasn't specifically used llc_...
llc_ui_autoport(9)
NAME llc_ui_autoport - provide dynamically allocate SAP number SYNOPSIS int llc_ui_autoport (void ); ARGUMENTS void no arguments DESCRIPTION Provide the caller with a dynamically allocated SAP number according to the rules that are set in this function. Returns: 0, upon failure, SAP number otherwise. SEE ALS...
llc_ui_bind(9)
NAME llc_ui_bind - bind a socket to a specific address. SYNOPSIS int llc_ui_bind (struct socket *sock , struct sockaddr_unsized *uaddr , int addrlen ); ARGUMENTS sock Socket to bind an address to. uaddr Address the user wants the socket bound to. addrlen Length of the uaddr structure....
llc_ui_connect(9)
NAME llc_ui_connect - Connect to a remote llc2 mac + sap. SYNOPSIS int llc_ui_connect (struct socket *sock , struct sockaddr_unsized *uaddr , int addrlen , int flags ); ARGUMENTS sock Socket which will be connected to the remote destination. uaddr Remote and possibly the local address of the new ...
llc_ui_create(9)
NAME llc_ui_create - alloc and init a new llc_ui socket SYNOPSIS int llc_ui_create (struct net *net , struct socket *sock , int protocol , int kern ); ARGUMENTS net network namespace (must be default network) sock Socket to initialize and attach allocated sk to. protocol Unused. ...
llc_ui_getname(9)
NAME llc_ui_getname - return the address info of a socket SYNOPSIS int llc_ui_getname (struct socket *sock , struct sockaddr *uaddr , int peer ); ARGUMENTS sock Socket to get address of. uaddr Address structure to return information. peer Does user want local or remote address info...
llc_ui_getsockopt(9)
NAME llc_ui_getsockopt - get connection specific socket info SYNOPSIS int llc_ui_getsockopt (struct socket *sock , int level , int optname , char __user *optval , int __user *optlen ); ARGUMENTS sock Socket to get information from. level Socket level user is requesting operations on. optn...
llc_ui_header_len(9)
NAME llc_ui_header_len - return length of llc header based on operation SYNOPSIS u8 llc_ui_header_len (struct sock *sk , struct sockaddr_llc *addr ); ARGUMENTS sk Socket which contains a valid llc socket type. addr Complete sockaddr_llc structure received from the user. DESCRIPTION Provide th...
llc_ui_ioctl(9)
NAME llc_ui_ioctl - io controls for PF_LLC SYNOPSIS int llc_ui_ioctl (struct socket *sock , unsigned int cmd , unsigned long arg ); ARGUMENTS sock Socket to get/set info cmd command arg optional argument for cmd DESCRIPTION get/set info on llc sockets SEE ALSO Kernel file ./...
llc_ui_listen(9)
NAME llc_ui_listen - allow a normal socket to accept incoming connections SYNOPSIS int llc_ui_listen (struct socket *sock , int backlog ); ARGUMENTS sock Socket to allow incoming connections on. backlog Number of connections to queue. DESCRIPTION Allow a normal socket to accept incoming connection...
llc_ui_next_link_no(9)
NAME llc_ui_next_link_no - return the next unused link number for a sap SYNOPSIS u16 llc_ui_next_link_no (int sap ); ARGUMENTS sap Address of sap to get link number from. DESCRIPTION Return the next unused link number for a given sap. SEE ALSO Kernel file ./net/llc/af_llc.c llc_proto_type(9), llc_ui_addr_...
llc_ui_recvmsg(9)
NAME llc_ui_recvmsg - copy received data to the socket user. SYNOPSIS int llc_ui_recvmsg (struct socket *sock , struct msghdr *msg , size_t len , int flags ); ARGUMENTS sock Socket to copy data from. msg Various user space related information. len Size of user buffer. fl...
llc_ui_release(9)
NAME llc_ui_release - shutdown socket SYNOPSIS int llc_ui_release (struct socket *sock ); ARGUMENTS sock Socket to release. DESCRIPTION Shutdown and deallocate an existing socket. SEE ALSO Kernel file ./net/llc/af_llc.c llc_ui_next_link_no(9), llc_proto_type(9), llc_ui_addr_null(9), llc_ui_header_len(9...
llc_ui_send_data(9)
NAME llc_ui_send_data - send data via reliable llc2 connection SYNOPSIS int llc_ui_send_data (struct sock* sk , struct sk_buff *skb , int noblock ); ARGUMENTS sk Connection the socket is using. skb Data the user wishes to send. noblock can we block waiting for data? DESCRIPTION S...
llc_ui_sendmsg(9)
NAME llc_ui_sendmsg - Transmit data provided by the socket user. SYNOPSIS int llc_ui_sendmsg (struct socket *sock , struct msghdr *msg , size_t len ); ARGUMENTS sock Socket to transmit data from. msg Various user related information. len Length of data to transmit. DESCRIPTION ...
llc_ui_setsockopt(9)
NAME llc_ui_setsockopt - set various connection specific parameters. SYNOPSIS int llc_ui_setsockopt (struct socket *sock , int level , int optname , sockptr_t optval , unsigned int optlen ); ARGUMENTS sock Socket to set options on. level Socket level user is requesting operations on. optn...
llc_ui_shutdown(9)
NAME llc_ui_shutdown - shutdown a connect llc2 socket. SYNOPSIS int llc_ui_shutdown (struct socket *sock , int how ); ARGUMENTS sock Socket to shutdown. how What part of the socket to shutdown. DESCRIPTION Shutdown a connected llc2 socket. Currently this function only supports shutting down b...
llc_util_nr_inside_tx_window(9)
NAME llc_util_nr_inside_tx_window - check if sequence number is in tx window SYNOPSIS u16 llc_util_nr_inside_tx_window (struct sock *sk , u8 nr ); ARGUMENTS sk current connection. nr N(R) of received PDU. DESCRIPTION This routine checks if N(R) of received PDU is in range of transmit window...
llc_util_ns_inside_rx_window(9)
NAME llc_util_ns_inside_rx_window - check if sequence number is in rx window SYNOPSIS u16 llc_util_ns_inside_rx_window (u8 ns , u8 vr , u8 rw ); ARGUMENTS ns sequence number of received pdu. vr sequence number which receiver expects to receive. rw receive window size of rece...
llcc_get_slice_id(9)
NAME llcc_get_slice_id - get slice id SYNOPSIS int llcc_get_slice_id (struct llcc_slice_desc *desc ); ARGUMENTS desc Pointer to llcc slice descriptor SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_data(9), llcc_slice_getd(9...
llcc_get_slice_size(9)
NAME llcc_get_slice_size - llcc slice size SYNOPSIS size_t llcc_get_slice_size (struct llcc_slice_desc *desc ); ARGUMENTS desc Pointer to llcc slice descriptor SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_data(9), llcc_...
llcc_slice_activate(9)
NAME llcc_slice_activate - Activate the llcc slice SYNOPSIS int llcc_slice_activate (struct llcc_slice_desc *desc ); ARGUMENTS desc Pointer to llcc slice descriptor SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_data(9), ...
llcc_slice_deactivate(9)
NAME llcc_slice_deactivate - Deactivate the llcc slice SYNOPSIS int llcc_slice_deactivate (struct llcc_slice_desc *desc ); ARGUMENTS desc Pointer to llcc slice descriptor SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_dat...
llcc_slice_getd(9)
NAME llcc_slice_getd - get llcc slice descriptor SYNOPSIS struct llcc_slice_desc * llcc_slice_getd (u32 uid ); ARGUMENTS uid usecase_id of the client SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_data(9), llcc_slice_putd(9)...
llcc_slice_putd(9)
NAME llcc_slice_putd - llcc slice descritpor SYNOPSIS void llcc_slice_putd (struct llcc_slice_desc *desc ); ARGUMENTS desc Pointer to llcc slice descriptor SEE ALSO Kernel file ./include/linux/soc/qcom/llcc-qcom.h struct llcc_slice_desc(9), struct llcc_edac_reg_data(9), struct llcc_drv_data(9), llcc_slice_ge...
lld_ioctl(9)
NAME lld_ioctl - Routine to issue ioctl to low level drvr SYNOPSIS int lld_ioctl (mraid_mmadp_t *adp , uioc_t *kioc ); ARGUMENTS adp The adapter handle kioc The ioctl packet with kernel addresses SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mr...
lld_timedout(9)
NAME lld_timedout - callback from the expired timer SYNOPSIS void lld_timedout (struct timer_list *t ); ARGUMENTS t timer that timed out SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(9), mraid_mm_ioctl(9), mraid_mm_get_adapter(9), handle_drvrcmd(9), mimd_to_kioc(9), mraid_mm_atta...
lldiv(3)
NAME div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an integer division LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> div_t div(int numerator, int denominator); ldiv_t ldiv(long numerator, long denominator); lldiv_t lldiv(long long numerator, long long denomi...
lldiv(3p)
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 lldiv — compute quotient and remainder of a long division SYNO...