/external/tcpdump/ |
D | print-udp.c | 292 udpipaddr_print(netdissect_options *ndo, const struct ip *ip, int sport, int dport) in udpipaddr_print() argument 313 udpport_string(dport))); in udpipaddr_print() 319 udpport_string(dport))); in udpipaddr_print() 335 udpport_string(dport))); in udpipaddr_print() 341 udpport_string(dport))); in udpipaddr_print() 355 uint16_t sport, dport, ulen; in udp_print() local 377 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print() 380 udpipaddr_print(ndo, ip, sport, dport); in udp_print() 386 udpipaddr_print(ndo, ip, sport, dport); in udp_print() 397 udpipaddr_print(ndo, ip, sport, dport); in udp_print() [all …]
|
D | print-tcp.c | 162 uint16_t sport, dport, win, urp; local 188 dport = EXTRACT_16BITS(&tp->th_dport); 199 tcpport_string(dport))); 202 tcpport_string(sport), tcpport_string(dport))); 212 tcpport_string(dport))); 215 tcpport_string(sport), tcpport_string(dport))); 262 if (sport > dport) 264 else if (sport == dport) { 271 tha.port = dport << 16 | sport; 275 tha.port = sport << 16 | dport; [all …]
|
D | print-pgm.c | 153 uint16_t sport, dport; in pgm_print() local 198 dport = EXTRACT_16BITS(&pgm->pgm_dport); in pgm_print() 207 tcpport_string(dport))); in pgm_print() 210 tcpport_string(sport), tcpport_string(dport))); in pgm_print() 220 tcpport_string(dport))); in pgm_print() 223 tcpport_string(sport), tcpport_string(dport))); in pgm_print()
|
/external/iptables/extensions/ |
D | libxt_udp.t | 4 -p udp -m udp --dport 1;=;OK 5 -p udp -m udp --dport 65535;=;OK 11 -p udp -m udp ! --dport 1;=;OK 12 -p udp -m udp ! --dport 65535;=;OK 13 -p udp -m udp --sport 1 --dport 65535;=;OK 14 -p udp -m udp --sport 65535 --dport 1;=;OK 15 -p udp -m udp ! --sport 1 --dport 65535;=;OK 16 -p udp -m udp ! --sport 65535 --dport 1;=;OK 20 -p udp -m udp --dport -1;;FAIL
|
D | libxt_tcp.t | 4 -p tcp -m tcp --dport 1;=;OK 5 -p tcp -m tcp --dport 65535;=;OK 11 -p tcp -m tcp ! --dport 1;=;OK 12 -p tcp -m tcp ! --dport 65535;=;OK 13 -p tcp -m tcp --sport 1 --dport 65535;=;OK 14 -p tcp -m tcp --sport 65535 --dport 1;=;OK 15 -p tcp -m tcp ! --sport 1 --dport 65535;=;OK 16 -p tcp -m tcp ! --sport 65535 --dport 1;=;OK 19 -p tcp -m tcp --dport -1;;FAIL
|
D | libxt_dccp.t | 4 -p dccp -m dccp --dport 1;=;OK 5 -p dccp -m dccp --dport 65535;=;OK 11 -p dccp -m dccp ! --dport 1;=;OK 12 -p dccp -m dccp ! --dport 65535;=;OK 13 -p dccp -m dccp --sport 1 --dport 65535;=;OK 14 -p dccp -m dccp --sport 65535 --dport 1;=;OK 15 -p dccp -m dccp ! --sport 1 --dport 65535;=;OK 16 -p dccp -m dccp ! --sport 65535 --dport 1;=;OK 20 -p dccp -m dccp --dport -1;;FAIL
|
D | libxt_connlimit.man | 25 iptables \-A INPUT \-p tcp \-\-syn \-\-dport 23 \-m connlimit \-\-connlimit\-above 2 \-j REJECT 28 iptables \-A INPUT \-p tcp \-\-syn \-\-dport 23 \-m connlimit \-\-connlimit\-upto 2 \-j ACCEPT 32 iptables \-p tcp \-\-syn \-\-dport 80 \-m connlimit \-\-connlimit\-above 16 37 ip6tables \-p tcp \-\-syn \-\-dport 80 \-s fe80::/64 \-m connlimit \-\-connlimit\-above 41 ip6tables \-p tcp \-\-syn \-\-dport 49152:65535 \-d 2001:db8::1 \-m connlimit
|
D | libxt_sctp.t | 7 -p sctp -m sctp --dport 1;=;OK 8 -p sctp -m sctp --dport 1:65535;=;OK 9 -p sctp -m sctp --dport 65535;=;OK 10 -p sctp -m sctp --dport -1;;FAIL 11 -p sctp -m sctp --dport 65536;;FAIL
|
D | libxt_HMARK.t | 4 -j HMARK --hmark-src-prefix 32 --hmark-dst-prefix 32 --hmark-sport-mask 0xffff --hmark-dport-mask 0… 6 -j HMARK --hmark-src-prefix 1 --hmark-dst-prefix 2 --hmark-sport-mask 0x0003 --hmark-dport-mask 0x0… 8 -j HMARK --hmark-src-prefix 32 --hmark-dst-prefix 32 --hmark-sport-mask 0xffff --hmark-dport-mask 0…
|
D | libxt_cpu.man | 9 iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0 12 iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1
|
D | libxt_SYNPROXY.man | 48 iptables \-t raw \-A PREROUTING \-i eth0 \-p tcp \-\-dport 80 57 iptables \-A INPUT \-i eth0 \-p tcp \-\-dport 80 64 iptables \-A INPUT \-i eth0 \-p tcp \-\-dport 80 \-m state \-\-state INVALID \-j DROP
|
D | libxt_sctp.man | 4 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP] 24 iptables \-A INPUT \-p sctp \-\-dport 80 \-j DROP
|
D | libxt_string.man | 27 iptables \-A INPUT \-p tcp \-\-dport 80 \-m string \-\-algo bm \-\-string 'GET /index.html' \-j LOG 31 iptables \-p udp \-\-dport 53 \-m string \-\-algo bm \-\-from 40 \-\-to 57 \-\-hex\-string '|03|www…
|
/external/ltp/testcases/network/iptables/ |
D | iptables_tests.sh | 229 local dport=45886 235 iptables -A INPUT -p tcp -d 127.0.0.1 --dport $dport -j LOG \ 243 tst_resm TINFO "telnet 127.0.0.1 $dport" 244 telnet 127.0.0.1 $dport > tst_iptables.out 2>&1 250 "iptables did not log packets to port $dport" 254 tst_resm TINFO "Packets to port $dport logged." 257 tst_resm TFAIL "telnet to 127.0.0.1 $dport should fail." 275 local dport=0 280 iptables -A INPUT -p tcp -d 127.0.0.1 --dport 45801:45803 -j LOG \ 298 for dport in 45801 45802 45803 45804 45805 45806; do [all …]
|
/external/autotest/client/deps/lansim/src/py/ |
D | host.py | 177 def _tcp_pick_port(self, dhost, dport): argument 180 if (dhost, dport, p) in self._tcp_fwd_out: 192 dport = pkt.ip.tcp.dport 195 if (shost, sport, dport) in self._tcp_fwd_out: 196 fhost, fport, oport = self._tcp_fwd_out[(shost, sport, dport)] 199 pkt.ip.tcp.dport = fport 206 if dport in self._tcp_fwd_ports: 208 fhost, fport = self._tcp_fwd_ports[dport] 212 if (shost, sport, dport) in self._tcp_fwd_in: 213 lport = self._tcp_fwd_in[(shost, sport, dport)] [all …]
|
/external/libnl/src/lib/ |
D | exp.c | 130 uint16_t dport = nfnl_exp_get_dst_port(exp, tuple); in nl_cli_exp_parse_src_port() local 131 nfnl_exp_set_ports(exp, tuple, sport, dport); in nl_cli_exp_parse_src_port() 136 uint32_t dport = nl_cli_parse_u32(arg); in nl_cli_exp_parse_dst_port() local 138 nfnl_exp_set_ports(exp, tuple, sport, dport); in nl_cli_exp_parse_dst_port()
|
/external/autotest/client/site_tests/security_Firewall/ |
D | baseline.webservd | 1 -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT 2 -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
|
D | baseline.iptables | 7 -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT 8 -A INPUT -d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT
|
D | baseline.ip6tables | 7 -A INPUT -d ff02::fb/128 -p udp -m udp --dport 5353 -j ACCEPT 8 -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
|
/external/selinux/libsemanage/tests/ |
D | nc_sort_sorted | 19 -A selinux_new_input -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_server_packet_t 20 -A selinux_new_output -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_client_packet_t
|
D | nc_sort_malformed | 18 base -A selinux_new_input -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_server_packe… 22 module -A selinux_new_output -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_client_pa…
|
D | nc_sort_unsorted | 20 module -A selinux_new_input -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_server_pac… 24 module -A selinux_new_output -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_client_pa…
|
/external/iproute2/ip/ |
D | ipxfrm.c | 479 fprintf(fp, "dport %u ", ntohs(sel->dport)); in xfrm_selector_print() 487 fprintf(fp, "code %u ", ntohs(sel->dport)); in xfrm_selector_print() 493 ntohs(sel->dport)); in xfrm_selector_print() 500 fprintf(fp, "(dport) 0x%.4x ", sel->dport); in xfrm_selector_print() 1271 if (get_u16(&sel->dport, *argv, 0)) in xfrm_selector_upspec_parse() 1273 sel->dport = htons(sel->dport); in xfrm_selector_upspec_parse() 1274 if (sel->dport) in xfrm_selector_upspec_parse() 1298 if (get_u16(&sel->dport, *argv, 0) || in xfrm_selector_upspec_parse() 1299 (sel->dport & ~((__u16)0xff))) in xfrm_selector_upspec_parse() 1301 sel->dport = htons(sel->dport); in xfrm_selector_upspec_parse() [all …]
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | grp_getter.c | 44 this->dport = ct->head.orig.l4dst.all; in get_attr_grp_orig_port() 51 this->dport = ct->repl.l4dst.all; in get_attr_grp_repl_port() 80 this->dport = ct->master.l4dst.all; in get_attr_grp_master_port()
|
D | grp_setter.c | 76 ct->head.orig.l4dst.all = this->dport; in set_attr_grp_orig_port() 83 ct->repl.l4dst.all = this->dport; in set_attr_grp_repl_port() 138 ct->master.l4dst.all = this->dport; in set_attr_grp_master_port()
|