Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c212 switch (ntohs(fltr->ip_data.dst_port)) { in iavf_fill_fdir_udp_flex_pay_hdr()
247 iph->tos = fltr->ip_data.tos; in iavf_fill_fdir_ip4_hdr()
252 iph->protocol = fltr->ip_data.proto; in iavf_fill_fdir_ip4_hdr()
257 iph->saddr = fltr->ip_data.v4_addrs.src_ip; in iavf_fill_fdir_ip4_hdr()
262 iph->daddr = fltr->ip_data.v4_addrs.dst_ip; in iavf_fill_fdir_ip4_hdr()
288 iph->priority = (fltr->ip_data.tclass >> 4) & 0xF; in iavf_fill_fdir_ip6_hdr()
289 iph->flow_lbl[0] = (fltr->ip_data.tclass << 4) & 0xF0; in iavf_fill_fdir_ip6_hdr()
294 iph->nexthdr = fltr->ip_data.proto; in iavf_fill_fdir_ip6_hdr()
300 memcpy(&iph->saddr, &fltr->ip_data.v6_addrs.src_ip, in iavf_fill_fdir_ip6_hdr()
307 memcpy(&iph->daddr, &fltr->ip_data.v6_addrs.dst_ip, in iavf_fill_fdir_ip6_hdr()
[all …]
Diavf_ethtool.c1088 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1089 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1090 fsp->h_u.tcp_ip4_spec.psrc = rule->ip_data.src_port; in iavf_get_ethtool_fdir_entry()
1091 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1092 fsp->h_u.tcp_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1101 fsp->h_u.ah_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1102 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1103 fsp->h_u.ah_ip4_spec.spi = rule->ip_data.spi; in iavf_get_ethtool_fdir_entry()
1104 fsp->h_u.ah_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1111 fsp->h_u.usr_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
[all …]
Diavf_fdir.h92 struct iavf_fdir_ip ip_data; member
/linux-6.1.9/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()