Lines Matching defs:ifrh
1451 struct ifrsshash ifrh;
1498 memset(&ifrh, 0, sizeof(ifrh));
1499 strlcpy(ifrh.ifrh_name, if_name(vf_ifp), sizeof(ifrh.ifrh_name));
1500 error = ifhwioctl(SIOCGIFRSSHASH, vf_ifp, (caddr_t)&ifrh, curthread);
1506 if (ifrh.ifrh_func != RSS_FUNC_TOEPLITZ) {
1508 if_name(vf_ifp), ifrh.ifrh_func);
1513 if ((ifrh.ifrh_types & my_types) == 0) {
1517 ifrh.ifrh_types, my_types);
1521 diff_types = my_types ^ ifrh.ifrh_types;
1522 my_types &= ifrh.ifrh_types;
1540 (diff_types & ifrh.ifrh_types &
1547 (diff_types & ifrh.ifrh_types &
1556 (diff_types & ifrh.ifrh_types &
1565 (diff_types & ifrh.ifrh_types & RSS_TYPE_TCP_IPV6_EX)) {
1571 (diff_types & ifrh.ifrh_types & RSS_TYPE_TCP_IPV6)) {
1577 (diff_types & ifrh.ifrh_types & RSS_TYPE_UDP_IPV6_EX)) {
1583 (diff_types & ifrh.ifrh_types & RSS_TYPE_UDP_IPV6)) {
3732 struct ifrsshash *ifrh;
4004 ifrh = (struct ifrsshash *)data;
4008 ifrh->ifrh_func = RSS_FUNC_NONE;
4009 ifrh->ifrh_types = 0;
4014 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ;
4016 ifrh->ifrh_func = RSS_FUNC_PRIVATE;
4017 ifrh->ifrh_types = hn_rss_type_fromndis(sc->hn_rss_hash);