Home
last modified time | relevance | path

Searched refs:uip6_entry (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/sfc/
Dethtool_common.c659 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_get_class_rule() local
783 uip6_entry->l4_proto = spec.ip_proto; in efx_ethtool_get_class_rule()
786 memcpy(uip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
787 sizeof(uip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
791 memcpy(uip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
792 sizeof(uip6_entry->ip6src)); in efx_ethtool_get_class_rule()
931 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in efx_ethtool_set_class_rule() local
1073 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1079 memcpy(spec.rem_host, uip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
1085 spec.ip_proto = uip6_entry->l4_proto; in efx_ethtool_set_class_rule()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c791 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_get_class_rule() local
915 uip6_entry->l4_proto = spec.ip_proto; in ef4_ethtool_get_class_rule()
918 memcpy(uip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
919 sizeof(uip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
923 memcpy(uip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
924 sizeof(uip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
1027 struct ethtool_usrip6_spec *uip6_entry = &rule->h_u.usr_ip6_spec; in ef4_ethtool_set_class_rule() local
1160 memcpy(spec.loc_host, uip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
1166 memcpy(spec.rem_host, uip6_entry->ip6src, sizeof(spec.rem_host)); in ef4_ethtool_set_class_rule()
1172 spec.ip_proto = uip6_entry->l4_proto; in ef4_ethtool_set_class_rule()