• Home
  • Raw
  • Download

Lines Matching full:family

171  * for family here to filter out NL_FAMILY_ERROR and NL_FAMILY_DEFAULT.
174 decode_nlmsg_type(const uint16_t type, const unsigned int family) in decode_nlmsg_type() argument
180 if (type != NLMSG_DONE && family < ARRAY_SIZE(nlmsg_types)) { in decode_nlmsg_type()
181 if (nlmsg_types[family].decoder) in decode_nlmsg_type()
182 decoder = nlmsg_types[family].decoder; in decode_nlmsg_type()
183 if (nlmsg_types[family].xlat) in decode_nlmsg_type()
184 xlat = nlmsg_types[family].xlat; in decode_nlmsg_type()
185 if (nlmsg_types[family].dflt) in decode_nlmsg_type()
186 dflt = nlmsg_types[family].dflt; in decode_nlmsg_type()
193 decode_nlmsg_flags(const uint16_t flags, const uint16_t type, const int family) in decode_nlmsg_flags() argument
200 switch (family) { in decode_nlmsg_flags()
246 int family, in print_nlmsghdr() argument
256 : (family != NL_FAMILY_DEFAULT in print_nlmsghdr()
257 ? family : get_fd_nl_family(tcp, fd)); in print_nlmsghdr()
268 return family != NL_FAMILY_DEFAULT ? family : hdr_family; in print_nlmsghdr()
274 int family,
282 const int family, in decode_nlmsgerr() argument
309 decode_nlmsghdr_with_payload(tcp, fd, family, in decode_nlmsgerr()
324 const int family, in decode_payload() argument
330 decode_nlmsgerr(tcp, fd, family, addr, len); in decode_payload()
334 if ((unsigned int) family < ARRAY_SIZE(netlink_decoders) in decode_payload()
335 && netlink_decoders[family] in decode_payload()
336 && netlink_decoders[family](tcp, nlmsghdr, addr, len)) { in decode_payload()
354 int family, in decode_nlmsghdr_with_payload() argument
365 family = print_nlmsghdr(tcp, fd, family, nlmsghdr); in decode_nlmsghdr_with_payload()
369 decode_payload(tcp, fd, family, nlmsghdr, addr + NLMSG_HDRLEN, in decode_nlmsghdr_with_payload()