| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | filter.h | 166 __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 D | rx_common.c | 608 ipv4_is_multicast(spec->loc_host[0])) in efx_filter_is_mc_recipient() 611 ((const u8 *)spec->loc_host)[0] == 0xff) in efx_filter_is_mc_recipient() 865 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 872 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 881 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 888 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 953 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs() 957 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst, in efx_filter_rfs()
|
| H A D | ethtool_common.c | 676 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 703 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 755 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 774 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 967 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule() 1002 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1036 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule() 1061 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
|
| H A D | ptp.c | 220 __be32 loc_host[4]; member 1216 !memcmp(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host))) in efx_ptp_find_filter() 1277 memcpy(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host)); in efx_ptp_insert_filter()
|
| H A D | mcdi_filters.c | 73 !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()
|
| /linux-6.15/drivers/net/ethernet/sfc/falcon/ |
| H A D | filter.h | 140 __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 D | ethtool.c | 824 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 851 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 903 uip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 922 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 1070 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule() 1105 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1139 spec.loc_host[0] = uip_entry->ip4dst; in ef4_ethtool_set_class_rule() 1164 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
|
| H A D | rx.c | 874 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 D | farch.c | 1993 host2 = gen_spec->loc_host[0]; in ef4_farch_filter_from_gen_spec() 2081 gen_spec->loc_host[0] = host1; in ef4_farch_filter_to_gen_spec() 2084 gen_spec->loc_host[0] = host2; in ef4_farch_filter_to_gen_spec()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | filter.h | 166 __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 D | ethtool_common.c | 677 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 704 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 756 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 775 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 956 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule() 991 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1025 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule() 1050 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
|
| H A D | rx_common.c | 595 ipv4_is_multicast(spec->loc_host[0])) in efx_siena_filter_is_mc_recipient() 598 ((const u8 *)spec->loc_host)[0] == 0xff) in efx_siena_filter_is_mc_recipient() 855 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 862 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 871 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 878 req->spec.loc_host, ntohs(req->spec.loc_port), in efx_filter_rfs_work() 944 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_siena_filter_rfs() 948 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst, in efx_siena_filter_rfs()
|
| H A D | farch.c | 2084 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()
|