tushar9188
New Member
I was working on a project on a platform using linux kernel 4.14 and that project requires PID of processes alongwith the port numbers, as I can see, that in linux kernel 2.6.32, PID of processes is stored in /proc/net/udp6 but this data has been removed in 4.14 kernel, there is a structure called sock which contains a field called pid in kernel 2.6.32, but in 4.14 kernel, there is no such field, so another question which comes is, is it even possible to have PIDs of processes in kernel 4.14?
p.s. - sock structure in kernel 4.14 has another field called sk_peer_pid of type pid, is this the same thing as was in linux kernel 2.6.32...
p.s. - sock structure in kernel 4.14 has another field called sk_peer_pid of type pid, is this the same thing as was in linux kernel 2.6.32...