Lines Matching refs:fkeys
1031 struct flow_keys *fkeys; in bnxt_grxclsrule() local
1051 fkeys = &fltr->fkeys; in bnxt_grxclsrule()
1052 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { in bnxt_grxclsrule()
1053 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule()
1055 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule()
1060 fs->h_u.tcp_ip4_spec.ip4src = fkeys->addrs.v4addrs.src; in bnxt_grxclsrule()
1063 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule()
1066 fs->h_u.tcp_ip4_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1069 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1074 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule()
1076 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule()
1082 fkeys->addrs.v6addrs.src; in bnxt_grxclsrule()
1084 fkeys->addrs.v6addrs.dst; in bnxt_grxclsrule()
1089 fs->h_u.tcp_ip6_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule()
1092 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()