Lines Matching refs:tu
6689 ipftune_t tu; local
6693 error = fr_inobj(data, &tu, IPFOBJ_TUNEABLE);
6697 tu.ipft_name[sizeof(tu.ipft_name) - 1] = '\0';
6698 cookie = tu.ipft_cookie;
6714 ta = fr_findtunebycookie(cookie, &tu.ipft_cookie, ifs);
6717 tu.ipft_cookie = ta + 1;
6724 if (ta->ipft_sz > sizeof(tu.ipft_un))
6727 tu.ipft_vlong = 0;
6729 tu.ipft_vlong = *ta->ipft_plong;
6731 tu.ipft_vint = *ta->ipft_pint;
6733 tu.ipft_vshort = *ta->ipft_pshort;
6735 tu.ipft_vchar = *ta->ipft_pchar;
6737 tu.ipft_sz = ta->ipft_sz;
6738 tu.ipft_min = ta->ipft_min;
6739 tu.ipft_max = ta->ipft_max;
6740 tu.ipft_flags = ta->ipft_flags;
6741 bcopy(ta->ipft_name, tu.ipft_name,
6742 MIN(sizeof(tu.ipft_name),
6745 error = fr_outobj(data, &tu, IPFOBJ_TUNEABLE);
6759 } else if (tu.ipft_name[0] != '\0') {
6760 ta = fr_findtunebyname(tu.ipft_name, ifs);
6771 tu.ipft_vlong = 0;
6773 tu.ipft_vlong = *ta->ipft_plong;
6775 tu.ipft_vint = *ta->ipft_pint;
6777 tu.ipft_vshort = *ta->ipft_pshort;
6779 tu.ipft_vchar = *ta->ipft_pchar;
6780 tu.ipft_cookie = ta;
6781 tu.ipft_sz = ta->ipft_sz;
6782 tu.ipft_min = ta->ipft_min;
6783 tu.ipft_max = ta->ipft_max;
6784 tu.ipft_flags = ta->ipft_flags;
6785 error = fr_outobj(data, &tu, IPFOBJ_TUNEABLE);
6801 in = tu.ipft_vlong;
6808 tu.ipft_vlong = *ta->ipft_plong;
6811 tu.ipft_vint = *ta->ipft_pint;
6814 tu.ipft_vshort = *ta->ipft_pshort;
6817 tu.ipft_vchar = *ta->ipft_pchar;
6820 error = fr_outobj(data, &tu, IPFOBJ_TUNEABLE);