Changes between Version 41 and Version 42 of Dev


Ignore:
Timestamp:
May 10, 2013 3:19:34 PM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev

    v41 v42  
    2828 > } 
    2929 > }}} 
     30 
     31 * [http://www.linuxquestions.org/questions/programming-9/sockets-af_packet-versus-pf_packet-942143/ sockets: AF_PACKET versus PF_PACKET] 
     32 > Yes. AF_foo means address family foo, and PF_foo means protocol family foo. In Linux, they are always been the same values, I believe. 
     33 > Traditionally, the PF_foo constants were used for socket(), but AF_foo in the struct sockaddr structure. 
     34 > 
     35 > Thus, today, there really should be no difference between AF_foo and PF_foo. 
    3036 
    3137 = C/C++ =