/[emacs]/emacs/src/process.c
ViewVC logotype

Diff of /emacs/src/process.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.413 by fx, Thu Sep 18 10:39:47 2003 UTC revision 1.414 by fx, Tue Sep 23 12:40:39 2003 UTC
# Line 3483  FLAGS is the current flags of the interf Line 3483  FLAGS is the current flags of the interf
3483      return Qnil;      return Qnil;
3484    
3485    elt = Qnil;    elt = Qnil;
3486  #if defined(SIOCGIFFLAGS) && defined(ifr_flags)  #if defined(SIOCGIFFLAGS) && defined(HAVE_STRUCT_IFREQ_IFR_FLAGS)
3487    if (ioctl (s, SIOCGIFFLAGS, &rq) == 0)    if (ioctl (s, SIOCGIFFLAGS, &rq) == 0)
3488      {      {
3489        int flags = rq.ifr_flags;        int flags = rq.ifr_flags;
# Line 3511  FLAGS is the current flags of the interf Line 3511  FLAGS is the current flags of the interf
3511    res = Fcons (elt, res);    res = Fcons (elt, res);
3512    
3513    elt = Qnil;    elt = Qnil;
3514  #if defined(SIOCGIFHWADDR) && defined(ifr_hwaddr)  #if defined(SIOCGIFHWADDR) && defined(HAVE_STRUCT_IFREQ_IFR_HWADDR)
3515    if (ioctl (s, SIOCGIFHWADDR, &rq) == 0)    if (ioctl (s, SIOCGIFHWADDR, &rq) == 0)
3516      {      {
3517        Lisp_Object hwaddr = Fmake_vector (make_number (6), Qnil);        Lisp_Object hwaddr = Fmake_vector (make_number (6), Qnil);
# Line 3537  FLAGS is the current flags of the interf Line 3537  FLAGS is the current flags of the interf
3537    res = Fcons (elt, res);    res = Fcons (elt, res);
3538    
3539    elt = Qnil;    elt = Qnil;
3540  #if defined(SIOCGIFBRDADDR) && defined(ifr_broadaddr)  #if defined(SIOCGIFBRDADDR) && defined(HAVE_STRUCT_IFREQ_IFR_BROADADDR)
3541    if (ioctl (s, SIOCGIFBRDADDR, &rq) == 0)    if (ioctl (s, SIOCGIFBRDADDR, &rq) == 0)
3542      {      {
3543        any++;        any++;
# Line 3547  FLAGS is the current flags of the interf Line 3547  FLAGS is the current flags of the interf
3547    res = Fcons (elt, res);    res = Fcons (elt, res);
3548    
3549    elt = Qnil;    elt = Qnil;
3550  #if defined(SIOCGIFADDR) && defined(ifr_addr)  #if defined(SIOCGIFADDR) && defined(HAVE_STRUCT_IFREQ_IFR_ADDR)
3551    if (ioctl (s, SIOCGIFADDR, &rq) == 0)    if (ioctl (s, SIOCGIFADDR, &rq) == 0)
3552      {      {
3553        any++;        any++;

Legend:
Removed from v.1.413  
changed lines
  Added in v.1.414

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26