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

/linux-master/drivers/net/ethernet/sfc/
H A Dfilter.h137 * @loc_host: Local IP host to match, if %EFX_FILTER_MATCH_LOC_HOST is set
166 __be32 loc_host[4]; member in struct:efx_filter_spec
215 spec->loc_host[0] = host;
236 memcpy(spec->loc_host, host, sizeof(spec->loc_host));
261 spec->loc_host[0] = lhost;
H A Drx_common.c649 ipv4_is_multicast(spec->loc_host[0]))
652 ((const u8 *)spec->loc_host)[0] == 0xff)
906 req->spec.loc_host, ntohs(req->spec.loc_port),
913 req->spec.loc_host, ntohs(req->spec.loc_port),
922 req->spec.loc_host, ntohs(req->spec.loc_port),
929 req->spec.loc_host, ntohs(req->spec.loc_port),
994 req->spec.loc_host[0] = fk.addrs.v4addrs.dst;
998 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst,
H A Dethtool_common.c683 ip_entry->ip4dst = spec.loc_host[0];
710 memcpy(ip6_entry->ip6dst, spec.loc_host,
762 uip_entry->ip4dst = spec.loc_host[0];
781 memcpy(uip6_entry->ip6dst, spec.loc_host,
974 spec.loc_host[0] = ip_entry->ip4dst;
1009 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host));
1043 spec.loc_host[0] = uip_entry->ip4dst;
1068 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host));
[all...]
H A Dptp.c212 * @loc_host: IPv4/v6 address of the filter
220 __be32 loc_host[4]; member in struct:efx_ptp_rxfilter
1216 !memcmp(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host)))
1277 memcpy(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host));
H A Dmcdi_filters.c73 !ipv4_is_multicast(spec->loc_host[0]))
76 ((const u8 *)spec->loc_host)[0] != 0xff)
179 COPY_FIELD(LOC_HOST, loc_host, DST_IP);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h114 * @loc_host: Local IP host to match, if %EF4_FILTER_MATCH_LOC_HOST is set
140 __be32 loc_host[4]; member in struct:ef4_filter_spec
189 spec->loc_host[0] = host;
214 spec->loc_host[0] = lhost;
H A Dethtool.c830 ip_entry->ip4dst = spec.loc_host[0];
857 memcpy(ip6_entry->ip6dst, spec.loc_host,
909 uip_entry->ip4dst = spec.loc_host[0];
928 memcpy(uip6_entry->ip6dst, spec.loc_host,
1076 spec.loc_host[0] = ip_entry->ip4dst;
1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host));
1145 spec.loc_host[0] = uip_entry->ip4dst;
1170 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host));
[all...]
H A Drx.c874 spec.loc_host[0] = fk.addrs.v4addrs.dst;
877 memcpy(spec.loc_host, &fk.addrs.v6addrs.dst, sizeof(struct in6_addr));
896 spec.rem_host, ntohs(spec.rem_port), spec.loc_host,
902 spec.rem_host, ntohs(spec.rem_port), spec.loc_host,
971 ipv4_is_multicast(spec->loc_host[0]))
974 ((const u8 *)spec->loc_host)[0] == 0xff)
H A Dfarch.c2015 host2 = gen_spec->loc_host[0];
2103 gen_spec->loc_host[0] = host1;
2106 gen_spec->loc_host[0] = host2;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfilter.h138 * @loc_host: Local IP host to match, if %EFX_FILTER_MATCH_LOC_HOST is set
166 __be32 loc_host[4]; member in struct:efx_filter_spec
215 spec->loc_host[0] = host;
240 spec->loc_host[0] = lhost;
H A Drx_common.c651 ipv4_is_multicast(spec->loc_host[0]))
654 ((const u8 *)spec->loc_host)[0] == 0xff)
911 req->spec.loc_host, ntohs(req->spec.loc_port),
918 req->spec.loc_host, ntohs(req->spec.loc_port),
927 req->spec.loc_host, ntohs(req->spec.loc_port),
934 req->spec.loc_host, ntohs(req->spec.loc_port),
1000 req->spec.loc_host[0] = fk.addrs.v4addrs.dst;
1004 memcpy(req->spec.loc_host, &fk.addrs.v6addrs.dst,
H A Dethtool_common.c683 ip_entry->ip4dst = spec.loc_host[0];
710 memcpy(ip6_entry->ip6dst, spec.loc_host,
762 uip_entry->ip4dst = spec.loc_host[0];
781 memcpy(uip6_entry->ip6dst, spec.loc_host,
975 spec.loc_host[0] = ip_entry->ip4dst;
1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host));
1044 spec.loc_host[0] = uip_entry->ip4dst;
1069 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host));
[all...]
H A Dfarch.c2084 host2 = gen_spec->loc_host[0];
2172 gen_spec->loc_host[0] = host1;
2175 gen_spec->loc_host[0] = host2;

Completed in 188 milliseconds