Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275080
b: refs/heads/master
c: 4b6cc72
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and David S. Miller committed Nov 4, 2011
1 parent a15de7a commit 6bdb512
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c30bc94758ae2a38a5eb31767c1985c0aae0950b
refs/heads/master: 4b6cc7284ddc9a54910f111085ebf0143ef3f5bd
11 changes: 9 additions & 2 deletions trunk/include/net/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,15 @@ enum {
* NLA_NUL_STRING Maximum length of string (excluding NUL)
* NLA_FLAG Unused
* NLA_BINARY Maximum length of attribute payload
* NLA_NESTED_COMPAT Exact length of structure payload
* All other Exact length of attribute payload
* NLA_NESTED Don't use `len' field -- length verification is
* done by checking len of nested header (or empty)
* NLA_NESTED_COMPAT Minimum length of structure payload
* NLA_U8, NLA_U16,
* NLA_U32, NLA_U64,
* NLA_MSECS Leaving the length field zero will verify the
* given type fits, using it verifies minimum length
* just like "All other"
* All other Minimum length of attribute payload
*
* Example:
* static const struct nla_policy my_policy[ATTR_MAX+1] = {
Expand Down

0 comments on commit 6bdb512

Please sign in to comment.