title: Why are there ioctl calls in socket.c?
body: <p>Trying to understand why there are ioctl calls in socket.c ? I can see a modified kernel that I am using, it has some ioctl calls which load in the required modules when the calls are made. </p>
  
  <p>I was wondering why these calls ended up in socket.c ? Isn't socket kind of not-a-device and ioctls are primarily used for device. </p>
  
  <p>Talking about 2.6.32.0 heavily modified kernel here. </p>