• Home
  • Raw
  • Download

Lines Matching refs:ip

885 		switch (input->ip.v4.proto) {  in ice_fdir_get_gen_prgm_pkt()
900 switch (input->ip.v6.proto) { in ice_fdir_get_gen_prgm_pkt()
944 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
946 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
948 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
950 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
951 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt()
952 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
959 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
961 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
963 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
965 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
966 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt()
967 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
974 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
976 input->ip.v4.src_port); in ice_fdir_get_gen_prgm_pkt()
978 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
980 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
981 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt()
982 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
987 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
989 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
990 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt()
991 ice_pkt_insert_u8(loc, ICE_IPV4_TTL_OFFSET, input->ip.v4.ttl); in ice_fdir_get_gen_prgm_pkt()
993 input->ip.v4.proto); in ice_fdir_get_gen_prgm_pkt()
1001 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
1003 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1019 input->ip.v4.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1023 input->ip.v6.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1027 input->ip.v4.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1031 input->ip.v6.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1035 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
1037 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1039 input->ip.v4.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1043 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1045 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1047 input->ip.v6.sec_parm_idx); in ice_fdir_get_gen_prgm_pkt()
1052 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
1057 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
1065 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1067 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1069 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1071 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
1072 ice_pkt_insert_u8_tc(loc, ICE_IPV6_TC_OFFSET, input->ip.v6.tc); in ice_fdir_get_gen_prgm_pkt()
1073 ice_pkt_insert_u8(loc, ICE_IPV6_HLIM_OFFSET, input->ip.v6.hlim); in ice_fdir_get_gen_prgm_pkt()
1078 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1080 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1082 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1084 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
1085 ice_pkt_insert_u8_tc(loc, ICE_IPV6_TC_OFFSET, input->ip.v6.tc); in ice_fdir_get_gen_prgm_pkt()
1086 ice_pkt_insert_u8(loc, ICE_IPV6_HLIM_OFFSET, input->ip.v6.hlim); in ice_fdir_get_gen_prgm_pkt()
1091 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1093 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1095 input->ip.v6.src_port); in ice_fdir_get_gen_prgm_pkt()
1097 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
1098 ice_pkt_insert_u8_tc(loc, ICE_IPV6_TC_OFFSET, input->ip.v6.tc); in ice_fdir_get_gen_prgm_pkt()
1099 ice_pkt_insert_u8(loc, ICE_IPV6_HLIM_OFFSET, input->ip.v6.hlim); in ice_fdir_get_gen_prgm_pkt()
1104 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1106 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1107 ice_pkt_insert_u8_tc(loc, ICE_IPV6_TC_OFFSET, input->ip.v6.tc); in ice_fdir_get_gen_prgm_pkt()
1108 ice_pkt_insert_u8(loc, ICE_IPV6_HLIM_OFFSET, input->ip.v6.hlim); in ice_fdir_get_gen_prgm_pkt()
1110 input->ip.v6.proto); in ice_fdir_get_gen_prgm_pkt()
1233 if (a->ip.v4.dst_ip == b->ip.v4.dst_ip && in ice_fdir_comp_rules()
1234 a->ip.v4.src_ip == b->ip.v4.src_ip && in ice_fdir_comp_rules()
1235 a->ip.v4.dst_port == b->ip.v4.dst_port && in ice_fdir_comp_rules()
1236 a->ip.v4.src_port == b->ip.v4.src_port) in ice_fdir_comp_rules()
1239 if (a->ip.v4.dst_ip == b->ip.v4.dst_ip && in ice_fdir_comp_rules()
1240 a->ip.v4.src_ip == b->ip.v4.src_ip && in ice_fdir_comp_rules()
1241 a->ip.v4.l4_header == b->ip.v4.l4_header && in ice_fdir_comp_rules()
1242 a->ip.v4.proto == b->ip.v4.proto && in ice_fdir_comp_rules()
1243 a->ip.v4.ip_ver == b->ip.v4.ip_ver && in ice_fdir_comp_rules()
1244 a->ip.v4.tos == b->ip.v4.tos) in ice_fdir_comp_rules()
1251 if (a->ip.v6.dst_port == b->ip.v6.dst_port && in ice_fdir_comp_rules()
1252 a->ip.v6.src_port == b->ip.v6.src_port && in ice_fdir_comp_rules()
1253 !ice_cmp_ipv6_addr(a->ip.v6.dst_ip, in ice_fdir_comp_rules()
1254 b->ip.v6.dst_ip) && in ice_fdir_comp_rules()
1255 !ice_cmp_ipv6_addr(a->ip.v6.src_ip, in ice_fdir_comp_rules()
1256 b->ip.v6.src_ip)) in ice_fdir_comp_rules()
1259 if (a->ip.v6.dst_port == b->ip.v6.dst_port && in ice_fdir_comp_rules()
1260 a->ip.v6.src_port == b->ip.v6.src_port) in ice_fdir_comp_rules()