Home
last modified time | relevance | path

Searched refs:verdict (Results 1 – 25 of 35) sorted by relevance

12

/external/iptables/iptables/
Dnft-bridge.h139 static inline int ebt_fill_target(const char *str, unsigned int *verdict) in ebt_fill_target() argument
145 *verdict = -i - 1; in ebt_fill_target()
156 static inline const char *ebt_target_name(unsigned int verdict) in ebt_target_name() argument
158 return nft_ebt_standard_target(-verdict - 1); in ebt_target_name()
Dnft.h100 int add_verdict(struct nftnl_rule *r, int verdict);
103 int add_jumpto(struct nftnl_rule *r, const char *name, int verdict);
/external/iproute2/tc/
Dq_tbf.c170 int verdict = 0; in tbf_parse_opt() local
178 verdict = -1; in tbf_parse_opt()
182 verdict = -1; in tbf_parse_opt()
187 verdict = -1; in tbf_parse_opt()
193 verdict = -1; in tbf_parse_opt()
196 if (verdict != 0) { in tbf_parse_opt()
198 return verdict; in tbf_parse_opt()
/external/libnl/lib/netfilter/
Dqueue_msg.c170 struct nfqnl_msg_verdict_hdr verdict; in __nfnl_queue_msg_build_verdict() local
178 verdict.id = htonl(nfnl_queue_msg_get_packetid(msg)); in __nfnl_queue_msg_build_verdict()
179 verdict.verdict = htonl(nfnl_queue_msg_get_verdict(msg)); in __nfnl_queue_msg_build_verdict()
180 if (nla_put(nlmsg, NFQA_VERDICT_HDR, sizeof(verdict), &verdict) < 0) in __nfnl_queue_msg_build_verdict()
Dnetfilter.c25 char *nfnl_verdict2str(unsigned int verdict, char *buf, size_t len) in nfnl_verdict2str() argument
27 return __type2str(verdict, buf, len, nfnl_verdicts, in nfnl_verdict2str()
Dqueue_msg_obj.c441 unsigned int verdict) in nfnl_queue_msg_set_verdict() argument
443 msg->queue_msg_verdict = verdict; in nfnl_queue_msg_set_verdict()
471 __ADD(QUEUE_MSG_ATTR_VERDICT, verdict)
/external/iptables/libiptc/
Dlibip4tc.c264 assert(t->verdict == -NF_DROP-1
265 || t->verdict == -NF_ACCEPT-1
266 || t->verdict == RETURN
267 || t->verdict < (int)h->entries->size);
269 if (t->verdict >= 0) {
270 STRUCT_ENTRY *te = get_entry(h, t->verdict);
280 assert(t->verdict == iptcb_entry2offset(h, e)+e->next_offset
286 if (t->verdict == RETURN
452 assert(t->verdict == -NF_DROP-1 || t->verdict == -NF_ACCEPT-1);
Dlibiptc.c120 int verdict; /* verdict if builtin */ member
827 h->chain_iterator_cur->verdict = *(const int *)data; in __iptcc_p_del_policy()
1019 if (t->verdict < 0) { in cache_add_entry()
1020 DEBUGP_C("standard, verdict=%d\n", t->verdict); in cache_add_entry()
1022 } else if (t->verdict == r->offset+e->next_offset) { in cache_add_entry()
1026 DEBUGP_C("jump, target=%u\n", t->verdict); in cache_add_entry()
1077 lc = iptcc_find_chain_by_offset(h, t->verdict); in parse_table()
1129 t->verdict = r->jump->head_offset + IPTCB_CHAIN_START_SIZE; in iptcc_compile_rule()
1133 t->verdict = r->offset + r->size; in iptcc_compile_rule()
1181 foot->target.verdict = c->verdict; in iptcc_compile_chain()
[all …]
Dlibip6tc.c402 assert(t->verdict == -NF_DROP-1 || t->verdict == -NF_ACCEPT-1); in do_check()
/external/iptables/libipq/
Dlibipq.c315 unsigned int verdict, in ipq_set_verdict() argument
331 pm.msg.verdict.value = verdict; in ipq_set_verdict()
332 pm.msg.verdict.id = id; in ipq_set_verdict()
333 pm.msg.verdict.data_len = data_len; in ipq_set_verdict()
/external/syzkaller/pkg/bisect/
Dbisect.go296 for _, verdict := range verdicts {
297 unique[verdict] = true
302 for i, verdict := range verdicts {
303 env.log("run #%v: %v", i, verdict)
/external/autotest/client/cros/
Ddevice_jail_utils.py95 def expect_open(self, verdict): argument
148 os.write(req_fd, struct.pack('I', verdict))
/external/libpcap/
Dpcap-netfilter-linux.c85 …int nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict);
433 nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict) in nfqueue_send_verdict() argument
439 msg.verdict = htonl(verdict); in nfqueue_send_verdict()
/external/iptables/include/linux/netfilter_ipv4/
Dip_queue.h52 ipq_verdict_msg_t verdict; member
/external/iptables/include/libipq/
Dlibipq.h73 unsigned int verdict,
/external/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_queue.h58 __be32 verdict; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_queue.h70 __be32 verdict; member
Dx_tables.h67 int verdict; member
/external/kernel-headers/original/uapi/linux/netfilter_ipv6/
Dip6_tables.h153 .target.verdict = -(__verdict) - 1, \
/external/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h149 .target.verdict = -(__verdict) - 1, \
/external/iproute2/include/uapi/linux/netfilter/
Dx_tables.h67 int verdict; member
/external/iptables/include/linux/netfilter/
Dx_tables.h66 int verdict; member
/external/iproute2/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h151 .target.verdict = -(__verdict) - 1, \
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debtables.h164 int verdict; member
/external/libnetfilter_conntrack/src/conntrack/
Dbsf.c270 nfct_bsf_ret_verdict(struct sock_filter *this, int verdict, int pos) in nfct_bsf_ret_verdict() argument
274 .k = verdict, in nfct_bsf_ret_verdict()

12