Add net_connnection.uid

This commit is contained in:
Doug MacEachern 2007-12-01 20:26:36 +00:00
parent f448bae54e
commit 8e121852bd
1 changed files with 1 additions and 0 deletions

View File

@ -2243,6 +2243,7 @@ static int net_connection_get(sigar_net_connection_walker_t *walker, int proto)
conn.remote_port = ntohs(inp->inp_fport); conn.remote_port = ntohs(inp->inp_fport);
conn.receive_queue = so->so_rcv.sb_cc; conn.receive_queue = so->so_rcv.sb_cc;
conn.send_queue = so->so_snd.sb_cc; conn.send_queue = so->so_snd.sb_cc;
conn.uid = so->so_pgid;
conn.type = type; conn.type = type;
if (!istcp) { if (!istcp) {