diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netlink.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index cd17dda5a987..73ade5fbc856 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -165,7 +165,7 @@ static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) | |||
165 | 165 | ||
166 | struct netlink_skb_parms { | 166 | struct netlink_skb_parms { |
167 | struct scm_creds creds; /* Skb credentials */ | 167 | struct scm_creds creds; /* Skb credentials */ |
168 | __u32 pid; | 168 | __u32 portid; |
169 | __u32 dst_group; | 169 | __u32 dst_group; |
170 | struct sock *ssk; | 170 | struct sock *ssk; |
171 | }; | 171 | }; |
@@ -205,14 +205,14 @@ extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group) | |||
205 | extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group); | 205 | extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group); |
206 | extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); | 206 | extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); |
207 | extern int netlink_has_listeners(struct sock *sk, unsigned int group); | 207 | extern int netlink_has_listeners(struct sock *sk, unsigned int group); |
208 | extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); | 208 | extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock); |
209 | extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, | 209 | extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid, |
210 | __u32 group, gfp_t allocation); | 210 | __u32 group, gfp_t allocation); |
211 | extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, | 211 | extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, |
212 | __u32 pid, __u32 group, gfp_t allocation, | 212 | __u32 portid, __u32 group, gfp_t allocation, |
213 | int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data), | 213 | int (*filter)(struct sock *dsk, struct sk_buff *skb, void *data), |
214 | void *filter_data); | 214 | void *filter_data); |
215 | extern int netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code); | 215 | extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code); |
216 | extern int netlink_register_notifier(struct notifier_block *nb); | 216 | extern int netlink_register_notifier(struct notifier_block *nb); |
217 | extern int netlink_unregister_notifier(struct notifier_block *nb); | 217 | extern int netlink_unregister_notifier(struct notifier_block *nb); |
218 | 218 | ||
@@ -253,12 +253,12 @@ struct netlink_callback { | |||
253 | 253 | ||
254 | struct netlink_notify { | 254 | struct netlink_notify { |
255 | struct net *net; | 255 | struct net *net; |
256 | int pid; | 256 | int portid; |
257 | int protocol; | 257 | int protocol; |
258 | }; | 258 | }; |
259 | 259 | ||
260 | struct nlmsghdr * | 260 | struct nlmsghdr * |
261 | __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags); | 261 | __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags); |
262 | 262 | ||
263 | struct netlink_dump_control { | 263 | struct netlink_dump_control { |
264 | int (*dump)(struct sk_buff *skb, struct netlink_callback *); | 264 | int (*dump)(struct sk_buff *skb, struct netlink_callback *); |