From mboxrd@z Thu Jan 1 00:00:00 1970 From: nawablinux@gmail.com (nawab) Date: Sun, 25 Jan 2015 10:39:27 +0530 Subject: difference between struct proto and struct proto_ops Message-ID: <54C47A87.7060200@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org What is the difference between struct proto and struct proto_ops : Both are having the same functions:setsockopt,getsockopt,bind,connect etc... So which functions are called when we call connect ,bind from userspace....