X-Git-Url: http://bbs.cooldavid.org/git/?a=blobdiff_plain;f=include%2Fnet%2Fsock.h;h=ac53bfbdfe16b57038cf6c0b7f88cc88f5221594;hb=53c3fa206415d8a3f8b2a4f77689ea044c4a9c65;hp=a441c9cdd62540cd7100189c5fa7aea2f6b0b22b;hpb=7ed24e8da75615418cbf3417e421053e53a5f5b3;p=net-next-2.6.git diff --git a/include/net/sock.h b/include/net/sock.h index a441c9cdd62..ac53bfbdfe1 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -195,7 +195,8 @@ struct sock_common { * @sk_priority: %SO_PRIORITY setting * @sk_type: socket type (%SOCK_STREAM, etc) * @sk_protocol: which protocol this socket belongs in this network family - * @sk_peercred: %SO_PEERCRED setting + * @sk_peer_pid: &struct pid for this socket's peer + * @sk_peer_cred: %SO_PEERCRED setting * @sk_rcvlowat: %SO_RCVLOWAT setting * @sk_rcvtimeo: %SO_RCVTIMEO setting * @sk_sndtimeo: %SO_SNDTIMEO setting @@ -211,6 +212,7 @@ struct sock_common { * @sk_send_head: front of stuff to transmit * @sk_security: used by security modules * @sk_mark: generic packet mark + * @sk_classid: this socket's cgroup classid * @sk_write_pending: a write to stream socket waits to start * @sk_state_change: callback to indicate change in the state of the sock * @sk_data_ready: callback to indicate there is data to be processed