Lines Matching refs:ip

143 		fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header;  in ice_get_ethtool_fdir_entry()
144 fsp->h_u.usr_ip4_spec.tos = rule->ip.v4.tos; in ice_get_ethtool_fdir_entry()
145 fsp->h_u.usr_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
146 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
157 fsp->h_u.tcp_ip4_spec.psrc = rule->ip.v4.src_port; in ice_get_ethtool_fdir_entry()
158 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry()
159 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
160 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
167 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header; in ice_get_ethtool_fdir_entry()
168 fsp->h_u.usr_ip6_spec.tclass = rule->ip.v6.tc; in ice_get_ethtool_fdir_entry()
169 fsp->h_u.usr_ip6_spec.l4_proto = rule->ip.v6.proto; in ice_get_ethtool_fdir_entry()
170 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
172 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
185 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
187 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
189 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
190 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
199 fsp->h_u.tcp_ip6_spec.tclass = rule->ip.v6.tc; in ice_get_ethtool_fdir_entry()
1761 input->ip.v4.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ice_set_fdir_input_set()
1762 input->ip.v4.src_port = fsp->h_u.tcp_ip4_spec.psrc; in ice_set_fdir_input_set()
1763 input->ip.v4.dst_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in ice_set_fdir_input_set()
1764 input->ip.v4.src_ip = fsp->h_u.tcp_ip4_spec.ip4src; in ice_set_fdir_input_set()
1771 input->ip.v4.dst_ip = fsp->h_u.usr_ip4_spec.ip4dst; in ice_set_fdir_input_set()
1772 input->ip.v4.src_ip = fsp->h_u.usr_ip4_spec.ip4src; in ice_set_fdir_input_set()
1773 input->ip.v4.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1774 input->ip.v4.proto = fsp->h_u.usr_ip4_spec.proto; in ice_set_fdir_input_set()
1775 input->ip.v4.ip_ver = fsp->h_u.usr_ip4_spec.ip_ver; in ice_set_fdir_input_set()
1776 input->ip.v4.tos = fsp->h_u.usr_ip4_spec.tos; in ice_set_fdir_input_set()
1787 memcpy(input->ip.v6.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in ice_set_fdir_input_set()
1789 memcpy(input->ip.v6.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in ice_set_fdir_input_set()
1791 input->ip.v6.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in ice_set_fdir_input_set()
1792 input->ip.v6.src_port = fsp->h_u.tcp_ip6_spec.psrc; in ice_set_fdir_input_set()
1793 input->ip.v6.tc = fsp->h_u.tcp_ip6_spec.tclass; in ice_set_fdir_input_set()
1803 memcpy(input->ip.v6.dst_ip, fsp->h_u.usr_ip6_spec.ip6dst, in ice_set_fdir_input_set()
1805 memcpy(input->ip.v6.src_ip, fsp->h_u.usr_ip6_spec.ip6src, in ice_set_fdir_input_set()
1807 input->ip.v6.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
1808 input->ip.v6.tc = fsp->h_u.usr_ip6_spec.tclass; in ice_set_fdir_input_set()
1812 input->ip.v6.proto = IPPROTO_NONE; in ice_set_fdir_input_set()
1814 input->ip.v6.proto = fsp->h_u.usr_ip6_spec.l4_proto; in ice_set_fdir_input_set()