Displaying 2 results from an estimated 2 matches for "ifc_len".
Did you mean:
  id_len
  
2004 May 28
1
ipconfig related question (do not get static IP setting)
Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to 
setup a initramfs (pretty cool - much better than initrd) to boot linux 
diskless clients over the net. All the tools I would need, seem to be 
there with ipconfig/nfsmount ...
I like to use the information I get from PXE/syslinux or Etherboot 
writing something like:
1998 Mar 29
1
Anyone using SCO 3.2v4.2 with Samba 1.9.18p3??
...nt           <<<<<<<<=======ERROR IS HERE
This SCO platform has all the relevent patches installed (that I know about)
but apparently there is a problem with this type of call or it is formatted
incorrectly.
Looking at the source code, it looks like:
[interfaces.c]
  ifc.ifc_len = sizeof(buff);
  ifc.ifc_buf = buff;
  if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) {
    DEBUG(0,("SIOCGIFCONF: %s\n", strerror(errno)));
  } else {
    ifr = ifc.ifc_req;
  
    /* Loop through interfaces, looking for given IP address */
    for (i = ifc.ifc_len / sizeof(struct ifreq...