Home
last modified time | relevance | path

Searched refs:invflags (Results 1 – 25 of 58) sorted by relevance

123

/external/iptables/extensions/
Dlibxt_tcp.c114 tcpinfo->invflags |= XT_TCP_INV_FLAGS; in parse_tcp_flags()
153 tcpinfo->invflags |= XT_TCP_INV_SRCPT; in tcp_parse()
163 tcpinfo->invflags |= XT_TCP_INV_DSTPT; in tcp_parse()
198 tcpinfo->invflags |= XT_TCP_INV_OPTION; in tcp_parse()
299 tcp->invflags & XT_TCP_INV_SRCPT, in tcp_print()
302 tcp->invflags & XT_TCP_INV_DSTPT, in tcp_print()
305 tcp->invflags & XT_TCP_INV_OPTION, in tcp_print()
308 tcp->invflags & XT_TCP_INV_FLAGS, in tcp_print()
310 if (tcp->invflags & ~XT_TCP_INV_MASK) in tcp_print()
312 tcp->invflags & ~XT_TCP_INV_MASK); in tcp_print()
[all …]
Dlibip6t_ah.c41 ahinfo->invflags |= IP6T_AH_INV_SPI; in ah_parse()
45 ahinfo->invflags |= IP6T_AH_INV_LEN; in ah_parse()
83 ah->invflags & IP6T_AH_INV_SPI); in ah_print()
85 ah->invflags & IP6T_AH_INV_LEN); in ah_print()
90 if (ah->invflags & ~IP6T_AH_INV_MASK) in ah_print()
92 ah->invflags & ~IP6T_AH_INV_MASK); in ah_print()
102 (ahinfo->invflags & IP6T_AH_INV_SPI) ? " !" : ""); in ah_save()
113 if (ahinfo->hdrlen != 0 || (ahinfo->invflags & IP6T_AH_INV_LEN) ) { in ah_save()
115 (ahinfo->invflags & IP6T_AH_INV_LEN) ? " !" : "", in ah_save()
Dlibip6t_rt.c110 rtinfo->invflags |= IP6T_RT_INV_TYP; in rt_parse()
117 rtinfo->invflags |= IP6T_RT_INV_SGS; in rt_parse()
122 rtinfo->invflags |= IP6T_RT_INV_LEN; in rt_parse()
127 rtinfo->invflags & IP6T_RT_INV_TYP) in rt_parse()
134 rtinfo->invflags & IP6T_RT_INV_TYP) in rt_parse()
186 printf(" type:%s%d", rtinfo->invflags & IP6T_RT_INV_TYP ? "!" : "", in rt_print()
189 rtinfo->invflags & IP6T_RT_INV_SGS); in rt_print()
192 printf(":%s", rtinfo->invflags & IP6T_RT_INV_LEN ? "!" : ""); in rt_print()
199 if (rtinfo->invflags & ~IP6T_RT_INV_MASK) in rt_print()
201 rtinfo->invflags & ~IP6T_RT_INV_MASK); in rt_print()
[all …]
Dlibxt_dccp.c112 einfo->invflags |= XT_DCCP_SRC_PORTS; in dccp_parse()
117 einfo->invflags |= XT_DCCP_DEST_PORTS; in dccp_parse()
123 einfo->invflags |= XT_DCCP_TYPE; in dccp_parse()
128 einfo->invflags |= XT_DCCP_OPTION; in dccp_parse()
220 einfo->invflags & XT_DCCP_SRC_PORTS, in dccp_print()
226 einfo->invflags & XT_DCCP_DEST_PORTS, in dccp_print()
232 einfo->invflags & XT_DCCP_TYPE, in dccp_print()
238 einfo->invflags & XT_DCCP_OPTION, numeric); in dccp_print()
248 if (einfo->invflags & XT_DCCP_SRC_PORTS) in dccp_save()
258 if (einfo->invflags & XT_DCCP_DEST_PORTS) in dccp_save()
[all …]
Dlibxt_udp.c54 udpinfo->invflags |= XT_UDP_INV_SRCPT; in udp_parse()
58 udpinfo->invflags |= XT_UDP_INV_DSTPT; in udp_parse()
112 udp->invflags & XT_UDP_INV_SRCPT, in udp_print()
115 udp->invflags & XT_UDP_INV_DSTPT, in udp_print()
117 if (udp->invflags & ~XT_UDP_INV_MASK) in udp_print()
119 udp->invflags & ~XT_UDP_INV_MASK); in udp_print()
128 if (udpinfo->invflags & XT_UDP_INV_SRCPT) in udp_save()
142 if (udpinfo->invflags & XT_UDP_INV_DSTPT) in udp_save()
Dlibip6t_frag.c61 fraginfo->invflags |= IP6T_FRAG_INV_IDS; in frag_parse()
74 fraginfo->invflags |= IP6T_FRAG_INV_LEN; in frag_parse()
114 frag->invflags & IP6T_FRAG_INV_IDS); in frag_print()
118 frag->invflags & IP6T_FRAG_INV_LEN ? "!" : "", in frag_print()
134 if (frag->invflags & ~IP6T_FRAG_INV_MASK) in frag_print()
136 frag->invflags & ~IP6T_FRAG_INV_MASK); in frag_print()
146 (fraginfo->invflags & IP6T_FRAG_INV_IDS) ? " !" : ""); in frag_save()
159 (fraginfo->invflags & IP6T_FRAG_INV_LEN) ? " !" : "", in frag_save()
Dlibxt_multiport.c145 check_proto(uint16_t pnum, uint8_t invflags) in check_proto() argument
149 if (invflags & XT_INV_PROTO) in check_proto()
165 uint8_t invflags) in __multiport_parse() argument
173 proto = check_proto(pnum, invflags); in __multiport_parse()
179 proto = check_proto(pnum, invflags); in __multiport_parse()
185 proto = check_proto(pnum, invflags); in __multiport_parse()
200 entry->ip.proto, entry->ip.invflags); in multiport_parse()
207 entry->ipv6.proto, entry->ipv6.invflags); in multiport_parse6()
211 uint8_t invflags) in __multiport_parse_v1() argument
219 proto = check_proto(pnum, invflags); in __multiport_parse_v1()
[all …]
Dlibxt_esp.c32 espinfo->invflags |= XT_ESP_INV_SPI; in esp_parse()
56 esp->invflags & XT_ESP_INV_SPI); in esp_print()
57 if (esp->invflags & ~XT_ESP_INV_MASK) in esp_print()
59 esp->invflags & ~XT_ESP_INV_MASK); in esp_print()
69 (espinfo->invflags & XT_ESP_INV_SPI) ? " !" : ""); in esp_save()
Dlibipt_ah.c32 ahinfo->invflags |= IPT_AH_INV_SPI; in ah_parse()
62 ah->invflags & IPT_AH_INV_SPI); in ah_print()
63 if (ah->invflags & ~IPT_AH_INV_MASK) in ah_print()
65 ah->invflags & ~IPT_AH_INV_MASK); in ah_print()
75 (ahinfo->invflags & IPT_AH_INV_SPI) ? " !" : ""); in ah_save()
Dlibxt_sctp.c262 einfo->invflags |= XT_SCTP_SRC_PORTS; in sctp_parse()
273 einfo->invflags |= XT_SCTP_DEST_PORTS; in sctp_parse()
289 einfo->invflags |= XT_SCTP_CHUNK_TYPES; in sctp_parse()
434 einfo->invflags & XT_SCTP_SRC_PORTS, in sctp_print()
440 einfo->invflags & XT_SCTP_DEST_PORTS, in sctp_print()
447 if (einfo->invflags & XT_SCTP_CHUNK_TYPES) { in sctp_print()
460 if (einfo->invflags & XT_SCTP_SRC_PORTS) in sctp_save()
470 if (einfo->invflags & XT_SCTP_DEST_PORTS) in sctp_save()
480 if (einfo->invflags & XT_SCTP_CHUNK_TYPES) in sctp_save()
Dlibip6t_hbh.c110 optinfo->invflags |= IP6T_OPTS_INV_LEN; in hbh_parse()
142 printf(":%s", optinfo->invflags & IP6T_OPTS_INV_LEN ? "!" : ""); in hbh_print()
147 if (optinfo->invflags & ~IP6T_OPTS_INV_MASK) in hbh_print()
149 optinfo->invflags & ~IP6T_OPTS_INV_MASK); in hbh_print()
158 (optinfo->invflags & IP6T_OPTS_INV_LEN) ? " !" : "", in hbh_save()
Dlibip6t_icmp6.c160 icmpv6info->invflags |= IP6T_ICMP_INV; in icmp6_parse()
202 icmpv6->invflags & IP6T_ICMP_INV, in icmp6_print()
205 if (icmpv6->invflags & ~IP6T_ICMP_INV) in icmp6_print()
207 icmpv6->invflags & ~IP6T_ICMP_INV); in icmp6_print()
214 if (icmpv6->invflags & IP6T_ICMP_INV) in icmp6_save()
Dlibip6t_mh.c134 mhinfo->invflags |= IP6T_MH_INV_TYPE; in mh_parse()
182 mhinfo->invflags & IP6T_MH_INV_TYPE, in mh_print()
184 if (mhinfo->invflags & ~IP6T_MH_INV_MASK) in mh_print()
186 mhinfo->invflags & ~IP6T_MH_INV_MASK); in mh_print()
196 if (mhinfo->invflags & IP6T_MH_INV_TYPE) in mh_save()
Dlibipt_icmp.c185 icmpinfo->invflags |= IPT_ICMP_INV; in icmp_parse()
227 icmp->invflags & IPT_ICMP_INV, in icmp_print()
230 if (icmp->invflags & ~IPT_ICMP_INV) in icmp_print()
232 icmp->invflags & ~IPT_ICMP_INV); in icmp_print()
239 if (icmp->invflags & IPT_ICMP_INV) in icmp_save()
Dlibip6t_dst.c148 optinfo->invflags & IP6T_OPTS_INV_LEN ? "!" : "", in dst_print()
156 if (optinfo->invflags & ~IP6T_OPTS_INV_MASK) in dst_print()
158 optinfo->invflags & ~IP6T_OPTS_INV_MASK); in dst_print()
167 (optinfo->invflags & IP6T_OPTS_INV_LEN) ? " !" : "", in dst_save()
Dlibip6t_ipv6header.c169 info->invflags |= 0xFF; in ipv6header_parse()
205 if (info->matchflags || info->invflags) { in ipv6header_print()
206 printf(" flags:%s", info->invflags ? "!" : ""); in ipv6header_print()
223 printf("%s --header ", info->invflags ? " !" : ""); in ipv6header_save()
Dlibxt_conntrack.c52 uint8_t invflags; member
346 sinfo->invflags |= XT_CONNTRACK_STATE; in conntrack_parse()
351 sinfo->invflags |= XT_CONNTRACK_PROTO; in conntrack_parse()
353 && (sinfo->invflags & XT_INV_PROTO)) in conntrack_parse()
361 sinfo->invflags |= XT_CONNTRACK_ORIGSRC; in conntrack_parse()
367 sinfo->invflags |= XT_CONNTRACK_ORIGDST; in conntrack_parse()
373 sinfo->invflags |= XT_CONNTRACK_REPLSRC; in conntrack_parse()
379 sinfo->invflags |= XT_CONNTRACK_REPLDST; in conntrack_parse()
386 sinfo->invflags |= XT_CONNTRACK_STATUS; in conntrack_parse()
395 sinfo->invflags |= XT_CONNTRACK_EXPIRES; in conntrack_parse()
[all …]
/external/iptables/iptables/
Dip6tables.c535 fputc(fw->ipv6.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
555 if (fw->ipv6.invflags & IP6T_INV_VIA_IN) { in print_firewall()
568 if (fw->ipv6.invflags & IP6T_INV_VIA_OUT) { in print_firewall()
582 fputc(fw->ipv6.invflags & IP6T_INV_SRCIP ? '!' : ' ', stdout); in print_firewall()
595 fputc(fw->ipv6.invflags & IP6T_INV_DSTIP ? '!' : ' ', stdout); in print_firewall()
1060 e->ipv6.invflags & IP6T_INV_SRCIP); in print_rule6()
1063 e->ipv6.invflags & IP6T_INV_DSTIP); in print_rule6()
1066 e->ipv6.invflags & IP6T_INV_VIA_IN); in print_rule6()
1069 e->ipv6.invflags & IP6T_INV_VIA_OUT); in print_rule6()
1071 print_proto(e->ipv6.proto, e->ipv6.invflags & XT_INV_PROTO); in print_rule6()
[all …]
Diptables.c522 fputc(fw->ip.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
534 fputc(fw->ip.invflags & IPT_INV_FRAG ? '!' : '-', stdout); in print_firewall()
542 if (fw->ip.invflags & IPT_INV_VIA_IN) { in print_firewall()
555 if (fw->ip.invflags & IPT_INV_VIA_OUT) { in print_firewall()
569 fputc(fw->ip.invflags & IPT_INV_SRCIP ? '!' : ' ', stdout); in print_firewall()
581 fputc(fw->ip.invflags & IPT_INV_DSTIP ? '!' : ' ', stdout); in print_firewall()
1060 e->ip.invflags & IPT_INV_SRCIP); in print_rule4()
1063 e->ip.invflags & IPT_INV_DSTIP); in print_rule4()
1066 e->ip.invflags & IPT_INV_VIA_IN); in print_rule4()
1069 e->ip.invflags & IPT_INV_VIA_OUT); in print_rule4()
[all …]
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_tcpudp.h13 __u8 invflags; /* Inverse flags */ member
27 __u8 invflags; /* Inverse flags */ member
/external/iproute2/include/linux/netfilter/
Dxt_tcpudp.h13 __u8 invflags; /* Inverse flags */ member
27 __u8 invflags; /* Inverse flags */ member
/external/iptables/include/linux/netfilter/
Dxt_tcpudp.h13 __u8 invflags; /* Inverse flags */ member
27 __u8 invflags; /* Inverse flags */ member
/external/iptables/include/linux/netfilter_ipv4/
Dip_tables.h81 u_int8_t invflags; member
146 u_int8_t invflags; /* Inverse flags */ member
/external/iproute2/include/linux/netfilter_ipv4/
Dip_tables.h81 __u8 invflags; member
146 __u8 invflags; /* Inverse flags */ member
/external/kernel-headers/original/uapi/linux/netfilter_ipv4/
Dip_tables.h83 __u8 invflags; member
148 __u8 invflags; /* Inverse flags */ member

123