Lines Matching refs:tuple

97 void nl_cli_exp_parse_src(struct nfnl_exp *exp, int tuple, char *arg)  in nl_cli_exp_parse_src()  argument
101 if ((err = nfnl_exp_set_src(exp, tuple, a)) < 0) in nl_cli_exp_parse_src()
106 void nl_cli_exp_parse_dst(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_dst() argument
110 if ((err = nfnl_exp_set_dst(exp, tuple, a)) < 0) in nl_cli_exp_parse_dst()
115 void nl_cli_exp_parse_l4protonum(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_l4protonum() argument
124 nfnl_exp_set_l4protonum(exp, tuple, l4protonum); in nl_cli_exp_parse_l4protonum()
127 void nl_cli_exp_parse_src_port(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_src_port() argument
130 uint16_t dport = nfnl_exp_get_dst_port(exp, tuple); in nl_cli_exp_parse_src_port()
131 nfnl_exp_set_ports(exp, tuple, sport, dport); in nl_cli_exp_parse_src_port()
134 void nl_cli_exp_parse_dst_port(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_dst_port() argument
137 uint16_t sport = nfnl_exp_get_src_port(exp, tuple); in nl_cli_exp_parse_dst_port()
138 nfnl_exp_set_ports(exp, tuple, sport, dport); in nl_cli_exp_parse_dst_port()
141 void nl_cli_exp_parse_icmp_id(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_icmp_id() argument
144 uint8_t type = nfnl_exp_get_icmp_type(exp, tuple); in nl_cli_exp_parse_icmp_id()
145 uint8_t code = nfnl_exp_get_icmp_code(exp, tuple); in nl_cli_exp_parse_icmp_id()
146 nfnl_exp_set_icmp(exp, tuple, id, type, code); in nl_cli_exp_parse_icmp_id()
149 void nl_cli_exp_parse_icmp_type(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_icmp_type() argument
152 uint16_t id = nfnl_exp_get_icmp_id(exp, tuple); in nl_cli_exp_parse_icmp_type()
153 uint8_t code = nfnl_exp_get_icmp_code(exp, tuple); in nl_cli_exp_parse_icmp_type()
154 nfnl_exp_set_icmp(exp, tuple, id, type, code); in nl_cli_exp_parse_icmp_type()
157 void nl_cli_exp_parse_icmp_code(struct nfnl_exp *exp, int tuple, char *arg) in nl_cli_exp_parse_icmp_code() argument
160 uint16_t id = nfnl_exp_get_icmp_id(exp, tuple); in nl_cli_exp_parse_icmp_code()
161 uint8_t type = nfnl_exp_get_icmp_type(exp, tuple); in nl_cli_exp_parse_icmp_code()
162 nfnl_exp_set_icmp(exp, tuple, id, type, code); in nl_cli_exp_parse_icmp_code()