Home
last modified time | relevance | path

Searched refs:ip_mask (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c1097 fsp->m_u.tcp_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1107 fsp->m_u.ah_ip4_spec.spi = rule->ip_mask.spi; in iavf_get_ethtool_fdir_entry()
1108 fsp->m_u.ah_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1120 fsp->m_u.usr_ip4_spec.tos = rule->ip_mask.tos; in iavf_get_ethtool_fdir_entry()
1122 fsp->m_u.usr_ip4_spec.proto = rule->ip_mask.proto; in iavf_get_ethtool_fdir_entry()
1154 fsp->m_u.ah_ip6_spec.spi = rule->ip_mask.spi; in iavf_get_ethtool_fdir_entry()
1285 fltr->ip_mask.tos = fsp->m_u.tcp_ip4_spec.tos; in iavf_add_fdir_fltr_info()
1295 fltr->ip_mask.spi = fsp->m_u.ah_ip4_spec.spi; in iavf_add_fdir_fltr_info()
1296 fltr->ip_mask.tos = fsp->m_u.ah_ip4_spec.tos; in iavf_add_fdir_fltr_info()
1307 fltr->ip_mask.tos = fsp->m_u.usr_ip4_spec.tos; in iavf_add_fdir_fltr_info()
[all …]
A Diavf_fdir.c246 if (fltr->ip_mask.tos == U8_MAX) { in iavf_fill_fdir_ip4_hdr()
251 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip4_hdr()
287 if (fltr->ip_mask.tclass == U8_MAX) { in iavf_fill_fdir_ip6_hdr()
293 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip6_hdr()
333 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
338 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
362 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
367 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
394 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr()
423 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_ah_hdr()
[all …]
A Diavf_fdir.h93 struct iavf_fdir_ip ip_mask; member
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dethtool_common.c684 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
688 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
692 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
696 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
971 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()
977 if (ip_mask->ip4src) { in efx_ethtool_set_class_rule()
983 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
984 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
989 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
990 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dethtool.c831 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()
835 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()
839 ip_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
843 ip_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
1072 if (ip_mask->ip4dst) { in ef4_ethtool_set_class_rule()
1078 if (ip_mask->ip4src) { in ef4_ethtool_set_class_rule()
1084 if (ip_mask->pdst) { in ef4_ethtool_set_class_rule()
1085 if (ip_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1090 if (ip_mask->psrc) { in ef4_ethtool_set_class_rule()
1091 if (ip_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dethtool_common.c684 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
688 ip_mask->ip4src = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
692 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
696 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
970 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()
976 if (ip_mask->ip4src) { in efx_ethtool_set_class_rule()
982 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
983 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
988 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
989 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Datmmpc.h54 __be32 ip_mask; member
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/intel/
A Dice.rst257 # ethtool -U <ethX> flow-type <type> src-ip <ip> [m <ip_mask>] dst-ip <ip>
258 [m <ip_mask>] src-port <port> [m <port_mask>] dst-port <port> [m <port_mask>]
265 <ip_mask> - the IPv4 address to mask on
/linux-6.3-rc2/net/atm/
A Dmpc.c1209 __be32 mask = msg->ip_mask; in ingress_purge_rcvd()

Completed in 22 milliseconds