Searched refs:loc_host (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | filter.h | 143 __be32 loc_host[4]; member 192 spec->loc_host[0] = host; in ef4_filter_set_ipv4_local() 217 spec->loc_host[0] = lhost; in ef4_filter_set_ipv4_full()
|
D | ethtool.c | 826 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 853 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 905 uip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 924 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule() 1072 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule() 1107 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule() 1141 spec.loc_host[0] = uip_entry->ip4dst; in ef4_ethtool_set_class_rule() 1166 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
|
D | rx.c | 868 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs() 871 memcpy(spec.loc_host, &fk.addrs.v6addrs.dst, sizeof(struct in6_addr)); in ef4_filter_rfs() 890 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, in ef4_filter_rfs() 896 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, in ef4_filter_rfs() 965 ipv4_is_multicast(spec->loc_host[0])) in ef4_filter_is_mc_recipient() 968 ((const u8 *)spec->loc_host)[0] == 0xff) in ef4_filter_is_mc_recipient()
|
D | farch.c | 2023 host2 = gen_spec->loc_host[0]; in ef4_farch_filter_from_gen_spec() 2111 gen_spec->loc_host[0] = host1; in ef4_farch_filter_to_gen_spec() 2114 gen_spec->loc_host[0] = host2; in ef4_farch_filter_to_gen_spec()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | filter.h | 169 __be32 loc_host[4]; member 218 spec->loc_host[0] = host; in efx_filter_set_ipv4_local() 243 spec->loc_host[0] = lhost; in efx_filter_set_ipv4_full()
|
D | ethtool.c | 849 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 876 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 928 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 947 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule() 1137 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule() 1172 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule() 1206 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule() 1231 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
|
D | rx.c | 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() 947 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs() 951 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst, in efx_filter_rfs() 1061 ipv4_is_multicast(spec->loc_host[0])) in efx_filter_is_mc_recipient() 1064 ((const u8 *)spec->loc_host)[0] == 0xff) in efx_filter_is_mc_recipient()
|
D | farch.c | 2082 host2 = gen_spec->loc_host[0]; in efx_farch_filter_from_gen_spec() 2170 gen_spec->loc_host[0] = host1; in efx_farch_filter_to_gen_spec() 2173 gen_spec->loc_host[0] = host2; in efx_farch_filter_to_gen_spec()
|
D | ef10.c | 4017 !ipv4_is_multicast(spec->loc_host[0])) in efx_ef10_filter_is_exclusive() 4020 ((const u8 *)spec->loc_host)[0] != 0xff) in efx_ef10_filter_is_exclusive() 4134 COPY_FIELD(LOC_HOST, loc_host, DST_IP); in efx_ef10_filter_push_prep_set_match_fields()
|