no support for routing sockets ????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux