Lines Matching refs:fk
848 struct flow_keys fk; in ef4_filter_rfs() local
854 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) in ef4_filter_rfs()
857 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) in ef4_filter_rfs()
859 if (fk.control.flags & FLOW_DIS_IS_FRAGMENT) in ef4_filter_rfs()
869 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs()
870 spec.ip_proto = fk.basic.ip_proto; in ef4_filter_rfs()
872 if (fk.basic.n_proto == htons(ETH_P_IP)) { in ef4_filter_rfs()
873 spec.rem_host[0] = fk.addrs.v4addrs.src; in ef4_filter_rfs()
874 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs()
876 memcpy(spec.rem_host, &fk.addrs.v6addrs.src, sizeof(struct in6_addr)); in ef4_filter_rfs()
877 memcpy(spec.loc_host, &fk.addrs.v6addrs.dst, sizeof(struct in6_addr)); in ef4_filter_rfs()
880 spec.rem_port = fk.ports.src; in ef4_filter_rfs()
881 spec.loc_port = fk.ports.dst; in ef4_filter_rfs()