Displaying 2 results from an estimated 2 matches for "nbd_set_".
Did you mean:
nbd_opt_
2023 Jan 31
2
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
...head3 Socket name
> > +
> > +The socket activation protocol lets you optionally give
> > +the socket a name. If used, the name is passed to the
> > +NBD server using the C<LISTEN_FDNAMES> environment
> > +variable. To provide a socket name, call
> > +L<nbd_set_socket_activation_name(3)> before calling
> > +the connect function.
>
> This creates an implicit client-side stateful API: to pass socket
> names, you must call two APIs in the correct sequence:
>
> nbd_set_socket_activation_name (h, "foo");
> nbd_connect_syst...
2023 Jan 31
1
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
...gt; is killed.
> +
> +=head3 Socket name
> +
> +The socket activation protocol lets you optionally give
> +the socket a name. If used, the name is passed to the
> +NBD server using the C<LISTEN_FDNAMES> environment
> +variable. To provide a socket name, call
> +L<nbd_set_socket_activation_name(3)> before calling
> +the connect function.
This creates an implicit client-side stateful API: to pass socket
names, you must call two APIs in the correct sequence:
nbd_set_socket_activation_name (h, "foo");
nbd_connect_systemd_socket_activation (h, argv);
I...