search for: num_ports

Displaying 20 results from an estimated 42 matches for "num_ports".

Did you mean: nr_ports
2013 May 15
1
[PATCH] Expose remote forwarding ports as environment variable
...-02 23:50:55.000000000 +0100 +++ openssh-6.2p1.patched/channels.c 2013-05-15 23:26:17.119989982 +0200 @@ -2865,6 +2865,52 @@ return success; } +/* + * Write list of remote forwarding ports into an existing buffer + */ +void +channel_list_rport_listener(char *buf, size_t size) +{ + u_int i, j, num_ports = 0; + int offset = 0; + int *ports; + int skip; + + ports = xcalloc(channels_alloc, sizeof(int)); + + for (i = 0; i < channels_alloc; i++) { + skip = 0; + Channel *c = channels[i]; + if (c == NULL || c->type != SSH_CHANNEL_RPORT_LISTENER) + continue; + + /* Skip already added ports - I...
2008 Sep 16
2
Cypress Semiconductor USB to serial
...nt) usb_device.device_revision_bcd = 2 (0x2) (int) usb_device.device_subclass = 0 (0x0) (int) usb_device.is_self_powered = false (bool) usb_device.max_power = 100 (0x64) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.num_interfaces = 1 (0x1) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.port_number = 3 (0x3) (int) usb_device.product = 'USB to Serial' (string) usb_device.product_id = 20833 (0x5161) (int) usb_device.speed_bcd = 336 (0x150) (int) usb_device.vendor = 'Cypress Semiconductor' (string) usb_device.vendor_id...
2001 Nov 12
4
Please test -current
Could people please test -current? We will be making a release fairly soon. -d -- | By convention there is color, \\ Damien Miller <djm at mindrot.org> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space - Democritus (c. 400 BCE)
2019 Oct 22
0
[PATCH v5 05/14] drm/dp_mst: Add probe_lock
...ncurrently + * by &drm_dp_mst_topology_mgr.probe_lock. + */ + struct drm_dp_mst_branch *mstb; struct drm_dp_aux aux; /* i2c bus for this port? */ struct drm_dp_mst_branch *parent; @@ -118,7 +126,6 @@ struct drm_dp_mst_port { * @lct: Link count total to talk to this branch device. * @num_ports: number of ports on the branch. * @msg_slots: one bit per transmitted msg slot. - * @ports: linked list of ports on this branch. * @port_parent: pointer to the port parent, NULL if toplevel. * @mgr: topology manager for this branch device. * @tx_slots: transmission slots for this device. @@...
2008 Sep 16
1
ippon smart power pro 1000
...usb_device.device_revision_bcd = 2 (0x2) (int) usb_device.device_subclass = 0 (0x0) (int) usb_device.is_self_powered = false (bool) usb_device.max_power = 100 (0x64) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.num_interfaces = 1 (0x1) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.port_number = 3 (0x3) (int) usb_device.product = 'USB to Serial' (string) usb_device.product_id = 20833 (0x5161) (int) usb_device.speed_bcd = 336 (0x150) (int) usb_device.vendor = 'Cypress Semiconductor' (string) usb_device.vend...
2001 Nov 20
3
problem with AFS token forwarding
Hello, I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1 concerning the AFS token forwarding. That means that the new versions are not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this problem already existed in Openssh 2.9.9p1, but I have never used this version (I only looked at the
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...play, info[i].base_id, > &numImages); > > for(j = 0; j < numImages; j++) { > if(formats[j].id == GUID_MBX1_PLANAR) { > /* It supports our format */ > adaptor = i; > for(k = 0; k < info[i].num_ports; k++) { > /* try to grab a port */ > if(Success == XvGrabPort(display, > info[i].base_id + k, > CurrentTime)) > { > portNum = info[i].base_i...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...play, info[i].base_id, > &numImages); > > for(j = 0; j < numImages; j++) { > if(formats[j].id == GUID_MBX1_PLANAR) { > /* It supports our format */ > adaptor = i; > for(k = 0; k < info[i].num_ports; k++) { > /* try to grab a port */ > if(Success == XvGrabPort(display, > info[i].base_id + k, > CurrentTime)) > { > portNum = info[i].base_i...
2019 Sep 25
2
[PATCH v2 03/27] drm/dp_mst: Destroy MSTBs asynchronously
...@@ -143,6 +143,12 @@ struct drm_dp_mst_branch { > */ > struct kref malloc_kref; > > + /** > + * @destroy_next: linked-list entry used by > + * drm_dp_delayed_destroy_work() > + */ > + struct list_head destroy_next; > + > u8 rad[8]; > u8 lct; > int num_ports; > @@ -575,18 +581,24 @@ struct drm_dp_mst_topology_mgr { > struct work_struct tx_work; > > /** > - * @destroy_connector_list: List of to be destroyed connectors. > + * @destroy_port_list: List of to be destroyed connectors. > + */ > + struct list_head destroy_port_...
2002 Nov 24
1
[PATCH] PamServiceNameAppend
...+++ servconf.c 24 Nov 2002 18:43:41 -0000 @@ -57,6 +57,9 @@ initialize_server_options(ServerOptions /* Portable-specific options */ options->pam_authentication_via_kbd_int = -1; +#ifdef USE_PAM + options->pam_service_name_append = NULL; +#endif /* Standard Options */ options->num_ports = 0; @@ -134,6 +137,10 @@ fill_default_server_options(ServerOption /* Portable-specific options */ if (options->pam_authentication_via_kbd_int == -1) options->pam_authentication_via_kbd_int = 0; +#ifdef USE_PAM + if (options->pam_service_name_append == NULL) + options->pam_servi...
2002 Dec 05
1
patch to add a PAMServiceName config option
...use_privsep; +extern char *__progname; + /* Initializes the server options to their default values. */ void @@ -57,6 +59,7 @@ /* Portable-specific options */ options->pam_authentication_via_kbd_int = -1; + options->pam_service_name = NULL; /* Standard Options */ options->num_ports = 0; @@ -134,6 +137,8 @@ /* Portable-specific options */ if (options->pam_authentication_via_kbd_int == -1) options->pam_authentication_via_kbd_int = 0; + if (options->pam_service_name == NULL ) + options->pam_service_name = SSHD_PAM_SERVICE; /* Standard Options */ if (opt...
2007 Jun 01
0
HAL and NUT feedback
...ber = 2 (0x2) (int) > usb_device.linux.sysfs_path > = '/sys/devices/pci0000:00/0000:00:07.2/usb1/1-1' (string) > usb_device.max_power = 2 (0x2) (int) > usb_device.num_configurations = 1 (0x1) (int) > usb_device.num_interfaces = 1 (0x1) (int) > usb_device.num_ports = 0 (0x0) (int) > usb_device.product = 'Powerware UPS' (string) > usb_device.product_id = 2 (0x2) (int) > usb_device.speed = 1.5 (1.5) (double) > usb_device.speed_bcd = 336 (0x150) (int) > usb_device.vendor = 'Powerware Corp.' (string) > usb_dev...
2004 Jan 06
1
[PATCH] possible bug in bindresvport
...set(sin, 0, sizeof(me)); - sin->sin_port = AF_INET; + sin->sin_family = AF_INET; } else if (sin->sin_family != AF_INET) { errno = EPFNOSUPPORT; @@ -37,7 +37,7 @@ int bindresvport(int sd, struct sockaddr for (i = 0; i < NUM_PORTS; i++, port++) { sin->sin_port = htons(port); - if ((ret = bind(sd, (struct sockaddr *)&sin, sizeof(*sin))) != -1) + if ((ret = bind(sd, (struct sockaddr *)sin, sizeof(*sin))) != -1) break; if (port == END_POR...
2019 Sep 27
1
[PATCH v2 03/27] drm/dp_mst: Destroy MSTBs asynchronously
...> > > > + /** > > > + * @destroy_next: linked-list entry used by > > > + * drm_dp_delayed_destroy_work() > > > + */ > > > + struct list_head destroy_next; > > > + > > > u8 rad[8]; > > > u8 lct; > > > int num_ports; > > > @@ -575,18 +581,24 @@ struct drm_dp_mst_topology_mgr { > > > struct work_struct tx_work; > > > > > > /** > > > - * @destroy_connector_list: List of to be destroyed connectors. > > > + * @destroy_port_list: List of to be destroyed...
2020 Nov 01
12
[PATCH mlx5-next v1 00/11] Convert mlx5 to use auxiliary bus
From: Leon Romanovsky <leonro at nvidia.com> Changelog: v1: * Renamed _mlx5_rescan_driver to be mlx5_rescan_driver_locked like in other parts of the mlx5 driver. * Renamed MLX5_INTERFACE_PROTOCOL_VDPA to tbe MLX5_INTERFACE_PROTOCOL_VNET as a preparation to coming series from Eli C. * Some small naming renames in mlx5_vdpa. * Refactored adev index code to make Parav's SF series
2019 Sep 03
0
[PATCH v2 03/27] drm/dp_mst: Destroy MSTBs asynchronously
...m/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -143,6 +143,12 @@ struct drm_dp_mst_branch { */ struct kref malloc_kref; + /** + * @destroy_next: linked-list entry used by + * drm_dp_delayed_destroy_work() + */ + struct list_head destroy_next; + u8 rad[8]; u8 lct; int num_ports; @@ -575,18 +581,24 @@ struct drm_dp_mst_topology_mgr { struct work_struct tx_work; /** - * @destroy_connector_list: List of to be destroyed connectors. + * @destroy_port_list: List of to be destroyed connectors. + */ + struct list_head destroy_port_list; + /** + * @destroy_branch_device_...
2019 Oct 22
0
[PATCH v5 01/14] drm/dp_mst: Destroy MSTBs asynchronously
...m/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -143,6 +143,12 @@ struct drm_dp_mst_branch { */ struct kref malloc_kref; + /** + * @destroy_next: linked-list entry used by + * drm_dp_delayed_destroy_work() + */ + struct list_head destroy_next; + u8 rad[8]; u8 lct; int num_ports; @@ -571,18 +577,24 @@ struct drm_dp_mst_topology_mgr { struct work_struct tx_work; /** - * @destroy_connector_list: List of to be destroyed connectors. + * @destroy_port_list: List of to be destroyed connectors. + */ + struct list_head destroy_port_list; + /** + * @destroy_branch_device_...
2019 Sep 25
0
[PATCH v2 03/27] drm/dp_mst: Destroy MSTBs asynchronously
...*/ > > struct kref malloc_kref; > > > > + /** > > + * @destroy_next: linked-list entry used by > > + * drm_dp_delayed_destroy_work() > > + */ > > + struct list_head destroy_next; > > + > > u8 rad[8]; > > u8 lct; > > int num_ports; > > @@ -575,18 +581,24 @@ struct drm_dp_mst_topology_mgr { > > struct work_struct tx_work; > > > > /** > > - * @destroy_connector_list: List of to be destroyed connectors. > > + * @destroy_port_list: List of to be destroyed connectors. > > + */ &g...
2012 Nov 21
1
HostKey in hardware?
Hi, Is there any way to store HostKey in hardware (and delegate the related processing)? I have been using Roumen Petrov's x509 patch for clients, which works via an OpenSSL engine, but it does not seem to support server HostKey: http://roumenpetrov.info/pipermail/ssh_x509_roumenpetrov.info/2012q4/000019.html For PKCS#11, I have found an email on this list from a year back suggesting this
2019 Jan 09
0
[PATCH v5 06/20] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports
...ef; u8 port_num; bool input; @@ -102,7 +112,6 @@ struct drm_dp_mst_port { /** * struct drm_dp_mst_branch - MST branch device. - * @kref: reference count for this port. * @rad: Relative Address to talk to this branch device. * @lct: Link count total to talk to this branch device. * @num_ports: number of ports on the branch. @@ -121,7 +130,19 @@ struct drm_dp_mst_port { * to downstream port of parent branches. */ struct drm_dp_mst_branch { - struct kref kref; + /** + * @topology_kref: refcount for this branch device's lifetime in the + * topology, only the DP MST helpers shoul...