For example I have a program that looks something like this:
int data = 0xfff
setsockopt(sockfd, SOL_SOCKET, SO_KEEPALIVE, &data, sizeof(data))
In the Linux kernel-space where is the data actually located in the sock struct? I tried reading through sock.h, but haven't found anything where the &data variable would be kept.