Home
last modified time | relevance | path

Searched refs:dport (Results 1 – 25 of 54) sorted by relevance

123

/external/tcpdump/
Dprint-udp.c292 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 …]
Dprint-tcp.c162 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 …]
Dprint-pgm.c153 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()
Dprint-icmp.c343 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; in icmp_print() local
383 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp_print()
390 tcpport_string(dport)); in icmp_print()
397 udpport_string(dport)); in icmp_print()
404 oip->ip_p, dport); in icmp_print()
Dprint-dccp.c279 u_short sport, dport; in dccp_print() local
316 dport = EXTRACT_16BITS(&dh->dccph_dport); in dccp_print()
323 ip6addr_string(ndo, &ip6->ip6_dst), dport)); in dccp_print()
329 ipaddr_string(ndo, &ip->ip_dst), dport)); in dccp_print()
/external/autotest/client/deps/lansim/src/py/
Dhost.py177 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/iptables/extensions/
Dlibxt_connlimit.man25 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
Dlibxt_cpu.man9 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
Dlibxt_sctp.man4 [\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
Dlibxt_HMARK.man16 .B dport
41 \fB\-\-hmark\-dport\-mask\fP \fIvalue\fP
Dlibxt_tcp.man15 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP]
17 \fB\-\-dport\fP
Dlibxt_dccp.man4 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP]
/external/autotest/client/site_tests/security_Firewall/
Dbaseline.iptables8 -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
9 -A INPUT -d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT
10 -A OUTPUT -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j NFQUEUE --queue-num 10001
Dbaseline.webservd1 -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
2 -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
Dbaseline.ip6tables7 -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/
Dnc_sort_sorted19 -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
Dnc_sort_malformed18 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…
Dnc_sort_unsorted20 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/libnl/etc/
Dpktloc26 tcp.dport u16 tcp+2
42 udp.dport u16 tcp+2
/external/iproute2/ip/
Dipxfrm.c479 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/ipsec-tools/src/libipsec/
Dpfkey_dump.c500 u_int16_t sport = 0, dport = 0; local
562 dport = 0; /*XXX*/
564 dport = atoi(pbuf);
568 (u_int)dport,
583 (u_int)dport);
/external/avahi/tests/
Dfuzz-mdns.py6 sendp(Ether(type=0x800, dst="ff:ff:ff:ff:ff:ff")/IP(dst="224.0.0.251")/fuzz(UDP(dport = 5353, sport…
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debt_ip.h41 __u16 dport[2]; member
Debt_ip6.h45 __u16 dport[2]; member
/external/iproute2/bridge/
Dfdb.c354 unsigned short dport; in fdb_modify() local
356 dport = htons((unsigned short)port); in fdb_modify()
357 addattr16(&req.n, sizeof(req), NDA_PORT, dport); in fdb_modify()

123