Home
last modified time | relevance | path

Searched refs:pkttype (Results 1 – 16 of 16) sorted by relevance

/external/iptables/extensions/
Dlibebt_pkttype.t2 ! --pkttype-type host;--pkttype-type ! host -j CONTINUE;OK
3 --pkttype-type host;=;OK
4 --pkttype-type ! host;=;OK
5 --pkttype-type broadcast;=;OK
6 --pkttype-type ! broadcast;=;OK
7 --pkttype-type multicast;=;OK
8 --pkttype-type ! multicast;=;OK
9 --pkttype-type otherhost;=;OK
10 --pkttype-type ! otherhost;=;OK
11 --pkttype-type outgoing;=;OK
[all …]
Dlibebt_pkttype.txlate1 ebtables-translate -A INPUT --pkttype-type host
2 nft add rule bridge filter INPUT meta pkttype host counter
4 ebtables-translate -A INPUT ! --pkttype-type broadcast
5 nft add rule bridge filter INPUT meta pkttype != broadcast counter
7 ebtables-translate -A INPUT --pkttype-type ! multicast
8 nft add rule bridge filter INPUT meta pkttype != multicast counter
10 ebtables-translate -A INPUT --pkttype-type otherhost
11 nft add rule bridge filter INPUT meta pkttype other counter
13 ebtables-translate -A INPUT --pkttype-type outgoing
14 nft add rule bridge filter INPUT meta pkttype 4 counter
[all …]
Dlibxt_pkttype.c19 unsigned char pkttype; member
26 unsigned char pkttype; member
68 static void parse_pkttype(const char *pkttype, struct xt_pkttype_info *info) in parse_pkttype() argument
73 if(strcasecmp(pkttype, supported_types[i].name)==0) in parse_pkttype()
75 info->pkttype=supported_types[i].pkttype; in parse_pkttype()
79 xtables_error(PARAMETER_PROBLEM, "Bad packet type '%s'", pkttype); in parse_pkttype()
97 if(supported_types[i].pkttype==info->pkttype) in print_pkttype()
103 printf("%d", info->pkttype); /* in case we didn't find an entry in named-packtes */ in print_pkttype()
135 if (supported_types_xlate[i].pkttype == info->pkttype) { in print_pkttype_xlate()
140 xt_xlate_add(xl, "%d", info->pkttype); in print_pkttype_xlate()
Dlibxt_pkttype.txlate1 iptables-translate -A INPUT -m pkttype --pkt-type broadcast -j DROP
2 nft add rule ip filter INPUT pkttype broadcast counter drop
4 iptables-translate -A INPUT -m pkttype ! --pkt-type unicast -j DROP
5 nft add rule ip filter INPUT pkttype != unicast counter drop
7 iptables-translate -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
8 nft add rule ip filter INPUT pkttype multicast counter accept
Dlibxt_pkttype.t2 -m pkttype --pkt-type unicast;=;OK
3 -m pkttype --pkt-type broadcast;=;OK
4 -m pkttype --pkt-type multicast;=;OK
5 -m pkttype --pkt-type wrong;;FAIL
6 -m pkttype;;FAIL
Dlibxt_cluster.txlate2 …G iifname "eth1" jhash ct original saddr mod 2 seed 0xdeadbeef eq 1 meta pkttype set host counter …
5 …G iifname "eth1" jhash ct original saddr mod 1 seed 0xdeadbeef eq 1 meta pkttype set host counter …
8 …G iifname "eth1" jhash ct original saddr mod 2 seed 0xdeadbeef eq 1 meta pkttype set host counter …
11 …G iifname "eth1" jhash ct original saddr mod 1 seed 0xdeadbeef eq 1 meta pkttype set host counter …
14 …iifname "eth1" jhash ct original saddr mod 32 seed 0xdeadbeef eq 32 meta pkttype set host counter …
17 … iifname "eth1" jhash ct original saddr mod 32 seed 0xdeadbeef eq 6 meta pkttype set host counter …
20 …name "eth1" jhash ct original saddr mod 32 seed 0xdeadbeef { 0, 2 } meta pkttype set host counter …
23 …fname "eth1" jhash ct original saddr mod 7 seed 0xdeadbeef { 0, 3 } meta pkttype set host counter …
26 …G iifname "eth1" jhash ct original saddr mod 7 seed 0xdeadbeef eq 5 meta pkttype set host counter …
/external/iptables/iptables/tests/shell/testcases/ebtables/
D0002-ebtables-save-restore_043 $XT_MULTI ebtables -A foo --pkttype-type multicast -j ACCEPT
48 $XT_MULTI ebtables -A foo --pkttype-type multicast --log
49 $XT_MULTI ebtables -A foo --pkttype-type multicast --limit 100 -j ACCEPT
/external/iptables/include/linux/netfilter/
Dxt_pkttype.h5 int pkttype; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_pkttype.h6 int pkttype; member
/external/libnl/lib/route/cls/
Dematch_grammar.l117 pkttype return META_PKTTYPE;
/external/libnl/lib/route/cls/ematch/
Dmeta.c177 __ADD(TCF_META_ID_PKTTYPE, pkttype),
/external/oss-fuzz/projects/gnupg/
Dfuzzgnupg.diff140 if (out && pkttype)
/external/python/cpython2/Modules/
Dsocketmodule.c1518 int pkttype = 0; in getsockaddrarg() local
1531 &protoNumber, &pkttype, &hatype, in getsockaddrarg()
1555 addr->sll_pkttype = pkttype; in getsockaddrarg()
/external/rust/crates/nix/src/sys/socket/
Daddr.rs1081 pub fn pkttype(&self) -> u8 { in pkttype() method
/external/python/cpython3/Modules/
Dsocketmodule.c2030 int pkttype = PACKET_HOST; in getsockaddrarg() local
2046 &interfaceName, &protoNumber, &pkttype, &hatype, in getsockaddrarg()
2080 addr->sll_pkttype = pkttype; in getsockaddrarg()
/external/python/cpython3/Doc/library/
Dsocket.rst182 ``(ifname, proto[, pkttype[, hatype[, addr]]])`` where:
187 - *pkttype* - Optional integer specifying the packet type: