id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ov9282_set_stream(9) | NAME ov9282_set_stream - Enable sensor streaming
SYNOPSIS int ov9282_set_stream (struct v4l2_subdev *sd , int enable );
ARGUMENTS sd pointer to ov9282 subdevice
enable set to enable sensor streaming
RETURN 0 if successful, error code otherwise.
SEE ALSO Kernel file ./drivers/media/i2c/ov9282... |
ov9282_start_streaming(9) | NAME ov9282_start_streaming - Start sensor stream
SYNOPSIS int ov9282_start_streaming (struct ov9282 *ov9282 );
ARGUMENTS ov9282 pointer to ov9282 device
RETURN 0 if successful, error code otherwise.
SEE ALSO Kernel file ./drivers/media/i2c/ov9282.c struct ov9282_reg(9), struct ov9282_reg_list(9), struct ov... |
ov9282_stop_streaming(9) | NAME ov9282_stop_streaming - Stop sensor stream
SYNOPSIS int ov9282_stop_streaming (struct ov9282 *ov9282 );
ARGUMENTS ov9282 pointer to ov9282 device
RETURN 0 if successful, error code otherwise.
SEE ALSO Kernel file ./drivers/media/i2c/ov9282.c struct ov9282_reg(9), struct ov9282_reg_list(9), struct ov928... |
ov9282_update_controls(9) | NAME ov9282_update_controls - Update control ranges based on streaming mode
SYNOPSIS int ov9282_update_controls (struct ov9282 *ov9282 , const struct ov9282_mode *mode , const struct v4l2_subdev_format *fmt );
ARGUMENTS ov9282 pointer to ov9282 device
mode pointer to ov9282_mode sensor mode
... |
ov9282_update_exp_gain(9) | NAME ov9282_update_exp_gain - Set updated exposure and gain
SYNOPSIS int ov9282_update_exp_gain (struct ov9282 *ov9282 , u32 exposure , u32 gain );
ARGUMENTS ov9282 pointer to ov9282 device
exposure updated exposure value
gain updated analog gain value
RETURN 0 if successful, error cod... |
ov9282_write_reg(9) | NAME ov9282_write_reg - Write register
SYNOPSIS int ov9282_write_reg (struct ov9282 *ov9282 , u16 reg , u32 len , u32 val );
ARGUMENTS ov9282 pointer to ov9282 device
reg register address
len length of bytes. Max supported bytes is 4
val register value
RETURN 0 if... |
ov9282_write_regs(9) | NAME ov9282_write_regs - Write a list of registers
SYNOPSIS int ov9282_write_regs (struct ov9282 *ov9282 , const struct ov9282_reg *regs , u32 len );
ARGUMENTS ov9282 pointer to ov9282 device
regs list of registers to be written
len length of registers array
RETURN 0 if successful... |
overflows_flex_counter_type(9) | NAME overflows_flex_counter_type - Check if the counter associated with the given flexible array member can represent a value.
SYNOPSIS overflows_flex_counter_type (TYPE , FAM , COUNT );
ARGUMENTS TYPE Type of the struct that contains the FAM.
FAM Member name of the FAM within TYPE.
COU... |
overflows_type(9) | NAME overflows_type - helper for checking the overflows between value, variables, or data type
SYNOPSIS overflows_type (n , T );
ARGUMENTS n source constant value or variable to be checked
T destination variable or data type proposed to store x
DESCRIPTION Compares the x expression for wh... |
overlay.3x(3) | NAME overlay, overwrite, copywin - overlay curses windows and manipulate them
SYNOPSIS #include <ncursesw/curses.h>
int overlay(const WINDOW *srcwin, WINDOW *dstwin);
int overwrite(const WINDOW *srcwin, WINDOW *dstwin);
int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
i... |
overlay_adjust_local_conflicting_phandle(9) | NAME overlay_adjust_local_conflicting_phandle - Changes a phandle value
SYNOPSIS int overlay_adjust_local_conflicting_phandle (void *fdto , int node , uint32_t fdt_phandle );
ARGUMENTS fdto Device tree overlay
node The node the phandle is set for
fdt_phandle The new value for the phandle... |
overlay_adjust_local_phandles(9) | NAME overlay_adjust_local_phandles - Adjust the phandles of a whole overlay
SYNOPSIS int overlay_adjust_local_phandles (void *fdto , uint32_t delta );
ARGUMENTS fdto Device tree overlay blob
delta Offset to shift the phandles of
DESCRIPTION overlay_adjust_local_phandles adds a constant to a... |
overlay_adjust_node_phandles(9) | NAME overlay_adjust_node_phandles - Offsets the phandles of a node
SYNOPSIS int overlay_adjust_node_phandles (void *fdto , int node , uint32_t delta );
ARGUMENTS fdto Device tree overlay blob
node Offset of the node we want to adjust
delta Offset to shift the phandles of
DESCRIPTI... |
overlay_apply_node(9) | NAME overlay_apply_node - Merges a node into the base device tree
SYNOPSIS int overlay_apply_node (void *fdt , int target , void *fdto , int node );
ARGUMENTS fdt Base Device Tree blob
target Node offset in the base device tree to apply the fragment to
fdto Device tree overlay blob... |
overlay_fixup_one_phandle(9) | NAME overlay_fixup_one_phandle - Set an overlay phandle to the base one
SYNOPSIS int overlay_fixup_one_phandle (void *fdto , int symbols_off , const char *path , uint32_t path_len , const char *name , uint32_t name_len , int poffset , uint32_t phandle );
ARGUMENTS fdto Device tree overlay blob
symbols_... |
overlay_fixup_phandle(9) | NAME overlay_fixup_phandle - Set an overlay phandle to the base one
SYNOPSIS int overlay_fixup_phandle (void *fdt , void *fdto , int symbols_off , int property );
ARGUMENTS fdt Base Device Tree blob
fdto Device tree overlay blob
symbols_off Node offset of the symbols node in the base de... |
overlay_fixup_phandles(9) | NAME overlay_fixup_phandles - Resolve the overlay phandles to the base device tree
SYNOPSIS int overlay_fixup_phandles (void *fdt , void *fdto );
ARGUMENTS fdt Base Device Tree blob
fdto Device tree overlay blob
DESCRIPTION overlay_fixup_phandles resolves all the overlay phandles pointing to... |
overlay_get_target_phandle(9) | NAME overlay_get_target_phandle - retrieves the target phandle of a fragment
SYNOPSIS uint32_t overlay_get_target_phandle (const void *fdto , int fragment );
ARGUMENTS fdto pointer to the device tree overlay blob
fragment node offset of the fragment in the overlay
DESCRIPTION overlay_get_target_pha... |
overlay_merge(9) | NAME overlay_merge - Merge an overlay into its base device tree
SYNOPSIS int overlay_merge (void *fdt , void *fdto );
ARGUMENTS fdt Base Device Tree blob
fdto Device tree overlay blob
DESCRIPTION overlay_merge merges an overlay into its base device tree. This is the next to last step in th... |
overlay_phandle_add_offset(9) | NAME overlay_phandle_add_offset - Increases a phandle by an offset
SYNOPSIS int overlay_phandle_add_offset (void *fdt , int node , const char *name , uint32_t delta );
ARGUMENTS fdt Base device tree blob
node Device tree overlay blob
name Name of the property to modify (phandle o... |
overlay_prevent_phandle_overwrite(9) | NAME overlay_prevent_phandle_overwrite - Fixes overlay phandles to not overwrite base phandles
SYNOPSIS int overlay_prevent_phandle_overwrite (void *fdt , void *fdto );
ARGUMENTS fdt Base Device Tree blob
fdto Device tree overlay blob
DESCRIPTION Checks recursively if applying fdto overwrites ... |
overlay_prevent_phandle_overwrite_node(9) | NAME overlay_prevent_phandle_overwrite_node - Helper function for overlay_prevent_phandle_overwrite
SYNOPSIS int overlay_prevent_phandle_overwrite_node (void *fdt , int fdtnode , void *fdto , int fdtonode );
ARGUMENTS fdt Base Device tree blob
fdtnode Node in fdt that is checked for an overwrite
... |
overlay_symbol_update(9) | NAME overlay_symbol_update - Update the symbols of base tree after a merge
SYNOPSIS int overlay_symbol_update (void *fdt , void *fdto );
ARGUMENTS fdt Base Device Tree blob
fdto Device tree overlay blob
DESCRIPTION overlay_symbol_update updates the symbols of the base tree with the symbols of... |
overlay_update_local_conflicting_references(9) | NAME overlay_update_local_conflicting_references - Recursively replace phandle values
SYNOPSIS int overlay_update_local_conflicting_references (void *fdto , uint32_t fdt_phandle , uint32_t fdto_phandle );
ARGUMENTS fdto Device tree overlay blob
fdt_phandle Value to replace phandles with
fdto_ph... |
overlay_update_local_node_references(9) | NAME overlay_update_local_node_references - Adjust the overlay references
SYNOPSIS int overlay_update_local_node_references (void *fdto , int tree_node , int fixup_node , uint32_t delta );
ARGUMENTS fdto Device tree overlay blob
tree_node Node offset of the node to operate on
fixup_node Node... |
overlay_update_local_references(9) | NAME overlay_update_local_references - Adjust the overlay references
SYNOPSIS int overlay_update_local_references (void *fdto , uint32_t delta );
ARGUMENTS fdto Device tree overlay blob
delta Offset to shift the phandles of
DESCRIPTION overlay_update_local_references update all the phandles poin... |
overlay_update_node_conflicting_references(9) | NAME overlay_update_node_conflicting_references - Recursively replace phandle values
SYNOPSIS int overlay_update_node_conflicting_references (void *fdto , int tree_node , int fixup_node , uint32_t fdt_phandle , uint32_t fdto_phandle );
ARGUMENTS fdto Device tree overlay blob
tree_node Node to recurse... |
overwrite.3x(3) | NAME overlay, overwrite, copywin - overlay curses windows and manipulate them
SYNOPSIS #include <ncursesw/curses.h>
int overlay(const WINDOW *srcwin, WINDOW *dstwin);
int overwrite(const WINDOW *srcwin, WINDOW *dstwin);
int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
i... |
ovl_show_options(9) | NAME ovl_show_options -
SYNOPSIS int ovl_show_options (struct seq_file *m , struct dentry *dentry );
ARGUMENTS m the seq_file handle
dentry The dentry to query
DESCRIPTION Prints the mount options for a given superblock. Returns zero; does not fail.
SEE ALSO Kernel file ./fs/overlayfs/params... |
ovl_statfs(9) | NAME ovl_statfs -
SYNOPSIS int ovl_statfs (struct dentry *dentry , struct kstatfs *buf );
ARGUMENTS dentry The dentry to query
buf The struct kstatfs to fill in with stats
DESCRIPTION Get the filesystem statistics. As writes always target the upper layer filesystem pass the statfs to the upper ... |
ovpn_bind_from_sockaddr(9) | NAME ovpn_bind_from_sockaddr - retrieve binding matching sockaddr
SYNOPSIS struct ovpn_bind * ovpn_bind_from_sockaddr (const struct sockaddr_storage *ss );
ARGUMENTS ss the sockaddr to match
RETURN the bind matching the passed sockaddr if found, NULL otherwise
SEE ALSO Kernel file ./drivers/net/ovpn/bind.c... |
ovpn_bind_reset(9) | NAME ovpn_bind_reset - assign new binding to peer
SYNOPSIS void ovpn_bind_reset (struct ovpn_peer *peer , struct ovpn_bind *new );
ARGUMENTS peer the peer whose binding has to be replaced
new the new bind to assign
SEE ALSO Kernel file ./drivers/net/ovpn/bind.c ovpn_bind_from_sockaddr(9)
Apri... |
ovpn_bind_skb_src_match(9) | NAME ovpn_bind_skb_src_match - match packet source with binding
SYNOPSIS bool ovpn_bind_skb_src_match (const struct ovpn_bind *bind , const struct sk_buff *skb );
ARGUMENTS bind the binding to match
skb the packet to match
RETURN true if the packet source matches the remote peer sockaddr in th... |
ovpn_crypto_config_get(9) | NAME ovpn_crypto_config_get - populate keyconf object with non-sensible key data
SYNOPSIS int ovpn_crypto_config_get (struct ovpn_crypto_state *cs , enum ovpn_key_slot slot , struct ovpn_key_config *keyconf );
ARGUMENTS cs the crypto state to extract the key data from
slot the specific slot to... |
ovpn_dev_is_valid(9) | NAME ovpn_dev_is_valid - check if the netdevice is of type 'ovpn'
SYNOPSIS bool ovpn_dev_is_valid (const struct net_device *dev );
ARGUMENTS dev the interface to check
RETURN whether the netdevice is of type 'ovpn'
SEE ALSO Kernel file ./drivers/net/ovpn/main.c
April 2026 ... |
ovpn_get_dev_from_attrs(9) | NAME ovpn_get_dev_from_attrs - retrieve the ovpn private data from the netdevice a netlink message is targeting
SYNOPSIS struct ovpn_priv * ovpn_get_dev_from_attrs (struct net *net , const struct genl_info *info , netdevice_tracker *tracker );
ARGUMENTS net network namespace where to look for the interface
... |
ovpn_is_keepalive(9) | NAME ovpn_is_keepalive - check if skb contains a keepalive message
SYNOPSIS bool ovpn_is_keepalive (struct sk_buff *skb );
ARGUMENTS skb packet to check
DESCRIPTION Assumes that the first byte of skb->data is defined.
RETURN true if skb contains a keepalive or false otherwise
SEE ALSO Kernel file ./drivers... |
ovpn_key_id_from_skb(9) | NAME ovpn_key_id_from_skb - extract key ID from the skb head
SYNOPSIS u8 ovpn_key_id_from_skb (const struct sk_buff *skb );
ARGUMENTS skb the packet to extract the key ID code from
NOTE this function assumes that the skb head was pulled enough to access the first 4 bytes.
RETURN the key ID
SEE ALSO Kernel ... |
ovpn_nexthop_from_rt4(9) | NAME ovpn_nexthop_from_rt4 - look up the IPv4 nexthop for the given destination
SYNOPSIS __be32 ovpn_nexthop_from_rt4 (struct ovpn_priv *ovpn , __be32 dest );
ARGUMENTS ovpn the private data representing the current VPN session
dest the destination to be looked up
DESCRIPTION Looks up in the I... |
ovpn_nexthop_from_rt6(9) | NAME ovpn_nexthop_from_rt6 - look up the IPv6 nexthop for the given destination
SYNOPSIS struct in6_addr ovpn_nexthop_from_rt6 (struct ovpn_priv *ovpn , struct in6_addr dest );
ARGUMENTS ovpn the private data representing the current VPN session
dest the destination to be looked up
DESCRIPTION ... |
ovpn_nexthop_from_skb4(9) | NAME ovpn_nexthop_from_skb4 - retrieve IPv4 nexthop for outgoing skb
SYNOPSIS __be32 ovpn_nexthop_from_skb4 (struct sk_buff *skb );
ARGUMENTS skb the outgoing packet
RETURN the IPv4 of the nexthop
SEE ALSO Kernel file ./drivers/net/ovpn/peer.c ovpn_peer_keepalive_set(9), ovpn_peer_keepalive_send(9), ovpn_p... |
ovpn_nexthop_from_skb6(9) | NAME ovpn_nexthop_from_skb6 - retrieve IPv6 nexthop for outgoing skb
SYNOPSIS struct in6_addr ovpn_nexthop_from_skb6 (struct sk_buff *skb );
ARGUMENTS skb the outgoing packet
RETURN the IPv6 of the nexthop
SEE ALSO Kernel file ./drivers/net/ovpn/peer.c ovpn_peer_keepalive_set(9), ovpn_peer_keepalive_send(9... |
ovpn_nl_key_new_doit(9) | NAME ovpn_nl_key_new_doit - configure a new key for the specified peer
SYNOPSIS int ovpn_nl_key_new_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb incoming netlink message
info genetlink metadata
DESCRIPTION This function allows the user to install a new key in the peer cr... |
ovpn_nl_key_swap_notify(9) | NAME ovpn_nl_key_swap_notify - notify userspace peer's key must be renewed
SYNOPSIS int ovpn_nl_key_swap_notify (struct ovpn_peer *peer , u8 key_id );
ARGUMENTS peer the peer whose key needs to be renewed
key_id the ID of the key that needs to be renewed
RETURN 0 on success or a negative error co... |
ovpn_nl_peer_del_notify(9) | NAME ovpn_nl_peer_del_notify - notify userspace about peer being deleted
SYNOPSIS int ovpn_nl_peer_del_notify (struct ovpn_peer *peer );
ARGUMENTS peer the peer being deleted
RETURN 0 on success or a negative error code otherwise
SEE ALSO Kernel file ./drivers/net/ovpn/netlink.c ovpn_get_dev_from_attrs(9), o... |
ovpn_nl_peer_modify(9) | NAME ovpn_nl_peer_modify - modify the peer attributes according to the incoming msg
SYNOPSIS int ovpn_nl_peer_modify (struct ovpn_peer *peer , struct genl_info *info , struct nlattr **attrs );
ARGUMENTS peer the peer to modify
info generic netlink info from the user request
attrs t... |
ovpn_nl_register(9) | NAME ovpn_nl_register - perform any needed registration in the NL subsustem
SYNOPSIS int ovpn_nl_register (void );
ARGUMENTS void no arguments
RETURN 0 on success, a negative error code otherwise
SEE ALSO Kernel file ./drivers/net/ovpn/netlink.c ovpn_get_dev_from_attrs(9), ovpn_nl_peer_modify(9), ovpn_nl_key... |
ovpn_nl_unregister(9) | NAME ovpn_nl_unregister - undo any module wide netlink registration
SYNOPSIS void ovpn_nl_unregister (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/net/ovpn/netlink.c ovpn_get_dev_from_attrs(9), ovpn_nl_peer_modify(9), ovpn_nl_key_new_doit(9), ovpn_nl_peer_del_notify(9), ovpn_nl_key_swap_... |
ovpn_opcode_compose(9) | NAME ovpn_opcode_compose - combine OP code, key ID and peer ID to wire format
SYNOPSIS u32 ovpn_opcode_compose (u8 opcode , u8 key_id , u32 peer_id );
ARGUMENTS opcode the OP code
key_id the key ID
peer_id the peer ID
RETURN a 4 bytes integer obtained combining all input values followin... |
ovpn_opcode_from_skb(9) | NAME ovpn_opcode_from_skb - extract OP code from skb at specified offset
SYNOPSIS u8 ovpn_opcode_from_skb (const struct sk_buff *skb , u16 offset );
ARGUMENTS skb the packet to extract the OP code from
offset the offset in the data buffer where the OP code is located
NOTE this function assumes t... |
ovpn_peer_add(9) | NAME ovpn_peer_add - add peer to the related tables
SYNOPSIS int ovpn_peer_add (struct ovpn_priv *ovpn , struct ovpn_peer *peer );
ARGUMENTS ovpn the openvpn instance the peer belongs to
peer the peer object to add
DESCRIPTION Assume refcounter was increased by caller
RETURN 0 on success or a ... |
ovpn_peer_add_mp(9) | NAME ovpn_peer_add_mp - add peer to related tables in a MP instance
SYNOPSIS int ovpn_peer_add_mp (struct ovpn_priv *ovpn , struct ovpn_peer *peer );
ARGUMENTS ovpn the instance to add the peer to
peer the peer to add
RETURN 0 on success or a negative error code otherwise
SEE ALSO Kernel file... |
ovpn_peer_add_p2p(9) | NAME ovpn_peer_add_p2p - add peer to related tables in a P2P instance
SYNOPSIS int ovpn_peer_add_p2p (struct ovpn_priv *ovpn , struct ovpn_peer *peer );
ARGUMENTS ovpn the instance to add the peer to
peer the peer to add
RETURN 0 on success or a negative error code otherwise
SEE ALSO Kernel f... |
ovpn_peer_check_by_src(9) | NAME ovpn_peer_check_by_src - check that skb source is routed via peer
SYNOPSIS bool ovpn_peer_check_by_src (struct ovpn_priv *ovpn , struct sk_buff *skb , struct ovpn_peer *peer );
ARGUMENTS ovpn the openvpn instance to search
skb the packet to extract source address from
peer t... |
ovpn_peer_del(9) | NAME ovpn_peer_del - delete peer from related tables
SYNOPSIS int ovpn_peer_del (struct ovpn_peer *peer , enum ovpn_del_peer_reason reason );
ARGUMENTS peer the peer object to delete
reason reason for deleting peer (will be sent to userspace)
RETURN 0 on success or a negative error code otherwise... |
ovpn_peer_del_mp(9) | NAME ovpn_peer_del_mp - delete peer from related tables in a MP instance
SYNOPSIS int ovpn_peer_del_mp (struct ovpn_peer *peer , enum ovpn_del_peer_reason reason , struct llist_head *release_list );
ARGUMENTS peer the peer to delete
reason reason why the peer was deleted (sent to userspace)
... |
ovpn_peer_del_p2p(9) | NAME ovpn_peer_del_p2p - delete peer from related tables in a P2P instance
SYNOPSIS int ovpn_peer_del_p2p (struct ovpn_peer *peer , enum ovpn_del_peer_reason reason , struct llist_head *release_list );
ARGUMENTS peer the peer to delete
reason reason why the peer was deleted (sent to userspace)
... |
ovpn_peer_endpoints_update(9) | NAME ovpn_peer_endpoints_update - update remote or local endpoint for peer
SYNOPSIS void ovpn_peer_endpoints_update (struct ovpn_peer *peer , struct sk_buff *skb );
ARGUMENTS peer peer to update the remote endpoint for
skb incoming packet to retrieve the source/destination address from
SEE ALS... |
ovpn_peer_get_by_dst(9) | NAME ovpn_peer_get_by_dst - Lookup peer to send skb to
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_dst (struct ovpn_priv *ovpn , struct sk_buff *skb );
ARGUMENTS ovpn the private data representing the current VPN session
skb the skb to extract the destination address from
DESCRIPTION This fu... |
ovpn_peer_get_by_id(9) | NAME ovpn_peer_get_by_id - retrieve peer by ID
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_id (struct ovpn_priv *ovpn , u32 peer_id );
ARGUMENTS ovpn the openvpn instance to search
peer_id the unique peer identifier to match
RETURN a pointer to the peer if found or NULL otherwise
SEE ALSO Kernel... |
ovpn_peer_get_by_id_p2p(9) | NAME ovpn_peer_get_by_id_p2p - get peer by ID in a P2P instance
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_id_p2p (struct ovpn_priv *ovpn , u32 peer_id );
ARGUMENTS ovpn the openvpn instance to search
peer_id the ID of the peer to find
RETURN the peer if found or NULL otherwise
SEE ALSO Kernel ... |
ovpn_peer_get_by_transp_addr(9) | NAME ovpn_peer_get_by_transp_addr - retrieve peer by transport address
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_transp_addr (struct ovpn_priv *ovpn , struct sk_buff *skb );
ARGUMENTS ovpn the openvpn instance to search
skb the skb to retrieve the source transport address from
RETURN a poin... |
ovpn_peer_get_by_transp_addr_p2p(9) | NAME ovpn_peer_get_by_transp_addr_p2p - get peer by transport address in a P2P instance
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_transp_addr_p2p (struct ovpn_priv *ovpn , struct sockaddr_storage *ss );
ARGUMENTS ovpn the openvpn instance to search
ss the transport socket address
RETURN th... |
ovpn_peer_get_by_vpn_addr4(9) | NAME ovpn_peer_get_by_vpn_addr4 - retrieve peer by its VPN IPv4 address
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_vpn_addr4 (struct ovpn_priv *ovpn , __be32 addr );
ARGUMENTS ovpn the openvpn instance to search
addr VPN IPv4 to use as search key
DESCRIPTION Refcounter is not increased for th... |
ovpn_peer_get_by_vpn_addr6(9) | NAME ovpn_peer_get_by_vpn_addr6 - retrieve peer by its VPN IPv6 address
SYNOPSIS struct ovpn_peer * ovpn_peer_get_by_vpn_addr6 (struct ovpn_priv *ovpn , struct in6_addr *addr );
ARGUMENTS ovpn the openvpn instance to search
addr VPN IPv6 to use as search key
DESCRIPTION Refcounter is not increa... |
ovpn_peer_hold(9) | NAME ovpn_peer_hold - increase reference counter
SYNOPSIS bool ovpn_peer_hold (struct ovpn_peer *peer );
ARGUMENTS peer the peer whose counter should be increased
RETURN true if the counter was increased or false if it was zero already
SEE ALSO Kernel file ./drivers/net/ovpn/peer.h struct ovpn_peer(9), ovpn_... |
ovpn_peer_id_from_skb(9) | NAME ovpn_peer_id_from_skb - extract peer ID from skb at specified offset
SYNOPSIS u32 ovpn_peer_id_from_skb (const struct sk_buff *skb , u16 offset );
ARGUMENTS skb the packet to extract the OP code from
offset the offset in the data buffer where the OP code is located
NOTE this function assume... |
ovpn_peer_keepalive_send(9) | NAME ovpn_peer_keepalive_send - periodic worker sending keepalive packets
SYNOPSIS void ovpn_peer_keepalive_send (struct work_struct *work );
ARGUMENTS work pointer to the work member of the related peer object
NOTE the reference to peer is not dropped because it gets inherited by ovpn_xmit_special
SEE ALSO ... |
ovpn_peer_keepalive_set(9) | NAME ovpn_peer_keepalive_set - configure keepalive values for peer
SYNOPSIS void ovpn_peer_keepalive_set (struct ovpn_peer *peer , u32 interval , u32 timeout );
ARGUMENTS peer the peer to configure
interval outgoing keepalive interval
timeout incoming keepalive timeout
SEE ALSO Kernel ... |
ovpn_peer_keepalive_work(9) | NAME ovpn_peer_keepalive_work - run keepalive logic on each known peer
SYNOPSIS void ovpn_peer_keepalive_work (struct work_struct *work );
ARGUMENTS work pointer to the work member of the related ovpn object
DESCRIPTION Each peer has two timers (if configured): 1. peer timeout: when no data is received for a... |
ovpn_peer_new(9) | NAME ovpn_peer_new - allocate and initialize a new peer object
SYNOPSIS struct ovpn_peer * ovpn_peer_new (struct ovpn_priv *ovpn , u32 id );
ARGUMENTS ovpn the openvpn instance inside which the peer should be created
id the ID assigned to this peer
RETURN a pointer to the new peer on success ... |
ovpn_peer_put(9) | NAME ovpn_peer_put - decrease reference counter
SYNOPSIS void ovpn_peer_put (struct ovpn_peer *peer );
ARGUMENTS peer the peer whose counter should be decreased
SEE ALSO Kernel file ./drivers/net/ovpn/peer.h struct ovpn_peer(9), ovpn_peer_hold(9)
April 2026 ... |
ovpn_peer_release(9) | NAME ovpn_peer_release - release peer private members
SYNOPSIS void ovpn_peer_release (struct ovpn_peer *peer );
ARGUMENTS peer the peer to release
SEE ALSO Kernel file ./drivers/net/ovpn/peer.c ovpn_peer_keepalive_set(9), ovpn_peer_keepalive_send(9), ovpn_peer_new(9), ovpn_peer_reset_sockaddr(9), ovpn... |
ovpn_peer_release_kref(9) | NAME ovpn_peer_release_kref - callback for kref_put
SYNOPSIS void ovpn_peer_release_kref (struct kref *kref );
ARGUMENTS kref the kref object belonging to the peer
SEE ALSO Kernel file ./drivers/net/ovpn/peer.c ovpn_peer_keepalive_set(9), ovpn_peer_keepalive_send(9), ovpn_peer_new(9), ovpn_peer_reset_sockadd... |
ovpn_peer_release_p2p(9) | NAME ovpn_peer_release_p2p - release peer upon P2P device teardown
SYNOPSIS void ovpn_peer_release_p2p (struct ovpn_priv *ovpn , struct sock *sk , enum ovpn_del_peer_reason reason );
ARGUMENTS ovpn the instance being torn down
sk if not NULL, release peer only if it's using this specific socke... |
ovpn_peer_release_rcu(9) | NAME ovpn_peer_release_rcu - RCU callback performing last peer release steps
SYNOPSIS void ovpn_peer_release_rcu (struct rcu_head *head );
ARGUMENTS head RCU member of the ovpn_peer
SEE ALSO Kernel file ./drivers/net/ovpn/peer.c ovpn_peer_keepalive_set(9), ovpn_peer_keepalive_send(9), ovpn_peer_new(9), ovpn_p... |
ovpn_peer_reset_sockaddr(9) | NAME ovpn_peer_reset_sockaddr - recreate binding for peer
SYNOPSIS int ovpn_peer_reset_sockaddr (struct ovpn_peer *peer , const struct sockaddr_storage *ss , const void *local_ip );
ARGUMENTS peer peer to recreate the binding for
ss sockaddr to use as remote endpoint for the binding
lo... |
ovpn_peer_skb_to_sockaddr(9) | NAME ovpn_peer_skb_to_sockaddr - fill sockaddr with skb source address
SYNOPSIS int ovpn_peer_skb_to_sockaddr (struct sk_buff *skb , struct sockaddr_storage *ss );
ARGUMENTS skb the packet to extract data from
ss the sockaddr to fill
RETURN sockaddr length on success or -1 otherwise
SEE ALS... |
ovpn_peer_transp_match(9) | NAME ovpn_peer_transp_match - check if sockaddr and peer binding match
SYNOPSIS bool ovpn_peer_transp_match (const struct ovpn_peer *peer , const struct sockaddr_storage *ss );
ARGUMENTS peer the peer to get the binding from
ss the sockaddr to match
RETURN true if sockaddr and binding match o... |
ovpn_peers_free(9) | NAME ovpn_peers_free - free all peers in the instance
SYNOPSIS void ovpn_peers_free (struct ovpn_priv *ovpn , struct sock *sk , enum ovpn_del_peer_reason reason );
ARGUMENTS ovpn the instance whose peers should be released
sk if not NULL, only peers using this socket are removed and the socket... |
ovpn_socket_new(9) | NAME ovpn_socket_new - create a new socket and initialize it
SYNOPSIS struct ovpn_socket * ovpn_socket_new (struct socket *sock , struct ovpn_peer *peer );
ARGUMENTS sock the kernel socket to embed
peer the peer reachable via this socket
RETURN an openvpn socket on success or a negative error c... |
ovpn_socket_put(9) | NAME ovpn_socket_put - decrease reference counter
SYNOPSIS bool ovpn_socket_put (struct ovpn_peer *peer , struct ovpn_socket *sock );
ARGUMENTS peer peer whose socket reference counter should be decreased
sock the RCU protected peer socket
DESCRIPTION This function is only used internally. User... |
ovpn_socket_release(9) | NAME ovpn_socket_release - release resources owned by socket user
SYNOPSIS void ovpn_socket_release (struct ovpn_peer *peer );
ARGUMENTS peer peer whose socket should be released
DESCRIPTION This function should be invoked when the peer is being removed and wants to drop its link to the socket. In case of ... |
ovpn_udp4_output(9) | NAME ovpn_udp4_output - send IPv4 packet over udp socket
SYNOPSIS int ovpn_udp4_output (struct ovpn_peer *peer , struct ovpn_bind *bind , struct dst_cache *cache , struct sock *sk , struct sk_buff *skb );
ARGUMENTS peer the destination peer
bind the binding related to the destination peer
... |
ovpn_udp6_output(9) | NAME ovpn_udp6_output - send IPv6 packet over udp socket
SYNOPSIS int ovpn_udp6_output (struct ovpn_peer *peer , struct ovpn_bind *bind , struct dst_cache *cache , struct sock *sk , struct sk_buff *skb );
ARGUMENTS peer the destination peer
bind the binding related to the destination peer
... |
ovpn_udp_encap_recv(9) | NAME ovpn_udp_encap_recv - Start processing a received UDP packet.
SYNOPSIS int ovpn_udp_encap_recv (struct sock *sk , struct sk_buff *skb );
ARGUMENTS sk socket over which the packet was received
skb the received packet
DESCRIPTION If the first byte of the payload is: - DATA_V2 the packet i... |
ovpn_udp_output(9) | NAME ovpn_udp_output - transmit skb using udp-tunnel
SYNOPSIS int ovpn_udp_output (struct ovpn_peer *peer , struct dst_cache *cache , struct sock *sk , struct sk_buff *skb );
ARGUMENTS peer the destination peer
cache dst cache
sk the socket to send the packet over
skb ... |
ovpn_udp_send_skb(9) | NAME ovpn_udp_send_skb - prepare skb and send it over via UDP
SYNOPSIS void ovpn_udp_send_skb (struct ovpn_peer *peer , struct sock *sk , struct sk_buff *skb );
ARGUMENTS peer the destination peer
sk peer socket
skb the packet to send
SEE ALSO Kernel file ./drivers/net/ovpn/ud... |
ovpn_udp_socket_attach(9) | NAME ovpn_udp_socket_attach - set udp-tunnel CBs on socket and link it to ovpn
SYNOPSIS int ovpn_udp_socket_attach (struct ovpn_socket *ovpn_sock , struct socket *sock , struct ovpn_priv *ovpn );
ARGUMENTS ovpn_sock socket to configure
sock the socket container to be passed to setup_udp_tunnel_sock
... |
ovpn_udp_socket_detach(9) | NAME ovpn_udp_socket_detach - clean udp-tunnel status for this socket
SYNOPSIS void ovpn_udp_socket_detach (struct ovpn_socket *ovpn_sock );
ARGUMENTS ovpn_sock the socket to clean
SEE ALSO Kernel file ./drivers/net/ovpn/udp.c ovpn_udp_encap_recv(9), ovpn_udp4_output(9), ovpn_udp6_output(9), ovpn_udp_output(9), ov... |
ovpn_xmit_special(9) | NAME ovpn_xmit_special - encrypt and transmit an out-of-band message to peer
SYNOPSIS void ovpn_xmit_special (struct ovpn_peer *peer , const void *data , const unsigned int len );
ARGUMENTS peer peer to send the message to
data message content
len message length
DESCRIPTION Assu... |
ovs_nla_get_flow_metadata(9) | NAME ovs_nla_get_flow_metadata - parses Netlink attributes into a flow key.
SYNOPSIS int ovs_nla_get_flow_metadata (struct net *net , const struct nlattr *a[OVS_KEY_ATTR_MAX + 1] , u64 attrs , struct sw_flow_key *key , bool log );
ARGUMENTS net Network namespace.
a Array of netlink attribute... |
ovs_nla_get_match(9) | NAME ovs_nla_get_match - parses Netlink attributes into a flow key and mask. In case the 'mask' is NULL, the flow is treated as exact match flow. Otherwise, it is treated as a wildcarded flow, except the mask does not include any don't care bit.
SYNOPSIS int ovs_nla_get_match (struct net *net , struct sw_flow_match *... |
ovs_vport_add(9) | NAME ovs_vport_add - add vport device (for kernel callers)
SYNOPSIS struct vport * ovs_vport_add (const struct vport_parms *parms );
ARGUMENTS parms Information about new vport.
DESCRIPTION Creates a new vport with the specified configuration (which is dependent on device type). ovs_mutex must be held.
SEE A... |
ovs_vport_alloc(9) | NAME ovs_vport_alloc - allocate and initialize new vport
SYNOPSIS struct vport * ovs_vport_alloc (int priv_size , const struct vport_ops *ops , const struct vport_parms *parms );
ARGUMENTS priv_size Size of private data area to allocate.
ops vport device ops
parms information about new... |
ovs_vport_del(9) | NAME ovs_vport_del - delete existing vport device
SYNOPSIS void ovs_vport_del (struct vport *vport );
ARGUMENTS vport vport to delete.
DESCRIPTION Detaches vport from its datapath and destroys it. ovs_mutex must be held.
SEE ALSO Kernel file ./net/openvswitch/vport.c ovs_vport_init(9), ovs_vport_exit(9), ovs... |
ovs_vport_exit(9) | NAME ovs_vport_exit - shutdown vport subsystem
SYNOPSIS void ovs_vport_exit (void );
ARGUMENTS void no arguments
DESCRIPTION Called at module exit time to shutdown the vport subsystem.
SEE ALSO Kernel file ./net/openvswitch/vport.c ovs_vport_init(9), ovs_vport_locate(9), ovs_vport_alloc(9), ovs_vport_free(9... |
ovs_vport_find_upcall_portid(9) | NAME ovs_vport_find_upcall_portid - find the upcall portid to send upcall.
SYNOPSIS u32 ovs_vport_find_upcall_portid (const struct vport *vport , struct sk_buff *skb );
ARGUMENTS vport vport from which the missed packet is received.
skb skb that the missed packet was received.
DESCRIPTION Uses ... |
ovs_vport_free(9) | NAME ovs_vport_free - uninitialize and free vport
SYNOPSIS void ovs_vport_free (struct vport *vport );
ARGUMENTS vport vport to free
DESCRIPTION Frees a vport allocated with vport_alloc when it is no longer needed. The caller must ensure that an RCU grace period has passed since the last time vport was in a d... |
ovs_vport_get_options(9) | NAME ovs_vport_get_options - retrieve device options
SYNOPSIS int ovs_vport_get_options (const struct vport *vport , struct sk_buff *skb );
ARGUMENTS vport vport from which to retrieve the options.
skb sk_buff where options should be appended.
DESCRIPTION Retrieves the configuration of the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.