Lines Matching refs:v4_key
88 rc = inet_pton(AF_INET, in[CB_FLD_DST_ADDR], &(v->v4_key.ip_dst)); in em_parse_v4_rule()
89 v->v4_key.ip_dst = ntohl(v->v4_key.ip_dst); in em_parse_v4_rule()
93 rc = inet_pton(AF_INET, in[CB_FLD_SRC_ADDR], &(v->v4_key.ip_src)); in em_parse_v4_rule()
94 v->v4_key.ip_src = ntohl(v->v4_key.ip_src); in em_parse_v4_rule()
99 GET_CB_FIELD(in[CB_FLD_SRC_PORT], v->v4_key.port_src, 0, UINT16_MAX, 0); in em_parse_v4_rule()
101 GET_CB_FIELD(in[CB_FLD_DST_PORT], v->v4_key.port_dst, 0, UINT16_MAX, 0); in em_parse_v4_rule()
103 GET_CB_FIELD(in[CB_FLD_PROTO], v->v4_key.proto, 0, UINT8_MAX, 0); in em_parse_v4_rule()
204 em_route_base_v4[i].v4_key.ip_dst = ipv4_l3fwd_em_route_array[i].key.ip_dst; in em_add_default_v4_rules()
205 em_route_base_v4[i].v4_key.ip_src = ipv4_l3fwd_em_route_array[i].key.ip_src; in em_add_default_v4_rules()
206 em_route_base_v4[i].v4_key.port_dst = ipv4_l3fwd_em_route_array[i].key.port_dst; in em_add_default_v4_rules()
207 em_route_base_v4[i].v4_key.port_src = ipv4_l3fwd_em_route_array[i].key.port_src; in em_add_default_v4_rules()
208 em_route_base_v4[i].v4_key.proto = ipv4_l3fwd_em_route_array[i].key.proto; in em_add_default_v4_rules()