Home
last modified time | relevance | path

Searched refs:ip6_entry (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c799 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_get_class_rule() local
857 memcpy(ip6_entry->ip6dst, spec.loc_host, in ef4_ethtool_get_class_rule()
858 sizeof(ip6_entry->ip6dst)); in ef4_ethtool_get_class_rule()
862 memcpy(ip6_entry->ip6src, spec.rem_host, in ef4_ethtool_get_class_rule()
863 sizeof(ip6_entry->ip6src)); in ef4_ethtool_get_class_rule()
867 ip6_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
871 ip6_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
1035 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in ef4_ethtool_set_class_rule() local
1111 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in ef4_ethtool_set_class_rule()
1117 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in ef4_ethtool_set_class_rule()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_get_class_rule() local
710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
711 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
715 memcpy(ip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
716 sizeof(ip6_entry->ip6src)); in efx_ethtool_get_class_rule()
720 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
724 ip6_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
924 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule() local
1009 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1015 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c652 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_get_class_rule() local
710 memcpy(ip6_entry->ip6dst, spec.loc_host, in efx_ethtool_get_class_rule()
711 sizeof(ip6_entry->ip6dst)); in efx_ethtool_get_class_rule()
715 memcpy(ip6_entry->ip6src, spec.rem_host, in efx_ethtool_get_class_rule()
716 sizeof(ip6_entry->ip6src)); in efx_ethtool_get_class_rule()
720 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
724 ip6_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
925 struct ethtool_tcpip6_spec *ip6_entry = &rule->h_u.tcp_ip6_spec; in efx_ethtool_set_class_rule() local
1010 memcpy(spec.loc_host, ip6_entry->ip6dst, sizeof(spec.loc_host)); in efx_ethtool_set_class_rule()
1016 memcpy(spec.rem_host, ip6_entry->ip6src, sizeof(spec.rem_host)); in efx_ethtool_set_class_rule()
[all …]