id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ssam_request_sync_wait(9) | NAME ssam_request_sync_wait - Wait for completion of a synchronous request.
SYNOPSIS int ssam_request_sync_wait (struct ssam_request_sync *rqst );
ARGUMENTS rqst The request to wait for.
DESCRIPTION Wait for completion and release of a synchronous request. After this function terminates, the request is guaran... |
ssam_request_write_data(9) | NAME ssam_request_write_data - Construct and write SAM request message to buffer.
SYNOPSIS ssize_t ssam_request_write_data (struct ssam_span *buf , struct ssam_controller *ctrl , const struct ssam_request *spec );
ARGUMENTS buf The buffer to write the data to.
ctrl The controller via which the ... |
ssam_retry(9) | NAME ssam_retry - Retry request in case of I/O errors or timeouts up to three times in total.
SYNOPSIS ssam_retry (request , args... );
ARGUMENTS request The request function to execute. Must return an integer.
args Arguments for the request function.
DESCRIPTION Executes the given request functi... |
ssam_ssh_event_disable(9) | NAME ssam_ssh_event_disable - Disable SSH event.
SYNOPSIS int ssam_ssh_event_disable (struct ssam_controller *ctrl , struct ssam_event_registry reg , struct ssam_event_id id , u8 flags );
ARGUMENTS ctrl The controller for which to disable the event.
reg The event registry describing what reques... |
ssam_ssh_event_enable(9) | NAME ssam_ssh_event_enable - Enable SSH event.
SYNOPSIS int ssam_ssh_event_enable (struct ssam_controller *ctrl , struct ssam_event_registry reg , struct ssam_event_id id , u8 flags );
ARGUMENTS ctrl The controller for which to enable the event.
reg The event registry describing what request to... |
ssam_trace_get_packet_seq(9) | NAME ssam_trace_get_packet_seq - Read the packet's sequence ID.
SYNOPSIS u16 ssam_trace_get_packet_seq (const struct ssh_packet *p );
ARGUMENTS p The packet.
RETURN Returns the packet's sequence ID (SEQ) field if present, or SSAM_SEQ_NOT_APPLICABLE if not (e.g. flush packet).
SEE ALSO Kernel file ./driver... |
ssam_trace_get_request_id(9) | NAME ssam_trace_get_request_id - Read the packet's request ID.
SYNOPSIS u32 ssam_trace_get_request_id (const struct ssh_packet *p );
ARGUMENTS p The packet.
RETURN Returns the packet's request ID (RQID) field if the packet represents a request with command data, or SSAM_RQID_NOT_APPLICABLE if not (e.g. flu... |
ssam_trace_get_request_sid(9) | NAME ssam_trace_get_request_sid - Read the packet's request source ID.
SYNOPSIS u32 ssam_trace_get_request_sid (const struct ssh_packet *p );
ARGUMENTS p The packet.
RETURN Returns the packet's request source ID (SID) field if the packet represents a request with command data, or SSAM_SSH_TID_NOT_APPLICABL... |
ssam_trace_get_request_tc(9) | NAME ssam_trace_get_request_tc - Read the packet's request target category.
SYNOPSIS u32 ssam_trace_get_request_tc (const struct ssh_packet *p );
ARGUMENTS p The packet.
RETURN Returns the packet's request target category (TC) field if the packet represents a request with command data, or SSAM_SSH_TC_NOT_A... |
ssam_trace_get_request_tid(9) | NAME ssam_trace_get_request_tid - Read the packet's request target ID.
SYNOPSIS u32 ssam_trace_get_request_tid (const struct ssh_packet *p );
ARGUMENTS p The packet.
RETURN Returns the packet's request target ID (TID) field if the packet represents a request with command data, or SSAM_SSH_TID_NOT_APPLICABL... |
ssam_trace_ptr_uid(9) | NAME ssam_trace_ptr_uid - Convert the pointer to a non-pointer UID string.
SYNOPSIS void ssam_trace_ptr_uid (const void *ptr , char *uid_str );
ARGUMENTS ptr The pointer to convert.
uid_str A buffer of length SSAM_PTR_UID_LEN where the UID will be stored.
DESCRIPTION Converts the given pointer in... |
ssam_try_set_controller(9) | NAME ssam_try_set_controller - Try to set the main controller reference.
SYNOPSIS int ssam_try_set_controller (struct ssam_controller *ctrl );
ARGUMENTS ctrl The controller to which the reference should point.
DESCRIPTION Set the main controller reference to the given pointer if the reference hasn't been set ... |
ssb_arch_register_fallback_sprom(9) | NAME ssb_arch_register_fallback_sprom - Registers a method providing a fallback SPROM if no SPROM is found.
SYNOPSIS int ssb_arch_register_fallback_sprom (int (*sprom_callback)(struct ssb_bus *bus, struct ssb_sprom *out) );
ARGUMENTS sprom_callback The callback function.
DESCRIPTION With this function the architectu... |
sscanf(3) | NAME sscanf, vsscanf - input string format conversion
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdio.h>
int sscanf(const char *restrict str,
const char *restrict format, ...);
#include <stdarg.h>
int vsscanf(const char *restrict str,
const c... |
sscanf(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 sscanf — convert formatted input
SYNOPSIS #include <stdio.h>
... |
sscanf(9) | NAME sscanf - Unformat a buffer into a list of arguments
SYNOPSIS int sscanf (const char *buf , const char *fmt , ... );
ARGUMENTS buf input buffer
fmt formatting of buffer
... resulting arguments
SEE ALSO Kernel file ./lib/vsprintf.c simple_strtoull(9), simple_strtoul(9),... |
ssctl_del_server(9) | NAME ssctl_del_server - QMI callback indicating that @svc is removed
SYNOPSIS void ssctl_del_server (struct qmi_handle *qmi , struct qmi_service *svc );
ARGUMENTS qmi QMI handle
svc service information
SEE ALSO Kernel file ./drivers/remoteproc/qcom_sysmon.c sysmon_send_event(9), sysmon_reques... |
ssctl_new_server(9) | NAME ssctl_new_server - QMI callback indicating a new service
SYNOPSIS int ssctl_new_server (struct qmi_handle *qmi , struct qmi_service *svc );
ARGUMENTS qmi QMI handle
svc service information
RETURN 0 if we're interested in this service, -EINVAL otherwise.
SEE ALSO Kernel file ./drivers/re... |
ssctl_request_shutdown(9) | NAME ssctl_request_shutdown - request shutdown via SSCTL QMI service
SYNOPSIS bool ssctl_request_shutdown (struct qcom_sysmon *sysmon );
ARGUMENTS sysmon sysmon context
RETURN boolean indicator of the remote processor acking the request
SEE ALSO Kernel file ./drivers/remoteproc/qcom_sysmon.c sysmon_send_event(... |
ssctl_send_event(9) | NAME ssctl_send_event - send notification of other remote's SSR event
SYNOPSIS void ssctl_send_event (struct qcom_sysmon *sysmon , const struct sysmon_event *event );
ARGUMENTS sysmon sysmon context
event sysmon event context
SEE ALSO Kernel file ./drivers/remoteproc/qcom_sysmon.c sysmon_send_even... |
ssetmask(2) | NAME sgetmask, ssetmask - manipulation of signal mask (obsolete)
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
[[deprecated]] long syscall(SYS_sgetmask, void);
[[deprecated]] long syscall(SYS_ssetmask, long newmask)... |
ssh(1) | NAME ssh — OpenSSH remote login client
SYNOPSIS ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J destination] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o op... |
ssh-add(1) | NAME ssh-add — adds private key identities to the OpenSSH authentication agent
SYNOPSIS ssh-add [-CcDdKkLlNqvXx] [-E fingerprint_hash] [-H hostkey_file] [-h destination_constraint] [-S provider] [-t life] [file ...] ssh-add -s pkcs11 [-Cv] [certificate ...] ssh-add -e pkcs11 ssh-add -T pubkey ...
DESCRIPTION ssh-add ... |
ssh-agent(1) | NAME ssh-agent — OpenSSH authentication agent
SYNOPSIS ssh-agent [-c | -s] [-DdTU] [-a bind_address] [-E fingerprint_hash] [-O option] [-P allowed_providers] [-t life] ssh-agent [-TU] [-a bind_address] [-E fingerprint_hash] [-O option] [-P allowed_providers] [-t life] command [arg ...] ssh-agent [-c | -s] -k ssh-agent... |
ssh-copy-id(1) | NAME ssh-copy-id — use locally available keys to authorise logins on a remote machine
SYNOPSIS ssh-copy-id [-f] [-n] [-s] [-x] [-i [identity_file]] [-t target_path] [-F ssh_config] [[-o ssh_option] ...] [-p port] [user@]hostname ssh-copy-id -h | -?
DESCRIPTION ssh-copy-id is a script that uses ssh(1) to log into a ... |
ssh-keygen(1) | NAME ssh-keygen — OpenSSH authentication key utility
SYNOPSIS ssh-keygen [-q] [-a rounds] [-b bits] [-C comment] [-f output_keyfile] [-m format] [-N new_passphrase] [-O option] [-t ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] [-w provider] [-Z cipher] ssh-keygen -p [-a rounds] [-f keyfile] [-m format] [-N new_passph... |
ssh-keyscan(1) | NAME ssh-keyscan — gather SSH public keys from servers
SYNOPSIS ssh-keyscan [-46cDHqv] [-f file] [-O option] [-p port] [-T timeout] [-t type] [host | addrlist namelist]
DESCRIPTION ssh-keyscan is a utility for gathering the public SSH host keys of a number of hosts. It was designed to aid in building and verifyi... |
ssh-keysign(8) | NAME ssh-keysign — OpenSSH helper for host-based authentication
SYNOPSIS ssh-keysign
DESCRIPTION ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication.
ssh-keysign is disabled by default and can only be enabled in the global cl... |
ssh-pkcs11-helper(8) | NAME ssh-pkcs11-helper — OpenSSH helper for PKCS#11 support
SYNOPSIS ssh-pkcs11-helper [-v]
DESCRIPTION ssh-pkcs11-helper is used by ssh(1), ssh-agent(1), and ssh-keygen(1) to access keys provided by a PKCS#11 token.
ssh-pkcs11-helper is not intended to be invoked directly by the user.
A single option... |
ssh-sk-helper(8) | NAME ssh-sk-helper — OpenSSH helper for FIDO authenticator support
SYNOPSIS ssh-sk-helper [-v]
DESCRIPTION ssh-sk-helper is used by ssh(1), ssh-agent(1), and ssh-keygen(1) to access keys provided by a FIDO authenticator.
ssh-sk-helper is not intended to be invoked directly by the user.
A single option... |
ssh_config(5) | NAME ssh_config — OpenSSH client configuration file
DESCRIPTION ssh(1) obtains configuration data from the following sources in the following order:
1. command-line options
2. user's configuration file (~/.ssh/config)
3. system-wide configuration file (/etc/ssh/ssh_config)... |
ssh_crc(9) | NAME ssh_crc - Compute CRC for SSH messages.
SYNOPSIS u16 ssh_crc (const u8 *buf , size_t len );
ARGUMENTS buf The pointer pointing to the data for which the CRC should be computed.
len The length of the data for which the CRC should be computed.
RETURN Returns the CRC computed on the provide... |
ssh_ctrl_packet_alloc(9) | NAME ssh_ctrl_packet_alloc - Allocate packet from control packet cache.
SYNOPSIS int ssh_ctrl_packet_alloc (struct ssh_packet **packet , struct ssam_span *buffer , gfp_t flags );
ARGUMENTS packet Where the pointer to the newly allocated packet should be stored.
buffer The buffer corresponding to thi... |
ssh_ctrl_packet_cache_destroy(9) | NAME ssh_ctrl_packet_cache_destroy - Deinitialize the control packet cache.
SYNOPSIS void ssh_ctrl_packet_cache_destroy (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_should_drop_ack_packet(9), ssh_ptl_should_drop_nak_pack... |
ssh_ctrl_packet_cache_init(9) | NAME ssh_ctrl_packet_cache_init - Initialize the control packet cache.
SYNOPSIS int ssh_ctrl_packet_cache_init (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_should_drop_ack_packet(9), ssh_ptl_should_drop_nak_packet(9), ... |
ssh_ctrl_packet_free(9) | NAME ssh_ctrl_packet_free - Free packet allocated from control packet cache.
SYNOPSIS void ssh_ctrl_packet_free (struct ssh_packet *p );
ARGUMENTS p The packet to free.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_should_drop_ack_packet(9), ssh_ptl_shoul... |
ssh_packet_get(9) | NAME ssh_packet_get - Increment reference count of packet.
SYNOPSIS struct ssh_packet * ssh_packet_get (struct ssh_packet *packet );
ARGUMENTS packet The packet to increment the reference count of.
DESCRIPTION Increments the reference count of the given packet. See ssh_packet_put for the counter-part of this fu... |
ssh_packet_init(9) | NAME ssh_packet_init - Initialize SSH packet.
SYNOPSIS void ssh_packet_init (struct ssh_packet *packet , unsigned long type , u8 priority , const struct ssh_packet_ops *ops );
ARGUMENTS packet The packet to initialize.
type Type-flags of the packet.
priority Priority of the packet. See ... |
ssh_packet_priority_get_base(9) | NAME ssh_packet_priority_get_base - Get base priority from packet priority.
SYNOPSIS u8 ssh_packet_priority_get_base (u8 priority );
ARGUMENTS priority The packet priority.
RETURN Returns the base priority encoded in the given packet priority.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.... |
ssh_packet_priority_get_try(9) | NAME ssh_packet_priority_get_try - Get number of tries from packet priority.
SYNOPSIS u8 ssh_packet_priority_get_try (u8 priority );
ARGUMENTS priority The packet priority.
RETURN Returns the number of tries encoded in the specified packet priority.
SEE ALSO Kernel file ./include/linux/surface_aggregator/seria... |
ssh_packet_put(9) | NAME ssh_packet_put - Decrement reference count of packet.
SYNOPSIS void ssh_packet_put (struct ssh_packet *packet );
ARGUMENTS packet The packet to decrement the reference count of.
DESCRIPTION If the reference count reaches zero, the “release callback specified in the packet's struct ssh_packet_ops, i.e. pack... |
ssh_packet_set_data(9) | NAME ssh_packet_set_data - Set raw message data of packet.
SYNOPSIS void ssh_packet_set_data (struct ssh_packet *p , u8 *ptr , size_t len );
ARGUMENTS p The packet for which the message data should be set.
ptr Pointer to the memory holding the message data.
len Length of the ... |
ssh_ptl_cancel(9) | NAME ssh_ptl_cancel - Cancel a packet.
SYNOPSIS void ssh_ptl_cancel (struct ssh_packet *p );
ARGUMENTS p The packet to cancel.
DESCRIPTION Cancels a packet. There are no guarantees on when completion and release callbacks will be called. This may occur during execution of this function or may occur at any ... |
ssh_ptl_destroy(9) | NAME ssh_ptl_destroy - Deinitialize packet transport layer.
SYNOPSIS void ssh_ptl_destroy (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer to deinitialize.
DESCRIPTION Deinitializes the given packet transport layer and frees resources associated with it. If receiver and/or transmitter thread... |
ssh_ptl_get_device(9) | NAME ssh_ptl_get_device - Get device associated with packet transport layer.
SYNOPSIS struct device * ssh_ptl_get_device (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
RETURN Returns the device on which the given packet transport layer builds upon.
SEE ALSO Kernel file ./drivers/platform/... |
ssh_ptl_init(9) | NAME ssh_ptl_init - Initialize packet transport layer.
SYNOPSIS int ssh_ptl_init (struct ssh_ptl *ptl , struct serdev_device *serdev , struct ssh_ptl_ops *ops );
ARGUMENTS ptl The packet transport layer to initialize.
serdev The underlying serial device, i.e. the lower-level transport.
op... |
ssh_ptl_rx_rcvbuf(9) | NAME ssh_ptl_rx_rcvbuf - Push data from lower-layer transport to the packet layer.
SYNOPSIS ssize_t ssh_ptl_rx_rcvbuf (struct ssh_ptl *ptl , const u8 *buf , size_t n );
ARGUMENTS ptl The packet transport layer.
buf Pointer to the data to push to the layer.
n Size of the data ... |
ssh_ptl_rx_start(9) | NAME ssh_ptl_rx_start - Start packet transport layer receiver thread.
SYNOPSIS int ssh_ptl_rx_start (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
RETURN Returns zero on success, a negative error code on failure.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_... |
ssh_ptl_rx_stop(9) | NAME ssh_ptl_rx_stop - Stop packet transport layer receiver thread.
SYNOPSIS int ssh_ptl_rx_stop (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
RETURN Returns zero on success, a negative error code on failure.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_lay... |
ssh_ptl_should_corrupt_rx_data(9) | NAME ssh_ptl_should_corrupt_rx_data - Error injection hook to simulate invalid data being sent by the EC.
SYNOPSIS bool ssh_ptl_should_corrupt_rx_data (void );
ARGUMENTS void no arguments
DESCRIPTION Hook to simulate invalid data/checksum of the message frame and test handling thereof in the driver.
SEE ALSO... |
ssh_ptl_should_corrupt_rx_syn(9) | NAME ssh_ptl_should_corrupt_rx_syn - Error injection hook to simulate invalid data being sent by the EC.
SYNOPSIS bool ssh_ptl_should_corrupt_rx_syn (void );
ARGUMENTS void no arguments
DESCRIPTION Hook to simulate invalid SYN bytes, i.e. an invalid start of messages and test handling thereof in the driver.
... |
ssh_ptl_should_corrupt_tx_data(9) | NAME ssh_ptl_should_corrupt_tx_data - Error injection hook to simulate invalid data being sent to the EC.
SYNOPSIS bool ssh_ptl_should_corrupt_tx_data (void );
ARGUMENTS void no arguments
DESCRIPTION Hook to simulate corrupt/invalid data being sent from host (driver) to EC. Causes the packet data to be ac... |
ssh_ptl_should_drop_ack_packet(9) | NAME ssh_ptl_should_drop_ack_packet - Error injection hook to drop ACK packets.
SYNOPSIS bool ssh_ptl_should_drop_ack_packet (void );
ARGUMENTS void no arguments
DESCRIPTION Useful to test detection and handling of automated re-transmits by the EC. Specifically of packets that the EC considers not-ACKed ... |
ssh_ptl_should_drop_dsq_packet(9) | NAME ssh_ptl_should_drop_dsq_packet - Error injection hook to drop sequenced data packet.
SYNOPSIS bool ssh_ptl_should_drop_dsq_packet (void );
ARGUMENTS void no arguments
DESCRIPTION Useful to test re-transmit timeout of the driver. If the data packet has not been ACKed after a certain time, the driver shoul... |
ssh_ptl_should_drop_nak_packet(9) | NAME ssh_ptl_should_drop_nak_packet - Error injection hook to drop NAK packets.
SYNOPSIS bool ssh_ptl_should_drop_nak_packet (void );
ARGUMENTS void no arguments
DESCRIPTION Useful to test/force automated (timeout-based) re-transmit by the EC. Specifically, packets that have not reached the driver comple... |
ssh_ptl_should_fail_write(9) | NAME ssh_ptl_should_fail_write - Error injection hook to make serdev_device_write() fail.
SYNOPSIS int ssh_ptl_should_fail_write (void );
ARGUMENTS void no arguments
DESCRIPTION Hook to simulate errors in serdev_device_write when transmitting packets.
SEE ALSO Kernel file ./drivers/platform/surface/aggr... |
ssh_ptl_shutdown(9) | NAME ssh_ptl_shutdown - Shut down the packet transport layer.
SYNOPSIS void ssh_ptl_shutdown (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
DESCRIPTION Shuts down the packet transport layer, removing and canceling all queued and pending packets. Packets canceled by this operation wi... |
ssh_ptl_submit(9) | NAME ssh_ptl_submit - Submit a packet to the transport layer.
SYNOPSIS int ssh_ptl_submit (struct ssh_ptl *ptl , struct ssh_packet *p );
ARGUMENTS ptl The packet transport layer to submit the packet to.
p The packet to submit.
DESCRIPTION Submits a new packet to the transport layer, queuing... |
ssh_ptl_tx_start(9) | NAME ssh_ptl_tx_start - Start packet transmitter thread.
SYNOPSIS int ssh_ptl_tx_start (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
RETURN Returns zero on success, a negative error code on failure.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_layer.c ss... |
ssh_ptl_tx_stop(9) | NAME ssh_ptl_tx_stop - Stop packet transmitter thread.
SYNOPSIS int ssh_ptl_tx_stop (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
RETURN Returns zero on success, a negative error code on failure.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_p... |
ssh_ptl_tx_wakeup_packet(9) | NAME ssh_ptl_tx_wakeup_packet - Wake up packet transmitter thread for new packet.
SYNOPSIS void ssh_ptl_tx_wakeup_packet (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
DESCRIPTION Wakes up the packet transmitter thread, notifying it that a new packet has arrived and is ready for transfer. ... |
ssh_ptl_tx_wakeup_transfer(9) | NAME ssh_ptl_tx_wakeup_transfer - Wake up packet transmitter thread for transfer.
SYNOPSIS void ssh_ptl_tx_wakeup_transfer (struct ssh_ptl *ptl );
ARGUMENTS ptl The packet transport layer.
DESCRIPTION Wakes up the packet transmitter thread, notifying it that the underlying transport has more space for data t... |
ssh_request_get(9) | NAME ssh_request_get - Increment reference count of request.
SYNOPSIS struct ssh_request * ssh_request_get (struct ssh_request *r );
ARGUMENTS r The request to increment the reference count of.
DESCRIPTION Increments the reference count of the given request by incrementing the reference count of the underl... |
ssh_request_init(9) | NAME ssh_request_init - Initialize SSH request.
SYNOPSIS int ssh_request_init (struct ssh_request *rqst , enum ssam_request_flags flags , const struct ssh_request_ops *ops );
ARGUMENTS rqst The request to initialize.
flags Request flags, determining the type of the request.
ops Re... |
ssh_request_put(9) | NAME ssh_request_put - Decrement reference count of request.
SYNOPSIS void ssh_request_put (struct ssh_request *r );
ARGUMENTS r The request to decrement the reference count of.
DESCRIPTION Decrements the reference count of the given request by decrementing the reference count of the underlying struct ssh_... |
ssh_request_rtl(9) | NAME ssh_request_rtl - Get request transport layer associated with request.
SYNOPSIS struct ssh_rtl * ssh_request_rtl (struct ssh_request *rqst );
ARGUMENTS rqst The request to get the request transport layer reference for.
RETURN Returns the struct ssh_rtl associated with the given SSH request.
SEE ALSO Ker... |
ssh_request_set_data(9) | NAME ssh_request_set_data - Set raw message data of request.
SYNOPSIS void ssh_request_set_data (struct ssh_request *r , u8 *ptr , size_t len );
ARGUMENTS r The request for which the message data should be set.
ptr Pointer to the memory holding the message data.
len Length of... |
ssh_rqid_is_event(9) | NAME ssh_rqid_is_event - Check if given request ID is a valid event ID.
SYNOPSIS bool ssh_rqid_is_event (u16 rqid );
ARGUMENTS rqid The request ID to check.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9), struct ssh_frame(9), enum ssh_payload_type(9), struct ssh_... |
ssh_rqid_next(9) | NAME ssh_rqid_next - Get next request ID.
SYNOPSIS u16 ssh_rqid_next (struct ssh_rqid_counter *c );
ARGUMENTS c The counter providing the request IDs.
RETURN Returns the next request ID of the counter, skipping any reserved request IDs.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/controll... |
ssh_rqid_next_valid(9) | NAME ssh_rqid_next_valid - Return the next valid request ID.
SYNOPSIS u16 ssh_rqid_next_valid (u16 rqid );
ARGUMENTS rqid The current request ID.
RETURN Returns the next valid request ID, following the current request ID provided to this function. This function skips any request IDs reserved for events.
SEE ... |
ssh_rqid_reset(9) | NAME ssh_rqid_reset - Reset/initialize request ID counter.
SYNOPSIS void ssh_rqid_reset (struct ssh_rqid_counter *c );
ARGUMENTS c The counter to reset.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/controller.c ssh_seq_reset(9), ssh_seq_next(9), ssh_rqid_next(9), ssam_event_matches_noti... |
ssh_rqid_to_event(9) | NAME ssh_rqid_to_event - Convert request ID to its corresponding event ID.
SYNOPSIS u16 ssh_rqid_to_event (u16 rqid );
ARGUMENTS rqid The request ID to convert.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9), struct ssh_frame(9), enum ssh_payload_type(9), struct ... |
ssh_rtl_cancel(9) | NAME ssh_rtl_cancel - Cancel request.
SYNOPSIS bool ssh_rtl_cancel (struct ssh_request *rqst , bool pending );
ARGUMENTS rqst The request to cancel.
pending Whether to also cancel pending requests.
DESCRIPTION Cancels the given request. If pending is false, this will not cancel pending requests... |
ssh_rtl_destroy(9) | NAME ssh_rtl_destroy - Deinitialize request transport layer.
SYNOPSIS void ssh_rtl_destroy (struct ssh_rtl *rtl );
ARGUMENTS rtl The request transport layer to deinitialize.
DESCRIPTION Deinitializes the given request transport layer and frees resources associated with it. If receiver and/or transmitter thre... |
ssh_rtl_flush(9) | NAME ssh_rtl_flush - Flush the request transport layer.
SYNOPSIS int ssh_rtl_flush (struct ssh_rtl *rtl , unsigned long timeout );
ARGUMENTS rtl request transport layer
timeout timeout for the flush operation in jiffies
DESCRIPTION Queue a special flush request and wait for its completion. This ... |
ssh_rtl_get_device(9) | NAME ssh_rtl_get_device - Get device associated with request transport layer.
SYNOPSIS struct device * ssh_rtl_get_device (struct ssh_rtl *rtl );
ARGUMENTS rtl The request transport layer.
RETURN Returns the device on which the given request transport layer builds upon.
SEE ALSO Kernel file ./drivers/platfo... |
ssh_rtl_init(9) | NAME ssh_rtl_init - Initialize request transport layer.
SYNOPSIS int ssh_rtl_init (struct ssh_rtl *rtl , struct serdev_device *serdev , const struct ssh_rtl_ops *ops );
ARGUMENTS rtl The request transport layer to initialize.
serdev The underlying serial device, i.e. the lower-level transport.
... |
ssh_rtl_should_drop_response(9) | NAME ssh_rtl_should_drop_response - Error injection hook to drop request responses.
SYNOPSIS bool ssh_rtl_should_drop_response (void );
ARGUMENTS void no arguments
DESCRIPTION Useful to cause request transmission timeouts in the driver by dropping the response to a request.
SEE ALSO Kernel file ./drivers/pla... |
ssh_rtl_shutdown(9) | NAME ssh_rtl_shutdown - Shut down request transport layer.
SYNOPSIS void ssh_rtl_shutdown (struct ssh_rtl *rtl );
ARGUMENTS rtl The request transport layer.
DESCRIPTION Shuts down the request transport layer, removing and canceling all queued and pending requests. Requests canceled by this operation will... |
ssh_rtl_start(9) | NAME ssh_rtl_start - Start request transmitter and receiver.
SYNOPSIS int ssh_rtl_start (struct ssh_rtl *rtl );
ARGUMENTS rtl The request transport layer.
RETURN Returns zero on success, a negative error code on failure.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/ssh_request_layer.c ssh_r... |
ssh_rtl_submit(9) | NAME ssh_rtl_submit - Submit a request to the transport layer.
SYNOPSIS int ssh_rtl_submit (struct ssh_rtl *rtl , struct ssh_request *rqst );
ARGUMENTS rtl The request transport layer.
rqst The request to submit.
DESCRIPTION Submits a request to the transport layer. A single request may not be... |
ssh_seq_next(9) | NAME ssh_seq_next - Get next sequence ID.
SYNOPSIS u8 ssh_seq_next (struct ssh_seq_counter *c );
ARGUMENTS c The counter providing the sequence IDs.
RETURN Returns the next sequence ID of the counter.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/controller.c ssh_seq_reset(9), ssh_rqid_re... |
ssh_seq_reset(9) | NAME ssh_seq_reset - Reset/initialize sequence ID counter.
SYNOPSIS void ssh_seq_reset (struct ssh_seq_counter *c );
ARGUMENTS c The counter to reset.
SEE ALSO Kernel file ./drivers/platform/surface/aggregator/controller.c ssh_seq_next(9), ssh_rqid_reset(9), ssh_rqid_next(9), ssam_event_matches_notifi... |
ssh_tc_to_rqid(9) | NAME ssh_tc_to_rqid - Convert target category to its corresponding request ID.
SYNOPSIS u16 ssh_tc_to_rqid (u8 tc );
ARGUMENTS tc The target category to convert.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9), struct ssh_frame(9), enum ssh_payload_type(9), stru... |
ssh_tid_is_valid(9) | NAME ssh_tid_is_valid - Check if target ID is valid/supported.
SYNOPSIS bool ssh_tid_is_valid (u8 tid );
ARGUMENTS tid The target ID to check.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9), struct ssh_frame(9), enum ssh_payload_type(9), struct ssh_command(9), S... |
ssh_tid_to_index(9) | NAME ssh_tid_to_index - Convert target ID to its corresponding target index.
SYNOPSIS u8 ssh_tid_to_index (u8 tid );
ARGUMENTS tid The target ID to convert.
SEE ALSO Kernel file ./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9), struct ssh_frame(9), enum ssh_payload_type(9), struct ... |
sshd(8) | NAME sshd — OpenSSH daemon
SYNOPSIS sshd [-46DdeGiqTtV] [-C connection_spec] [-c host_certificate_file] [-E log_file] [-f config_file] [-g login_grace_time] [-h host_key_file] [-o option] [-p port] [-u len]
DESCRIPTION sshd (OpenSSH Daemon) is the daemon program for ssh(1). It provides secure encrypted communication... |
sshd_config(5) | NAME sshd_config — OpenSSH daemon configuration file
DESCRIPTION sshd(8) reads configuration data from /etc/ssh/sshd_config (or the file specified with -f on the command line). The file contains keyword-argument pairs, one per line. Unless noted otherwise, for each keyword, the first obtained value will be used. Li... |
sshdig(1) | NAME sshdig - Provide interfaces to capture system calls from a remote host through SSH using a remote capture binary.
SYNOPSIS sshdig [ --help ] [ --version ] [ --extcap-interfaces ] [ --extcap-dlts ] [ --extcap-interface=<interface> ] [ --extcap-config ] [ --extcap-capture-filter=<capture filter> ] [ --capture ] [ -... |
sshdump(1) | NAME sshdump - Provide interfaces to capture packets from a remote host through SSH using a remote capture binary.
SYNOPSIS sshdump [ --help ] [ --version ] [ --extcap-interfaces ] [ --extcap-dlts ] [ --extcap-interface=<interface> ] [ --extcap-config ] [ --extcap-capture-filter=<capture filter> ] [ --capture ] [ --fi... |
sshmitm(8) | NAME sshmitm - SSH monkey-in-the-middle
SYNOPSIS sshmitm [-d] [-I] [-p port] host [port]
DESCRIPTION sshmitm proxies and sniffs SSH traffic redirected by dnsspoof(8), capturing SSH password logins, and optionally hijacking interactive sessions. Only SSH protocol version 1 is (or ever will be) supported - this progra... |
sshow(8) | NAME sshow - SSH traffic analysis tool
SYNOPSIS sshow [-d] [-i interface | -p pcapfile] [expression]
DESCRIPTION sshow analyzes encrypted SSH-1 and SSH-2 traffic, identifying authentication attempts, the lengths of passwords entered in interactive sessions, and command line lengths.
The following advisory des... |
sshp_buf_alloc(9) | NAME sshp_buf_alloc - Allocate and initialize a SSH parser buffer.
SYNOPSIS int sshp_buf_alloc (struct sshp_buf *buf , size_t cap , gfp_t flags );
ARGUMENTS buf The buffer to initialize/allocate to.
cap The desired capacity of the buffer.
flags The flags used for allocating the m... |
sshp_buf_drop(9) | NAME sshp_buf_drop - Drop data from the beginning of the buffer.
SYNOPSIS void sshp_buf_drop (struct sshp_buf *buf , size_t n );
ARGUMENTS buf The buffer to drop data from.
n The number of bytes to drop.
DESCRIPTION Drops the first n bytes from the buffer. Re-aligns any remaining data to th... |
sshp_buf_free(9) | NAME sshp_buf_free - Free a SSH parser buffer.
SYNOPSIS void sshp_buf_free (struct sshp_buf *buf );
ARGUMENTS buf The buffer to free.
DESCRIPTION Frees a SSH parser buffer by freeing the memory backing it and then resetting its pointer to NULL and length and capacity to zero. Intended to free a buffer previo... |
sshp_buf_init(9) | NAME sshp_buf_init - Initialize a SSH parser buffer.
SYNOPSIS void sshp_buf_init (struct sshp_buf *buf , u8 *ptr , size_t cap );
ARGUMENTS buf The buffer to initialize.
ptr The memory backing the buffer.
cap The length of the memory backing the buffer, i.e. its capacity.
DESCR... |
sshp_buf_read_from_fifo(9) | NAME sshp_buf_read_from_fifo - Transfer data from a fifo to the buffer.
SYNOPSIS size_t sshp_buf_read_from_fifo (struct sshp_buf *buf , struct kfifo *fifo );
ARGUMENTS buf The buffer to write the data into.
fifo The fifo to read the data from.
DESCRIPTION Transfers the data contained in the ... |
sshp_buf_span_from(9) | NAME sshp_buf_span_from - Initialize a span from the given buffer and offset.
SYNOPSIS void sshp_buf_span_from (struct sshp_buf *buf , size_t offset , struct ssam_span *span );
ARGUMENTS buf The buffer to create the span from.
offset The offset in the buffer at which the span should start.
... |
sshp_find_syn(9) | NAME sshp_find_syn - Find SSH SYN bytes in the given data span.
SYNOPSIS bool sshp_find_syn (const struct ssam_span *src , struct ssam_span *rem );
ARGUMENTS src The data span to search in.
rem The span (output) indicating the remaining data, starting with SSH SYN bytes, if found.
DESCRIPTION... |
sshp_parse_command(9) | NAME sshp_parse_command - Parse SSH command frame payload.
SYNOPSIS int sshp_parse_command (const struct device *dev , const struct ssam_span *source , struct ssh_command **command , struct ssam_span *command_data );
ARGUMENTS dev The device used for logging.
source The source to parse from.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.