id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
es58x_copy_to_cmd_buf(9) | NAME es58x_copy_to_cmd_buf - Copy an array to the URB command buffer.
SYNOPSIS int es58x_copy_to_cmd_buf (struct es58x_device *es58x_dev , u8 *raw_cmd , int raw_cmd_len );
ARGUMENTS es58x_dev ES58X device.
raw_cmd the buffer we want to copy.
raw_cmd_len length of raw_cmd.
DESCRIPTION Concatenat... |
es58x_devlink_info_get(9) | NAME es58x_devlink_info_get - Report the product information.
SYNOPSIS int es58x_devlink_info_get (struct devlink *devlink , struct devlink_info_req *req , struct netlink_ext_ack *extack );
ARGUMENTS devlink Devlink.
req skb wrapper where to put requested information.
extack Unused.
... |
es58x_disconnect(9) | NAME es58x_disconnect - Disconnect the USB device.
SYNOPSIS void es58x_disconnect (struct usb_interface *intf );
ARGUMENTS intf USB interface
DESCRIPTION Called by the usb core when driver is unloaded or device is removed.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.c es58x_calculate_... |
es58x_fd_sizeof_rx_tx_msg(9) | NAME es58x_fd_sizeof_rx_tx_msg - Calculate the actual length of the structure of a rx or tx message.
SYNOPSIS es58x_fd_sizeof_rx_tx_msg (msg );
ARGUMENTS msg message of variable length, must have a dlc and a len fields.
DESCRIPTION Even if RTR frames have actually no payload, the ES58X devices still expect i... |
es58x_flush_pending_tx_msg(9) | NAME es58x_flush_pending_tx_msg - Reset the buffer for transmission messages.
SYNOPSIS void es58x_flush_pending_tx_msg (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
DESCRIPTION es58x_start_xmit will queue up to tx_bulk_max messages in tx_urb buffer and do a bulk send of all messages in on... |
es58x_free_netdevs(9) | NAME es58x_free_netdevs - Release all network resources of the device.
SYNOPSIS void es58x_free_netdevs (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.c es58x_calculate_crc(9), es58x_get_crc(9), es58x_set_crc(9), es58x_che... |
es58x_free_urbs(9) | NAME es58x_free_urbs - Free all the TX and RX URBs.
SYNOPSIS void es58x_free_urbs (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.c es58x_calculate_crc(9), es58x_get_crc(9), es58x_set_crc(9), es58x_check_crc(9), es58x_time... |
es58x_get_crc(9) | NAME es58x_get_crc - Get the CRC value of a given URB.
SYNOPSIS u16 es58x_get_crc (const union es58x_urb_cmd *urb_cmd , u16 urb_len );
ARGUMENTS urb_cmd The URB command for which we want to get the CRC.
urb_len Length of urb_cmd. Must be at least bigger than 4 (ES58X_CRC_CALC_OFFSET + sizeof(crc))
RE... |
es58x_get_flags(9) | NAME es58x_get_flags - Get the CAN flags.
SYNOPSIS enum es58x_flag es58x_get_flags (const struct sk_buff *skb );
ARGUMENTS skb socket buffer of a CAN message.
RETURN the CAN flag as an enum es58x_flag.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.h enum es58x_driver_info(9), enum es58x_p... |
es58x_get_netdev(9) | NAME es58x_get_netdev - Get the network device.
SYNOPSIS int es58x_get_netdev (struct es58x_device *es58x_dev , int channel_no , int channel_idx_offset , struct net_device **netdev );
ARGUMENTS es58x_dev ES58X device.
channel_no The channel number as advertised in the urb command.
channel_idx_offse... |
es58x_get_raw_can_id(9) | NAME es58x_get_raw_can_id - Get the CAN ID.
SYNOPSIS int es58x_get_raw_can_id (const struct can_frame *cf );
ARGUMENTS cf CAN frame.
DESCRIPTION Mask the CAN ID in order to only keep the significant bits.
RETURN the raw value of the CAN ID.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.... |
es58x_get_tx_urb(9) | NAME es58x_get_tx_urb - Get an URB for transmission.
SYNOPSIS struct urb * es58x_get_tx_urb (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
DESCRIPTION Gets an URB from the idle urbs anchor or allocate a new one if the anchor is empty. If there are more than ES58X_TX_URBS_MAX in the idle anc... |
es58x_get_urb_cmd_len(9) | NAME es58x_get_urb_cmd_len - Calculate the actual length of an urb command for a given message length.
SYNOPSIS size_t es58x_get_urb_cmd_len (struct es58x_device *es58x_dev , u16 msg_len );
ARGUMENTS es58x_dev ES58X device.
msg_len Length of the message.
DESCRIPTION Add the header and CRC lengths to th... |
es58x_handle_incomplete_cmd(9) | NAME es58x_handle_incomplete_cmd - Reconstitute an URB command from different URB pieces.
SYNOPSIS signed int es58x_handle_incomplete_cmd (struct es58x_device *es58x_dev , struct urb *urb );
ARGUMENTS es58x_dev ES58X device.
urb last urb buffer received.
DESCRIPTION The device might split the URB... |
es58x_handle_urb_cmd(9) | NAME es58x_handle_urb_cmd - Handle the URB command
SYNOPSIS void es58x_handle_urb_cmd (struct es58x_device *es58x_dev , const union es58x_urb_cmd *urb_cmd );
ARGUMENTS es58x_dev ES58X device.
urb_cmd The URB command received from the ES58X device, might not be aligned.
DESCRIPTION Sends the URB command... |
es58x_hw_revision_is_valid(9) | NAME es58x_hw_revision_is_valid - Check if the revision is a valid number.
SYNOPSIS bool es58x_hw_revision_is_valid (struct es58x_hw_revision *hw_rev );
ARGUMENTS hw_rev Revision number of the hardware.
DESCRIPTION If es58x_hw_revision.letter is not a alphanumeric character or if any of the hardware revision su... |
es58x_increment_rx_errors(9) | NAME es58x_increment_rx_errors - Increment the network devices' error count.
SYNOPSIS void es58x_increment_rx_errors (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
DESCRIPTION If an error occurs on the early stages on receiving an URB command, we might not be able to figure out on which netw... |
es58x_init_es58x_dev(9) | NAME es58x_init_es58x_dev - Initialize the ES58X device.
SYNOPSIS struct es58x_device * es58x_init_es58x_dev (struct usb_interface *intf , kernel_ulong_t driver_info );
ARGUMENTS intf USB interface.
driver_info Quirks of the device.
RETURN pointer to an ES58X device on success, error pointer when any ... |
es58x_init_netdev(9) | NAME es58x_init_netdev - Initialize the network device.
SYNOPSIS int es58x_init_netdev (struct es58x_device *es58x_dev , int channel_idx );
ARGUMENTS es58x_dev ES58X device.
channel_idx Index of the network device.
RETURN zero on success, errno when any error occurs.
SEE ALSO Kernel file ./drivers/net/c... |
es58x_init_priv(9) | NAME es58x_init_priv - Initialize private parameters.
SYNOPSIS int es58x_init_priv (struct es58x_device *es58x_dev , struct es58x_priv *priv , int channel_idx );
ARGUMENTS es58x_dev ES58X device.
priv ES58X private parameters related to the network device.
channel_idx Index of the network dev... |
es58x_is_can_state_active(9) | NAME es58x_is_can_state_active - Is the network device in an active CAN state?
SYNOPSIS bool es58x_is_can_state_active (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
DESCRIPTION The device is considered active if it is able to send or receive CAN frames, that is to say if it is in any of C... |
es58x_is_echo_skb_threshold_reached(9) | NAME es58x_is_echo_skb_threshold_reached - Determine the limit of how many skb slots can be taken before we should stop the network queue.
SYNOPSIS bool es58x_is_echo_skb_threshold_reached (struct es58x_priv *priv );
ARGUMENTS priv ES58X private parameters related to the network device.
DESCRIPTION We need to... |
es58x_msg_num_element(9) | NAME es58x_msg_num_element - Check size and give the number of elements in a message of array type.
SYNOPSIS es58x_msg_num_element (dev , msg , actual_len );
ARGUMENTS dev Device, used to print error messages.
msg Received message, must be an array.
actual_len Length of the message as... |
es58x_open(9) | NAME es58x_open - Enable the network device.
SYNOPSIS int es58x_open (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
DESCRIPTION Called when the network transitions to the up state. Allocate the URB resources if needed and open the channel.
RETURN zero on success, errno when any error occurs... |
es58x_parse_hw_rev(9) | NAME es58x_parse_hw_rev - Extract hardware revision number.
SYNOPSIS int es58x_parse_hw_rev (struct es58x_device *es58x_dev , const char *prod_info );
ARGUMENTS es58x_dev ES58X device.
prod_info USB custom string returned by the device.
DESCRIPTION prod_info contains the hardware revision prefixed by a m... |
es58x_parse_product_info(9) | NAME es58x_parse_product_info - Parse the ES58x product information string.
SYNOPSIS void es58x_parse_product_info (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
DESCRIPTION Retrieve the product information string and parse it to extract the firmware version, the bootloader version and the ... |
es58x_parse_sw_version(9) | NAME es58x_parse_sw_version - Extract boot loader or firmware version.
SYNOPSIS int es58x_parse_sw_version (struct es58x_device *es58x_dev , const char *prod_info , const char *prefix );
ARGUMENTS es58x_dev ES58X device.
prod_info USB custom string returned by the device.
prefix Select which ... |
es58x_priv(9) | NAME es58x_priv - Get the priv member and cast it to struct es58x_priv.
SYNOPSIS struct es58x_priv * es58x_priv (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
RETURN ES58X device.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.h enum es58x_driver_info(9), enum es58x_physic... |
es58x_probe(9) | NAME es58x_probe - Initialize the USB device.
SYNOPSIS int es58x_probe (struct usb_interface *intf , const struct usb_device_id *id );
ARGUMENTS intf USB interface.
id USB device ID.
RETURN zero on success, -ENODEV if the interface is not supported or errno when any other error occurs.
SEE A... |
es58x_read_bulk_callback(9) | NAME es58x_read_bulk_callback - Callback for reading data from device.
SYNOPSIS void es58x_read_bulk_callback (struct urb *urb );
ARGUMENTS urb last urb buffer received.
DESCRIPTION This function gets eventually called each time an URB is received from the ES58X device. Checks urb status, calls read functio... |
es58x_rx_can_msg(9) | NAME es58x_rx_can_msg - Handle a received a CAN message.
SYNOPSIS int es58x_rx_can_msg (struct net_device *netdev , u64 timestamp , const u8 *data , canid_t can_id , enum es58x_flag es58x_flags , u8 dlc );
ARGUMENTS netdev CAN network device.
timestamp Hardware time stamp (only relevant in rx branches)... |
es58x_rx_cmd_ret_u32(9) | NAME es58x_rx_cmd_ret_u32 - Handle the command return code received from the ES58X device.
SYNOPSIS int es58x_rx_cmd_ret_u32 (struct net_device *netdev , enum es58x_ret_type cmd_ret_type , enum es58x_ret_u32 rx_cmd_ret_u32 );
ARGUMENTS netdev CAN network device.
cmd_ret_type
Type of th... |
es58x_rx_cmd_ret_u8(9) | NAME es58x_rx_cmd_ret_u8 - Handle the command's return code received from the ES58X device.
SYNOPSIS int es58x_rx_cmd_ret_u8 (struct device *dev , enum es58x_ret_type cmd_ret_type , enum es58x_ret_u8 rx_cmd_ret_u8 );
ARGUMENTS dev Device, only used for the dev_XXX print functions.
cmd_ret_type
... |
es58x_rx_err_msg(9) | NAME es58x_rx_err_msg - Handle a received CAN event or error message.
SYNOPSIS int es58x_rx_err_msg (struct net_device *netdev , enum es58x_err error , enum es58x_event event , u64 timestamp );
ARGUMENTS netdev CAN network device.
error Error code.
event Event code.
timestamp ... |
es58x_rx_timestamp(9) | NAME es58x_rx_timestamp - Handle a received timestamp.
SYNOPSIS void es58x_rx_timestamp (struct es58x_device *es58x_dev , u64 timestamp );
ARGUMENTS es58x_dev ES58X device.
timestamp Timestamp received from a ES58X device.
DESCRIPTION Calculate the difference between the ES58X device and the kernel i... |
es58x_send_msg(9) | NAME es58x_send_msg - Prepare an URB and submit it.
SYNOPSIS int es58x_send_msg (struct es58x_device *es58x_dev , u8 cmd_type , u8 cmd_id , const void *msg , u16 msg_len , int channel_idx );
ARGUMENTS es58x_dev ES58X device.
cmd_type Command type.
cmd_id Command ID.
msg ES58X... |
es58x_set_crc(9) | NAME es58x_set_crc - Set the CRC value of a given URB.
SYNOPSIS void es58x_set_crc (union es58x_urb_cmd *urb_cmd , u16 urb_len );
ARGUMENTS urb_cmd The URB command for which we want to get the CRC.
urb_len Length of urb_cmd. Must be at least bigger than 4 (ES58X_CRC_CALC_OFFSET + sizeof(crc))
SEE ALS... |
es58x_set_mode(9) | NAME es58x_set_mode - Change network device mode.
SYNOPSIS int es58x_set_mode (struct net_device *netdev , enum can_mode mode );
ARGUMENTS netdev CAN network device.
mode either CAN_MODE_START, CAN_MODE_STOP or CAN_MODE_SLEEP
DESCRIPTION Currently, this function is only used to stop and restart t... |
es58x_set_realtime_diff_ns(9) | NAME es58x_set_realtime_diff_ns - Calculate difference between the clocks of the ES58X device and the kernel
SYNOPSIS int es58x_set_realtime_diff_ns (struct es58x_device *es58x_dev );
ARGUMENTS es58x_dev ES58X device.
DESCRIPTION Request a timestamp from the ES58X device. Once the answer is received, the timestamp... |
es58x_set_skb_timestamp(9) | NAME es58x_set_skb_timestamp - Set the hardware timestamp of an skb.
SYNOPSIS void es58x_set_skb_timestamp (struct net_device *netdev , struct sk_buff *skb , u64 timestamp );
ARGUMENTS netdev CAN network device.
skb socket buffer of a CAN message.
timestamp Timestamp received from an ES... |
es58x_sizeof_es58x_device(9) | NAME es58x_sizeof_es58x_device - Calculate the maximum length of struct es58x_device.
SYNOPSIS size_t es58x_sizeof_es58x_device (const struct es58x_parameters *es58x_dev_param );
ARGUMENTS es58x_dev_param The constant parameters of the device.
DESCRIPTION The length of struct es58x_device depends on the length of it... |
es58x_split_urb(9) | NAME es58x_split_urb - Cut the received URB in individual URB commands.
SYNOPSIS signed int es58x_split_urb (struct es58x_device *es58x_dev , struct urb *urb );
ARGUMENTS es58x_dev ES58X device.
urb last urb buffer received.
DESCRIPTION The device might send urb in bulk format (i.e. several URB co... |
es58x_split_urb_try_recovery(9) | NAME es58x_split_urb_try_recovery - Try to recover bad URB sequences.
SYNOPSIS int es58x_split_urb_try_recovery (struct es58x_device *es58x_dev , u8 *raw_cmd , size_t raw_cmd_len );
ARGUMENTS es58x_dev ES58X device.
raw_cmd pointer to the buffer we want to copy.
raw_cmd_len length of raw_cmd.
D... |
es58x_start_xmit(9) | NAME es58x_start_xmit - Transmit an skb.
SYNOPSIS netdev_tx_t es58x_start_xmit (struct sk_buff *skb , struct net_device *netdev );
ARGUMENTS skb socket buffer of a CAN message.
netdev CAN network device.
DESCRIPTION Called when a packet needs to be transmitted. This function relies on Byte Q... |
es58x_stop(9) | NAME es58x_stop - Disable the network device.
SYNOPSIS int es58x_stop (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
DESCRIPTION Called when the network transitions to the down state. If all the channels of the device are closed, free the URB resources which are not needed anymore.
RETURN z... |
es58x_submit_urb(9) | NAME es58x_submit_urb - Send data to the device.
SYNOPSIS int es58x_submit_urb (struct es58x_device *es58x_dev , struct urb *urb , struct net_device *netdev );
ARGUMENTS es58x_dev ES58X device.
urb URB to be sent.
netdev CAN network device.
RETURN zero on success, errno when any error ... |
es58x_sw_version_is_valid(9) | NAME es58x_sw_version_is_valid - Check if the version is a valid number.
SYNOPSIS bool es58x_sw_version_is_valid (struct es58x_sw_version *sw_ver );
ARGUMENTS sw_ver Version number of either the firmware or the bootloader.
DESCRIPTION If any of the software version sub-numbers do not fit on two digits, the vers... |
es58x_timestamp_to_ns(9) | NAME es58x_timestamp_to_ns - Convert a timestamp value received from a ES58X device to nanoseconds.
SYNOPSIS u64 es58x_timestamp_to_ns (u64 timestamp );
ARGUMENTS timestamp Timestamp received from a ES58X device.
DESCRIPTION The timestamp received from ES58X is expressed in multiples of 0.5 micro seconds. This fun... |
es58x_tx_ack_msg(9) | NAME es58x_tx_ack_msg - Handle acknowledgment messages.
SYNOPSIS int es58x_tx_ack_msg (struct net_device *netdev , u16 tx_free_entries , enum es58x_ret_u32 rx_cmd_ret_u32 );
ARGUMENTS netdev CAN network device.
tx_free_entries
Number of free entries in the device transmit FIFO.
... |
es58x_write_bulk_callback(9) | NAME es58x_write_bulk_callback - Callback after writing data to the device.
SYNOPSIS void es58x_write_bulk_callback (struct urb *urb );
ARGUMENTS urb urb buffer which was previously submitted.
DESCRIPTION This function gets eventually called each time an URB was sent to the ES58X device. Puts the urb back t... |
es58x_xmit_commit(9) | NAME es58x_xmit_commit - Send the bulk urb.
SYNOPSIS int es58x_xmit_commit (struct net_device *netdev );
ARGUMENTS netdev CAN network device.
DESCRIPTION Do the bulk send. This function should be called only once by bulk transmission.
RETURN zero on success, errno when any error occurs.
SEE ALSO Kernel file ... |
es58x_xmit_more(9) | NAME es58x_xmit_more - Can we put more packets?
SYNOPSIS bool es58x_xmit_more (struct es58x_priv *priv );
ARGUMENTS priv ES58X private parameters related to the network device.
RETURN true if we can put more, false if it is time to send.
SEE ALSO Kernel file ./drivers/net/can/usb/etas_es58x/es58x_core.c e... |
esdhc_readl_fixup(9) | NAME esdhc_readl_fixup - Fixup the value read from incompatible eSDHC register to make it compatible with SD spec.
SYNOPSIS u32 esdhc_readl_fixup (struct sdhci_host *host , int spec_reg , u32 value );
ARGUMENTS host pointer to sdhci_host
spec_reg SD spec register address
value 32bit eS... |
esdhc_writel_fixup(9) | NAME esdhc_writel_fixup - Fixup the SD spec register value so that it could be written into eSDHC register.
SYNOPSIS u32 esdhc_writel_fixup (struct sdhci_host *host , int spec_reg , u32 value , u32 old_value );
ARGUMENTS host pointer to sdhci_host
spec_reg SD spec register address
value ... |
esparser_queue_all_src(9) | NAME esparser_queue_all_src - work handler that writes as many src buffers as possible to the ESPARSER
SYNOPSIS void esparser_queue_all_src (struct work_struct *work );
ARGUMENTS work work struct
SEE ALSO Kernel file ./drivers/staging/media/meson/vdec/esparser.h esparser_queue_eos(9)
April 2026 ... |
esparser_queue_eos(9) | NAME esparser_queue_eos - write End Of Stream sequence to the ESPARSER
SYNOPSIS int esparser_queue_eos (struct amvdec_core *core , const u8 *data , u32 len );
ARGUMENTS core vdec core struct
data EOS sequence
len length of EOS sequence
SEE ALSO Kernel file ./drivers/staging/medi... |
estimate_pid_constants(9) | NAME estimate_pid_constants - Estimate the constants for the PID controller
SYNOPSIS void estimate_pid_constants (struct thermal_zone_device *tz , u32 sustainable_power , const struct thermal_trip *trip_switch_on , int control_temp );
ARGUMENTS tz thermal zone for which to estimate the constants
sust... |
estimate_sustainable_power(9) | NAME estimate_sustainable_power - Estimate the sustainable power of a thermal zone
SYNOPSIS u32 estimate_sustainable_power (struct thermal_zone_device *tz );
ARGUMENTS tz thermal zone we are operating in
DESCRIPTION For thermal zones that don't provide a sustainable_power in their thermal_zone_params, est... |
etex(1) | NAME etex - extended (plain) TeX
SYNOPSIS etex [options] [&format] [file|\commands]
DESCRIPTION Run the e-TeX typesetter on file, by default creating file.dvi. If the file argument has no extension, ".tex" will be appended to it. Instead of a filename, a set of e-TeX commands can be given, the first of which must ... |
etext(3) | NAME etext, edata, end - end of program segments
SYNOPSIS extern etext; extern edata; extern end;
DESCRIPTION The addresses of these symbols indicate the end of various program segments:
etext This is the first address past the end of the text segment (the program code).
edata This is the first addr... |
eth_addr_add(9) | NAME eth_addr_add - Add (or subtract) an offset to/from the given MAC address.
SYNOPSIS void eth_addr_add (u8 *addr , long offset );
ARGUMENTS addr Pointer to a six-byte array containing Ethernet address to increment.
offset Offset to add.
SEE ALSO Kernel file ./include/linux/etherdevice.h ... |
eth_addr_dec(9) | NAME eth_addr_dec - Decrement the given MAC address
SYNOPSIS void eth_addr_dec (u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing Ethernet address to decrement
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_local_ether_addr(9), is_zero_ether_addr(9), is_multicast_eth... |
eth_addr_inc(9) | NAME eth_addr_inc - Increment the given MAC address.
SYNOPSIS void eth_addr_inc (u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing Ethernet address to increment.
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_local_ether_addr(9), is_zero_ether_addr(9), is_multicast_e... |
eth_broadcast_addr(9) | NAME eth_broadcast_addr - Assign broadcast address
SYNOPSIS void eth_broadcast_addr (u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing the Ethernet address
DESCRIPTION Assign the broadcast address to the given address array.
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_... |
eth_commit_mac_addr_change(9) | NAME eth_commit_mac_addr_change - commit mac change
SYNOPSIS void eth_commit_mac_addr_change (struct net_device *dev , void *p );
ARGUMENTS dev network device
p socket address
SEE ALSO Kernel file ./net/ethernet/eth.c eth_header(9), eth_get_headlen(9), eth_type_trans(9), eth_header_ca... |
eth_get_headlen(9) | NAME eth_get_headlen - determine the length of header for an ethernet frame
SYNOPSIS u32 eth_get_headlen (const struct net_device *dev , const void *data , u32 len );
ARGUMENTS dev pointer to network device
data pointer to start of frame
len total length of frame
DESCRIPTION Ma... |
eth_header(9) | NAME eth_header - create the Ethernet header
SYNOPSIS int eth_header (struct sk_buff *skb , struct net_device *dev , unsigned short type , const void *daddr , const void *saddr , unsigned int len );
ARGUMENTS skb buffer to alter
dev source device
type Ethernet type field
... |
eth_header_cache(9) | NAME eth_header_cache - fill cache entry from neighbour
SYNOPSIS int eth_header_cache (const struct neighbour *neigh , struct hh_cache *hh , __be16 type );
ARGUMENTS neigh source neighbour
hh destination cache entry
type Ethernet type field
DESCRIPTION Create an Ethernet header ... |
eth_header_cache_update(9) | NAME eth_header_cache_update - update cache entry
SYNOPSIS void eth_header_cache_update (struct hh_cache *hh , const struct net_device *dev , const unsigned char *haddr );
ARGUMENTS hh destination cache entry
dev network device
haddr new hardware address
DESCRIPTION Called by A... |
eth_header_parse_protocol(9) | NAME eth_header_parse_protocol - extract protocol from L2 header
SYNOPSIS __be16 eth_header_parse_protocol (const struct sk_buff *skb );
ARGUMENTS skb packet to extract protocol from
SEE ALSO Kernel file ./net/ethernet/eth.c eth_header(9), eth_get_headlen(9), eth_type_trans(9), eth_header_cache(9), eth... |
eth_hw_addr_crc(9) | NAME eth_hw_addr_crc - Calculate CRC from netdev_hw_addr
SYNOPSIS u32 eth_hw_addr_crc (struct netdev_hw_addr *ha );
ARGUMENTS ha pointer to hardware address
DESCRIPTION Calculate CRC from a hardware address as basis for filter hashes.
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_loca... |
eth_hw_addr_gen(9) | NAME eth_hw_addr_gen - Generate and assign Ethernet address to a port
SYNOPSIS void eth_hw_addr_gen (struct net_device *dev , const u8 *base_addr , unsigned int id );
ARGUMENTS dev pointer to port's net_device structure
base_addr base Ethernet address
id offset to add to the base ad... |
eth_hw_addr_inherit(9) | NAME eth_hw_addr_inherit - Copy dev_addr from another net_device
SYNOPSIS void eth_hw_addr_inherit (struct net_device *dst , struct net_device *src );
ARGUMENTS dst pointer to net_device to copy dev_addr to
src pointer to net_device to copy dev_addr from
DESCRIPTION Copy the Ethernet address ... |
eth_hw_addr_random(9) | NAME eth_hw_addr_random - Generate software assigned random Ethernet and set device flag
SYNOPSIS void eth_hw_addr_random (struct net_device *dev );
ARGUMENTS dev pointer to net_device structure
DESCRIPTION Generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the st... |
eth_hw_addr_set(9) | NAME eth_hw_addr_set - Assign Ethernet address to a net_device
SYNOPSIS void eth_hw_addr_set (struct net_device *dev , const u8 *addr );
ARGUMENTS dev pointer to net_device structure
addr address to assign
DESCRIPTION Assign given address to the net_device, addr_assign_type is not changed.
SE... |
eth_mac_addr(9) | NAME eth_mac_addr - set new Ethernet hardware address
SYNOPSIS int eth_mac_addr (struct net_device *dev , void *p );
ARGUMENTS dev network device
p socket address
DESCRIPTION Change hardware address of device. This doesn't change hardware matching, so needs to be overridden for most real d... |
eth_prepare_mac_addr_change(9) | NAME eth_prepare_mac_addr_change - prepare for mac change
SYNOPSIS int eth_prepare_mac_addr_change (struct net_device *dev , void *p );
ARGUMENTS dev network device
p socket address
SEE ALSO Kernel file ./net/ethernet/eth.c eth_header(9), eth_get_headlen(9), eth_type_trans(9), eth_hea... |
eth_proto_is_802_3(9) | NAME eth_proto_is_802_3 - Determine if a given Ethertype/length is a protocol
SYNOPSIS bool eth_proto_is_802_3 (__be16 proto );
ARGUMENTS proto Ethertype/length value to be tested
DESCRIPTION Check that the value from the Ethertype/length field is a valid Ethertype.
RETURN true if the valid is an 802.3 suppor... |
eth_random_addr(9) | NAME eth_random_addr - Generate software assigned random Ethernet address
SYNOPSIS void eth_random_addr (u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing the Ethernet address
DESCRIPTION Generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.
SEE AL... |
eth_skb_pad(9) | NAME eth_skb_pad - Pad buffer to minimum number of octets for Ethernet frame
SYNOPSIS int eth_skb_pad (struct sk_buff *skb );
ARGUMENTS skb Buffer to pad
DESCRIPTION An Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.
... |
eth_skb_pkt_type(9) | NAME eth_skb_pkt_type - Assign packet type if destination address does not match
SYNOPSIS void eth_skb_pkt_type (struct sk_buff *skb , const struct net_device *dev );
ARGUMENTS skb Assigned a packet type if address does not match dev address
dev Network device used to compare packet address ag... |
eth_type_trans(9) | NAME eth_type_trans - determine the packet's protocol ID.
SYNOPSIS __be16 eth_type_trans (struct sk_buff *skb , struct net_device *dev );
ARGUMENTS skb received socket data
dev receiving network device
DESCRIPTION The rule here is that we assume 802.3 if the type field is short enough to be a... |
eth_type_vlan(9) | NAME eth_type_vlan - check for valid vlan ether type.
SYNOPSIS bool eth_type_vlan (__be16 ethertype );
ARGUMENTS ethertype ether type to check
RETURN true if the ether type is a vlan ether type.
SEE ALSO Kernel file ./include/linux/if_vlan.h struct vlan_ethhdr(9), struct vlan_pcpu_stats(9), struct vlan_prio... |
eth_zero_addr(9) | NAME eth_zero_addr - Assign zero address
SYNOPSIS void eth_zero_addr (u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing the Ethernet address
DESCRIPTION Assign the zero address to the given address array.
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_local_ether_addr(9), ... |
ethdev_setup(9) | NAME ethdev_setup - init rest of 8390 device struct
SYNOPSIS void ethdev_setup (struct net_device *dev );
ARGUMENTS dev network device structure to init
DESCRIPTION Initialize the rest of the 8390 device structure. Do NOT __init this, as it is used by 8390 based modular drivers too.
SEE ALSO Kernel file ./... |
ether_addr_copy(9) | NAME ether_addr_copy - Copy an Ethernet address
SYNOPSIS void ether_addr_copy (u8 *dst , const u8 *src );
ARGUMENTS dst Pointer to a six-byte array Ethernet address destination
src Pointer to a six-byte array Ethernet address source
DESCRIPTION Please note: dst & src must both be aligned to u... |
ether_addr_equal(9) | NAME ether_addr_equal - Compare two Ethernet addresses
SYNOPSIS bool ether_addr_equal (const u8 *addr1 , const u8 *addr2 );
ARGUMENTS addr1 Pointer to a six-byte array containing the Ethernet address
addr2 Pointer other six-byte array containing the Ethernet address
DESCRIPTION Compare two Ethern... |
ether_addr_equal_64bits(9) | NAME ether_addr_equal_64bits - Compare two Ethernet addresses
SYNOPSIS bool ether_addr_equal_64bits (const u8 *addr1 , const u8 *addr2 );
ARGUMENTS addr1 Pointer to an array of 8 bytes
addr2 Pointer to an other array of 8 bytes
DESCRIPTION Compare two Ethernet addresses, returns true if equal, f... |
ether_addr_equal_masked(9) | NAME ether_addr_equal_masked - Compare two Ethernet addresses with a mask
SYNOPSIS bool ether_addr_equal_masked (const u8 *addr1 , const u8 *addr2 , const u8 *mask );
ARGUMENTS addr1 Pointer to a six-byte array containing the 1st Ethernet address
addr2 Pointer to a six-byte array containing the 2n... |
ether_addr_equal_unaligned(9) | NAME ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses
SYNOPSIS bool ether_addr_equal_unaligned (const u8 *addr1 , const u8 *addr2 );
ARGUMENTS addr1 Pointer to a six-byte array containing the Ethernet address
addr2 Pointer other six-byte array containing the Ethernet add... |
ether_addr_to_u64(9) | NAME ether_addr_to_u64 - Convert an Ethernet address into a u64 value.
SYNOPSIS u64 ether_addr_to_u64 (const u8 *addr );
ARGUMENTS addr Pointer to a six-byte array containing the Ethernet address
RETURN a u64 value of the address
SEE ALSO Kernel file ./include/linux/etherdevice.h is_link_local_ether... |
ether_aton(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_aton_r(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_hostton(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_line(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_ntoa(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_ntoa_r(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_ntohost(3) | NAME ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line, ether_ntoa_r, ether_aton_r - Ethernet address manipulation routines
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <netinet/ether.h>
char *ether_ntoa(const struct ether_addr *addr);
struct ether_addr *ether_aton(const char... |
ether_setup(9) | NAME ether_setup - setup Ethernet network device
SYNOPSIS void ether_setup (struct net_device *dev );
ARGUMENTS dev network device
DESCRIPTION Fill in the fields of the device structure with Ethernet-generic values.
SEE ALSO Kernel file ./net/ethernet/eth.c eth_header(9), eth_get_headlen(9), eth_t... |
ethnl_bitmap32_clear(9) | NAME ethnl_bitmap32_clear - Clear u32 based bitmap
SYNOPSIS void ethnl_bitmap32_clear (u32 *dst , unsigned int start , unsigned int end , bool *mod );
ARGUMENTS dst bitmap to clear
start beginning of the interval
end end of the interval
mod set if bitmap was modif... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.