all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Darrington <john@darrington.wattle.id.au>
To: guix-devel@gnu.org
Subject: network-interface-names-*
Date: Wed, 11 Jan 2017 08:56:07 +0100	[thread overview]
Message-ID: <20170111075607.GA5083@jocasta.intra> (raw)

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

The procedures exported from guix/build/syscalls : 

network-interface-names
network-interface-flags
set-network-interface-flags
network-interface-netmask

.. and possibily a few others all take an argument called "sock" or "socket".

In the case of network-interface-names this parameter is #:optional and 
defaults to  (socket SOCK_STREAM AF_INET 0)

In all of the other procedures this argument is not optional, but so far
as I can tell, all callers pass the above expression as its value, and 
if I understand the API correctly, it's unlikely that anything else will
ever be required.

Will you accept a patch making "sock" #:optional for all parameters which
need it?



-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2017-01-11  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  7:56 John Darrington [this message]
2017-01-12 14:27 ` network-interface-names-* Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170111075607.GA5083@jocasta.intra \
    --to=john@darrington.wattle.id.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.