Searched refs:ip_data (Results 1 – 4 of 4) sorted by relevance
286 switch (ntohs(fltr->ip_data.dst_port)) { in iavf_fill_fdir_udp_flex_pay_hdr()321 iph->tos = fltr->ip_data.tos; in iavf_fill_fdir_ip4_hdr()326 iph->protocol = fltr->ip_data.proto; in iavf_fill_fdir_ip4_hdr()331 iph->saddr = fltr->ip_data.v4_addrs.src_ip; in iavf_fill_fdir_ip4_hdr()336 iph->daddr = fltr->ip_data.v4_addrs.dst_ip; in iavf_fill_fdir_ip4_hdr()360 iph->priority = (fltr->ip_data.tclass >> 4) & 0xF; in iavf_fill_fdir_ip6_hdr()361 iph->flow_lbl[0] = FIELD_PREP(0xF0, fltr->ip_data.tclass); in iavf_fill_fdir_ip6_hdr()366 iph->nexthdr = fltr->ip_data.proto; in iavf_fill_fdir_ip6_hdr()372 memcpy(&iph->saddr, &fltr->ip_data.v6_addrs.src_ip, in iavf_fill_fdir_ip6_hdr()379 memcpy(&iph->daddr, &fltr->ip_data.v6_addrs.dst_ip, in iavf_fill_fdir_ip6_hdr()[all …]
945 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()946 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()947 fsp->h_u.tcp_ip4_spec.psrc = rule->ip_data.src_port; in iavf_get_ethtool_fdir_entry()948 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()949 fsp->h_u.tcp_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()958 fsp->h_u.ah_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()959 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()960 fsp->h_u.ah_ip4_spec.spi = rule->ip_data.spi; in iavf_get_ethtool_fdir_entry()961 fsp->h_u.ah_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()968 fsp->h_u.usr_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()[all …]
105 struct iavf_fdir_ip ip_data; member
492 struct ocelot_vcap_u48 *ip_data; in is2_entry_set() local501 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()