Home
last modified time | relevance | path

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

/external/iptables/extensions/
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.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
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_pkttype.h6 int pkttype; member
/external/iptables/include/linux/netfilter/
Dxt_pkttype.h5 int pkttype; member
/external/libnl/lib/route/cls/
Dematch_grammar.l113 pkttype return META_PKTTYPE;
/external/syzkaller/sys/linux/
Dnetfilter.txt132 pkttype xt_entry_match["pkttype", xt_pkttype_info, 0]
730 pkttype int32
Dnetfilter_bridge.txt165 pkttype ebt_entry_match["pkttype", ebt_pkttype_info]
/external/libnl/lib/route/cls/ematch/
Dmeta.c175 __ADD(TCF_META_ID_PKTTYPE, 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/python/cpython3/Modules/
Dsocketmodule.c1892 int pkttype = PACKET_HOST; in getsockaddrarg() local
1904 &protoNumber, &pkttype, &hatype, in getsockaddrarg()
1931 addr->sll_pkttype = pkttype; in getsockaddrarg()
/external/python/cpython3/Doc/library/
Dsocket.rst178 ``(ifname, proto[, pkttype[, hatype[, addr]]])`` where:
183 - *pkttype* - Optional integer specifying the packet type: