Lines Matching defs:nh
332 struct nlmsghdr *nh;
352 nh = (struct nlmsghdr *)buff;
353 for (nh = (struct nlmsghdr *)buff;
354 NLMSG_OK(nh, read_size);
355 nh = (struct nlmsghdr *)NLMSG_NEXT(nh, read_size)){
356 if (nh->nlmsg_pid != pid ||
357 nh->nlmsg_seq != seq)
359 if (nh->nlmsg_type == NLMSG_DONE){
363 if (nh->nlmsg_type == NLMSG_ERROR){
364 struct nlmsgerr *nlerr = (struct nlmsgerr *)NLMSG_DATA(nh);
366 if (nh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr)))