Changes between Version 41 and Version 42 of Dev
- Timestamp:
- May 10, 2013 3:19:34 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dev
v41 v42 28 28 > } 29 29 > }}} 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. 30 36 31 37 = C/C++ =