Lines Matching refs:dfs
1642 struct ch_filter_specification *dfs) in cxgb4_fill_filter_rule() argument
1644 switch (dfs->val.proto) { in cxgb4_fill_filter_rule()
1646 if (dfs->type) in cxgb4_fill_filter_rule()
1652 if (dfs->type) in cxgb4_fill_filter_rule()
1659 if (dfs->type) { in cxgb4_fill_filter_rule()
1660 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1661 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
1662 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1663 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1664 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1666 memcpy(&fs->m_u.tcp_ip6_spec.ip6src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1668 memcpy(&fs->h_u.tcp_ip6_spec.ip6dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1670 memcpy(&fs->m_u.tcp_ip6_spec.ip6dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule()
1672 fs->h_u.tcp_ip6_spec.tclass = dfs->val.tos; in cxgb4_fill_filter_rule()
1673 fs->m_u.tcp_ip6_spec.tclass = dfs->mask.tos; in cxgb4_fill_filter_rule()
1675 fs->h_u.tcp_ip4_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1676 fs->m_u.tcp_ip4_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
1677 fs->h_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1678 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1679 memcpy(&fs->h_u.tcp_ip4_spec.ip4src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1681 memcpy(&fs->m_u.tcp_ip4_spec.ip4src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1683 memcpy(&fs->h_u.tcp_ip4_spec.ip4dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1685 memcpy(&fs->m_u.tcp_ip4_spec.ip4dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule()
1687 fs->h_u.tcp_ip4_spec.tos = dfs->val.tos; in cxgb4_fill_filter_rule()
1688 fs->m_u.tcp_ip4_spec.tos = dfs->mask.tos; in cxgb4_fill_filter_rule()
1690 fs->h_ext.vlan_tci = cpu_to_be16(dfs->val.ivlan); in cxgb4_fill_filter_rule()
1691 fs->m_ext.vlan_tci = cpu_to_be16(dfs->mask.ivlan); in cxgb4_fill_filter_rule()
1694 if (dfs->action == FILTER_DROP) in cxgb4_fill_filter_rule()
1697 fs->ring_cookie = dfs->iq; in cxgb4_fill_filter_rule()