no support for routing sockets ????

From: Oliver Kowalke (oliver.kowalke@t-online.de)
Date: Tue Jan 23 2001 - 02:35:29 EST


Hi,

currently I' trying out the examples from R. Stevens' "Unix Network
Programming Vol.1".
As I figured out following is missing (kernel 2.4.0):

 - header <net/if_dl.h> is not found on my system (defines struct
sockaddr_dl)
 - <net/route.h> :
        - RTM_xxx flags for message exchange across routing sockets
        - structures rt_msghdr, if_msghdr, ifa_msghdr
        - RTA_xxx constants used for socket address structures in routing
sockets
        - RTAX_xxx constants used for socket address structures in routing
sockets

Doesn't Linux support routing sockets?

So I tried the next examples form UNPv1 (chap. 17), which used sysctl
function. But this didnt worked because:

    - <netinet/udp_var.h> which defines UDPCTL_xxx constants are missing

Where can I find informations in order to get this examples working.
How differs Linux from BSD / SVR4 standards?
What is the prefered way on Linux?

Thanks!

wit regards,
Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:32 EST