Home
last modified time | relevance | path

Searched refs:loc_host (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dfilter.h166 __be32 loc_host[4]; member
215 spec->loc_host[0] = host; in efx_filter_set_ipv4_local()
236 memcpy(spec->loc_host, host, sizeof(spec->loc_host)); in efx_filter_set_ipv6_local()
261 spec->loc_host[0] = lhost; in efx_filter_set_ipv4_full()
H A Drx_common.c648 ipv4_is_multicast(spec->loc_host[0])) in efx_filter_is_mc_recipient()
651 ((const u8 *)spec->loc_host)[0] == 0xff) in efx_filter_is_mc_recipient()
905 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
912 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
921 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
928 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
993 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs()
997 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst, in efx_filter_rfs()
H A Dethtool_common.c683 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
762 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
781 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
974 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule()
1009 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1043 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule()
1068 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
H A Dptp.c214 __be32 loc_host[4]; member
1210 !memcmp(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host))) in efx_ptp_find_filter()
1271 memcpy(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host)); in efx_ptp_insert_filter()
H A Dmcdi_filters.c73 !ipv4_is_multicast(spec->loc_host[0])) in efx_mcdi_filter_is_exclusive()
76 ((const u8 *)spec->loc_host)[0] != 0xff) in efx_mcdi_filter_is_exclusive()
179 COPY_FIELD(LOC_HOST, loc_host, DST_IP); in efx_mcdi_filter_push_prep_set_match_fields()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h140 __be32 loc_host[4]; member
189 spec->loc_host[0] = host; in ef4_filter_set_ipv4_local()
214 spec->loc_host[0] = lhost; in ef4_filter_set_ipv4_full()
H A Dethtool.c830 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule()
857 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
909 uip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule()
928 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
1076 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule()
1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
1145 spec.loc_host[0] = uip_entry->ip4dst; in ef4_ethtool_set_class_rule()
1170 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
H A Drx.c874 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs()
877 memcpy(spec.loc_host, &fk.addrs.v6addrs.dst, sizeof(struct in6_addr)); in ef4_filter_rfs()
896 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, in ef4_filter_rfs()
902 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, in ef4_filter_rfs()
971 ipv4_is_multicast(spec->loc_host[0])) in ef4_filter_is_mc_recipient()
974 ((const u8 *)spec->loc_host)[0] == 0xff) in ef4_filter_is_mc_recipient()
H A Dfarch.c2015 host2 = gen_spec->loc_host[0]; in ef4_farch_filter_from_gen_spec()
2103 gen_spec->loc_host[0] = host1; in ef4_farch_filter_to_gen_spec()
2106 gen_spec->loc_host[0] = host2; in ef4_farch_filter_to_gen_spec()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dfilter.h166 __be32 loc_host[4]; member
215 spec->loc_host[0] = host; in efx_filter_set_ipv4_local()
240 spec->loc_host[0] = lhost; in efx_filter_set_ipv4_full()
H A Drx_common.c650 ipv4_is_multicast(spec->loc_host[0])) in efx_siena_filter_is_mc_recipient()
653 ((const u8 *)spec->loc_host)[0] == 0xff) in efx_siena_filter_is_mc_recipient()
910 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
917 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
926 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
933 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work()
999 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_siena_filter_rfs()
1003 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst, in efx_siena_filter_rfs()
H A Dethtool_common.c683 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
762 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
781 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
975 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule()
1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1044 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule()
1069 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
H A Dfarch.c2084 host2 = gen_spec->loc_host[0]; in efx_farch_filter_from_gen_spec()
2172 gen_spec->loc_host[0] = host1; in efx_farch_filter_to_gen_spec()
2175 gen_spec->loc_host[0] = host2; in efx_farch_filter_to_gen_spec()