[sr-dev] RAW socket support for Darwin (OSX)

Raphael Coeffic rco at iptel.org
Thu Feb 2 12:41:03 CET 2012


Hi!

I'm currently having some issues trying to get raw socket support 
working on OSX. It appears that raw_udp4_send() in raw_sock.c does not 
compile because OSX support neither IP_PKTINFO nor IP_SENDSRCADDR. 
However, it seems that raw_udp4_send is not used anywhere, and 
everything now works over raw_iphdr_udp4_send(), for which only 
IP_HDRINCL is needed, which is well supported on OSX.

Is that correct that rwa_udp4_send is not used anymore? Could I just 
remove it /comment it out?

Best regards
Raphael.



More information about the sr-dev mailing list