• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/

Lines Matching refs:nlattr

87  *   struct nlattr			netlink attribtue header
224 extern int nla_validate(struct nlattr *head, int len, int maxtype,
226 extern int nla_parse(struct nlattr *tb[], int maxtype,
227 struct nlattr *head, int len,
229 extern struct nlattr * nla_find(struct nlattr *head, int len, int attrtype);
230 extern size_t nla_strlcpy(char *dst, const struct nlattr *nla,
232 extern int nla_memcpy(void *dest, struct nlattr *src, int count);
233 extern int nla_memcmp(const struct nlattr *nla, const void *data,
235 extern int nla_strcmp(const struct nlattr *nla, const char *str);
236 extern struct nlattr * __nla_reserve(struct sk_buff *skb, int attrtype,
239 extern struct nlattr * nla_reserve(struct sk_buff *skb, int attrtype,
305 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh,
309 return (struct nlattr *) (data + NLMSG_ALIGN(hdrlen));
362 struct nlattr *tb[], int maxtype,
380 static inline struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh,
633 static inline void *nla_data(const struct nlattr *nla)
642 static inline int nla_len(const struct nlattr *nla)
652 static inline int nla_ok(const struct nlattr *nla, int remaining)
667 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining)
672 return (struct nlattr *) ((char *) nla + totlen);
682 static inline struct nlattr *nla_find_nested(struct nlattr *nla, int attrtype)
696 static inline int nla_parse_nested(struct nlattr *tb[], int maxtype,
697 struct nlattr *nla,
824 static inline u32 nla_get_u32(struct nlattr *nla)
833 static inline __be32 nla_get_be32(struct nlattr *nla)
842 static inline u16 nla_get_u16(struct nlattr *nla)
851 static inline __le16 nla_get_le16(struct nlattr *nla)
860 static inline u8 nla_get_u8(struct nlattr *nla)
869 static inline u64 nla_get_u64(struct nlattr *nla)
882 static inline int nla_get_flag(struct nlattr *nla)
893 static inline unsigned long nla_get_msecs(struct nlattr *nla)
907 static inline struct nlattr *nla_nest_start(struct sk_buff *skb, int attrtype)
909 struct nlattr *start = (struct nlattr *)skb_tail_pointer(skb);
927 static inline int nla_nest_end(struct sk_buff *skb, struct nlattr *start)
941 static inline int nla_nest_cancel(struct sk_buff *skb, struct nlattr *start)
958 static inline int nla_validate_nested(struct nlattr *start, int maxtype,