diff options
author | Pierre Ynard <linkfanel@yahoo.fr> | 2007-10-11 00:09:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-11 00:09:48 -0400 |
commit | d1ec3b772233826bf156284170632563790dbabf (patch) | |
tree | 3456c34c3047affe8bcac331c68fea9b1e08bcf4 /include/net | |
parent | fa8705b00aeca19d91a1437b8a5cf865999b28f6 (diff) |
[NETLINK]: Fix typos in comments in netlink.h
This patch fixes a few typos in comments in include/net/netlink.h
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netlink.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index 83113dfcbd04..1afd3e837d23 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h | |||
@@ -84,7 +84,7 @@ | |||
84 | * nla_next(nla)-----------------------------' | 84 | * nla_next(nla)-----------------------------' |
85 | * | 85 | * |
86 | * Data Structures: | 86 | * Data Structures: |
87 | * struct nlattr netlink attribtue header | 87 | * struct nlattr netlink attribute header |
88 | * | 88 | * |
89 | * Attribute Construction: | 89 | * Attribute Construction: |
90 | * nla_reserve(skb, type, len) reserve room for an attribute | 90 | * nla_reserve(skb, type, len) reserve room for an attribute |
@@ -706,7 +706,7 @@ static inline int nla_ok(const struct nlattr *nla, int remaining) | |||
706 | } | 706 | } |
707 | 707 | ||
708 | /** | 708 | /** |
709 | * nla_next - next netlink attribte in attribute stream | 709 | * nla_next - next netlink attribute in attribute stream |
710 | * @nla: netlink attribute | 710 | * @nla: netlink attribute |
711 | * @remaining: number of bytes remaining in attribute stream | 711 | * @remaining: number of bytes remaining in attribute stream |
712 | * | 712 | * |
@@ -782,7 +782,7 @@ static inline int __nla_parse_nested_compat(struct nlattr *tb[], int maxtype, | |||
782 | ({ data = nla_len(nla) >= len ? nla_data(nla) : NULL; \ | 782 | ({ data = nla_len(nla) >= len ? nla_data(nla) : NULL; \ |
783 | __nla_parse_nested_compat(tb, maxtype, nla, policy, len); }) | 783 | __nla_parse_nested_compat(tb, maxtype, nla, policy, len); }) |
784 | /** | 784 | /** |
785 | * nla_put_u8 - Add a u16 netlink attribute to a socket buffer | 785 | * nla_put_u8 - Add a u8 netlink attribute to a socket buffer |
786 | * @skb: socket buffer to add attribute to | 786 | * @skb: socket buffer to add attribute to |
787 | * @attrtype: attribute type | 787 | * @attrtype: attribute type |
788 | * @value: numeric value | 788 | * @value: numeric value |
@@ -998,7 +998,7 @@ static inline struct nlattr *nla_nest_start(struct sk_buff *skb, int attrtype) | |||
998 | 998 | ||
999 | /** | 999 | /** |
1000 | * nla_nest_end - Finalize nesting of attributes | 1000 | * nla_nest_end - Finalize nesting of attributes |
1001 | * @skb: socket buffer the attribtues are stored in | 1001 | * @skb: socket buffer the attributes are stored in |
1002 | * @start: container attribute | 1002 | * @start: container attribute |
1003 | * | 1003 | * |
1004 | * Corrects the container attribute header to include the all | 1004 | * Corrects the container attribute header to include the all |
@@ -1041,7 +1041,7 @@ static inline struct nlattr *nla_nest_compat_start(struct sk_buff *skb, | |||
1041 | 1041 | ||
1042 | /** | 1042 | /** |
1043 | * nla_nest_compat_end - Finalize nesting of compat attributes | 1043 | * nla_nest_compat_end - Finalize nesting of compat attributes |
1044 | * @skb: socket buffer the attribtues are stored in | 1044 | * @skb: socket buffer the attributes are stored in |
1045 | * @start: container attribute | 1045 | * @start: container attribute |
1046 | * | 1046 | * |
1047 | * Corrects the container attribute header to include the all | 1047 | * Corrects the container attribute header to include the all |