Home
last modified time | relevance | path

Searched refs:ip_data (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c285 switch (ntohs(fltr->ip_data.dst_port)) { in iavf_fill_fdir_udp_flex_pay_hdr()
320 iph->tos = fltr->ip_data.tos; in iavf_fill_fdir_ip4_hdr()
325 iph->protocol = fltr->ip_data.proto; in iavf_fill_fdir_ip4_hdr()
330 iph->saddr = fltr->ip_data.v4_addrs.src_ip; in iavf_fill_fdir_ip4_hdr()
335 iph->daddr = fltr->ip_data.v4_addrs.dst_ip; in iavf_fill_fdir_ip4_hdr()
359 iph->priority = (fltr->ip_data.tclass >> 4) & 0xF; in iavf_fill_fdir_ip6_hdr()
360 iph->flow_lbl[0] = (fltr->ip_data.tclass << 4) & 0xF0; in iavf_fill_fdir_ip6_hdr()
365 iph->nexthdr = fltr->ip_data.proto; in iavf_fill_fdir_ip6_hdr()
371 memcpy(&iph->saddr, &fltr->ip_data.v6_addrs.src_ip, in iavf_fill_fdir_ip6_hdr()
378 memcpy(&iph->daddr, &fltr->ip_data.v6_addrs.dst_ip, in iavf_fill_fdir_ip6_hdr()
[all …]
Diavf_ethtool.c1086 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1087 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1088 fsp->h_u.tcp_ip4_spec.psrc = rule->ip_data.src_port; in iavf_get_ethtool_fdir_entry()
1089 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1090 fsp->h_u.tcp_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1099 fsp->h_u.ah_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1100 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1101 fsp->h_u.ah_ip4_spec.spi = rule->ip_data.spi; in iavf_get_ethtool_fdir_entry()
1102 fsp->h_u.ah_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1109 fsp->h_u.usr_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
[all …]
Diavf_fdir.h105 struct iavf_fdir_ip ip_data; member
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_vcap.c492 struct ocelot_vcap_u48 *ip_data; in is2_entry_set() local
501 ip_data = &ipv4->data; in is2_entry_set()
522 ip_data = &ipv6->data; in is2_entry_set()
607 payload.value[i] = ip_data->value[i]; in is2_entry_set()
608 payload.mask[i] = ip_data->mask[i]; in is2_entry_set()