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; |
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); |
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++; |
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++; |