Home
last modified time | relevance | path

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

12

/external/tcpdump/
Dprint-udp.c364 udpipaddr_print(const struct ip *ip, int sport, int dport) in udpipaddr_print() argument
385 udpport_string(dport)); in udpipaddr_print()
391 udpport_string(dport)); in udpipaddr_print()
407 udpport_string(dport)); in udpipaddr_print()
413 udpport_string(dport)); in udpipaddr_print()
427 u_int16_t sport, dport, ulen; in udp_print() local
450 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print()
453 udpipaddr_print(ip, sport, dport); in udp_print()
460 udpipaddr_print(ip, sport, dport); in udp_print()
467 udpipaddr_print(ip, sport, dport); in udp_print()
[all …]
Dprint-tcp.c199 u_int16_t sport, dport, win, urp; in tcp_print() local
223 dport = EXTRACT_16BITS(&tp->th_dport); in tcp_print()
235 dport == NFS_PORT) { in tcp_print()
254 tcpport_string(dport)); in tcp_print()
257 tcpport_string(sport), tcpport_string(dport)); in tcp_print()
267 tcpport_string(dport)); in tcp_print()
270 tcpport_string(sport), tcpport_string(dport)); in tcp_print()
329 if (sport > dport) in tcp_print()
331 else if (sport == dport) { in tcp_print()
338 tha.port = dport << 16 | sport; in tcp_print()
[all …]
Dprint-pgm.c155 u_int16_t sport, dport; in pgm_print() local
200 dport = EXTRACT_16BITS(&pgm->pgm_dport); in pgm_print()
209 tcpport_string(dport)); in pgm_print()
212 tcpport_string(sport), tcpport_string(dport)); in pgm_print()
222 tcpport_string(dport)); in pgm_print()
225 tcpport_string(sport), tcpport_string(dport)); in pgm_print()
Dprint-icmp.c347 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; in icmp_print() local
386 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp_print()
393 tcpport_string(dport)); in icmp_print()
400 udpport_string(dport)); in icmp_print()
407 oip->ip_p, dport); in icmp_print()
Dprint-dccp.c224 u_short sport, dport; in dccp_print() local
250 dport = EXTRACT_16BITS(&dh->dccph_dport); in dccp_print()
257 ip6addr_string(&ip6->ip6_dst), dport); in dccp_print()
263 ipaddr_string(&ip->ip_dst), dport); in dccp_print()
Dprint-rx.c391 int dport; /* server port (host order) */ member
434 rx_print(register const u_char *bp, int length, int sport, int dport, in rx_print() argument
501 rx_cache_insert(bp, (const struct ip *) bp2, dport); in rx_print()
503 switch (dport) { in rx_print()
587 rx_cache_insert(const u_char *bp, const struct ip *ip, int dport) in rx_cache_insert() argument
603 rxent->dport = dport; in rx_cache_insert()
633 rxent->dport == sport) { in rx_cache_find()
Dprint-icmp6.c242 int dport; in icmp6_print() local
300 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp6_print()
305 tcpport_string(dport)); in icmp6_print()
310 udpport_string(dport)); in icmp6_print()
315 oip->ip6_nxt, dport); in icmp6_print()
/external/kernel-headers/original/linux/
Drandom.h55 extern u32 secure_ipv4_port_ephemeral(__u32 saddr, __u32 daddr, __u16 dport);
57 __u16 dport);
59 __u16 sport, __u16 dport);
61 __u16 sport, __u16 dport);
63 __u16 sport, __u16 dport);
/external/iptables/extensions/
Dlibxt_connlimit.man24 iptables \-A INPUT \-p tcp \-\-syn \-\-dport 23 \-m connlimit \-\-connlimit\-above 2 \-j REJECT
27 iptables \-A INPUT \-p tcp \-\-syn \-\-dport 23 \-m connlimit \-\-connlimit\-upto 2 \-j ACCEPT
31 iptables \-p tcp \-\-syn \-\-dport 80 \-m connlimit \-\-connlimit\-above 16
36 ip6tables \-p tcp \-\-syn \-\-dport 80 \-s fe80::/64 \-m connlimit \-\-connlimit\-above
40 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_tcp.man15 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP]
17 \fB\-\-dport\fP
Dlibxt_udp.man10 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP]
Dlibxt_dccp.man4 [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP]
Dlibxt_LED.man27 iptables \-A INPUT \-p tcp \-\-dport 22 \-j LED \-\-led\-trigger\-id ssh
Dlibxt_quota2.man36 \-A INPUT \-p tcp \-\-dport 6881 \-m quota \-\-name bt \-\-grow;
Dlibxt_recent.man66 iptables \-A FORWARD \-p tcp \-i eth0 \-\-dport 139 \-m recent \-\-name badguy \-\-set \-j DROP
/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()
494 fprintf(fp, "(dport) 0x%.4x ", sel->dport); in xfrm_selector_print()
1128 if (get_u16(&sel->dport, *argv, 0)) in xfrm_selector_upspec_parse()
1130 sel->dport = htons(sel->dport); in xfrm_selector_upspec_parse()
1131 if (sel->dport) in xfrm_selector_upspec_parse()
1155 if (get_u16(&sel->dport, *argv, 0) || in xfrm_selector_upspec_parse()
1156 (sel->dport & ~((__u16)0xff))) in xfrm_selector_upspec_parse()
1158 sel->dport = htons(sel->dport); in xfrm_selector_upspec_parse()
Dxfrm_policy.c402 if ((xpinfo->sel.dport^filter.xpinfo.sel.dport)&filter.upspec_dport_mask) in xfrm_policy_filter_match()
/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/ipsec-tools/src/racoon/
Dnattraversal.h72 u_int16_t dport; member
/external/iptables/tests/
Doptions-most.rules47 -A INPUT -p tcp -m cpu --cpu 1 -m tcp --sport 1:2 --dport 1:2 --tcp-option 1 --tcp-flags FIN,SYN,RS…
48 -A INPUT -p dccp -m cpu --cpu 1 -m dccp --sport 1:2 --dport 3:4 -m cpu --cpu 1
49 -A INPUT -p udp -m cpu --cpu 1 -m udp --sport 1:2 --dport 3:4 -m cpu --cpu 1
50 -A INPUT -p sctp -m cpu --cpu 1 -m sctp --sport 1:2 --dport 3:4 --chunk-types all INIT,SACK -m cpu …
/external/iproute2/doc/
Dss.sgml220 dport &gt= :1024
221 dport != :22
237 is equivalent to <tt/dport eq 10.0.0.1:22/
240 <tt/dport neq 10.0.0.1:22/
398 <item> <tt/dport RELOP PORT/ - compares remote port to a number
/external/iproute2/include/linux/
Dxfrm.h49 __be16 dport; member
Drtnetlink.h392 __u16 dport; member

12