summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/sync-if.c
AgeCommit message (Collapse)Author
1998-10-19Use (SOCK_DGRAM,IPPROTO_IP) socket instead of (SOCK_STREAM,IPPROTO_TCP).Martin Mares
This is exactly what Linux ifconfig does and seems to be the preferred way.
1998-10-18Split protocol init to building of protocol list and real protocol init.Martin Mares
Added kernel route table syncer skeleton.
1998-10-13o There are cases when SIOCGIFINDEX is defined, but it doesn't work. WhenMartin Mares
this happens, don't reject the whole interface, just mark it as index 0. o Removed Pavel's comment about EFAULT and SIGSEGV. EFAULT is a valid return code for cases where the buffer is too small. o Commented out the smart interface list size logic temporarily as it seems Linux 2.0 SIOCGIFCONF doesn't react to ifc_req==NULL sanely. Replaced it by exponential stepping.
1998-10-13Strange, on atrey ioctl() does not fill structure, and bird segfaultsPavel Machek
on it. Now we "only" die().
1998-06-01Synced to new interface code.Martin Mares
1998-05-26Implemented scanning of network interfaces. Mostly very ugly code due toMartin Mares
terrible kernel interface (SIOGIFCONF and friends).