/dports/dns/dnsjit/dnsjit-1.2.2/src/core/object/ |
H A D | udp.hh | 28 uint16_t dport; member
|
/dports/dns/dnsjit/dnsjit-1.2.2/src/filter/ |
H A D | layer.c | 247 need16(udp->dport, pkt, len); in _proto() 272 need16(tcp->dport, pkt, len); in _proto()
|
/dports/dns/dnsviz/dnsviz-0.9.2/contrib/dnsviz-lg-java/net/dnsviz/applet/ |
H A D | DNSLookingGlassApplet.java | 45 …public DNSQueryTransportHandler getDNSQueryTransportHandler(String req, String dst, int dport, Str… in getDNSQueryTransportHandler() argument 48 return lg.getDNSQueryTransportHandler(req, dst, dport, src, sport, timeout, tcp); in getDNSQueryTransportHandler()
|
/dports/dns/dnsviz/dnsviz-0.9.2/contrib/dnsviz-lg-java/net/dnsviz/lookingglass/ |
H A D | DNSLookingGlass.java | 112 …public DNSQueryTransportHandler getDNSQueryTransportHandler(String req, String dst, int dport, Str… in getDNSQueryTransportHandler() argument 124 return new DNSQueryTransportHandlerTCP(byteReq, dstAddr, dport, srcAddr, sport, timeout); in getDNSQueryTransportHandler() 126 return new DNSQueryTransportHandlerUDP(byteReq, dstAddr, dport, srcAddr, sport, timeout); in getDNSQueryTransportHandler()
|
/dports/dns/dnsviz/dnsviz-0.9.2/contrib/dnsviz-lg-java/net/dnsviz/transport/ |
H A D | DNSQueryTransportHandler.java | 57 protected int dport = 0; field in DNSQueryTransportHandler 68 …protected DNSQueryTransportHandler(byte [] req, InetAddress dst, int dport, InetAddress src, int s… in DNSQueryTransportHandler() argument 70 this.dport = dport; in DNSQueryTransportHandler()
|
H A D | DNSQueryTransportHandlerTCP.java | 39 …public DNSQueryTransportHandlerTCP(byte [] req, InetAddress dst, int dport, InetAddress src, int s… in DNSQueryTransportHandlerTCP() argument 40 super(req, dst, dport, src, sport, timeout); in DNSQueryTransportHandlerTCP() 70 ((SocketChannel)channel).connect(new InetSocketAddress(dst, dport)); in connect() 159 c.connect(new InetSocketAddress(dst, dport)); in getLocalAddress()
|
H A D | DNSQueryTransportHandlerUDP.java | 36 …public DNSQueryTransportHandlerUDP(byte [] req, InetAddress dst, int dport, InetAddress src, int s… in DNSQueryTransportHandlerUDP() argument 37 super(req, dst, dport, src, sport, timeout); in DNSQueryTransportHandlerUDP() 68 ((DatagramChannel)channel).connect(new InetSocketAddress(dst, dport)); in connect()
|
/dports/dns/dnsviz/dnsviz-0.9.2/dnsviz/ |
H A D | transport.py | 166 self.dport = dport 180 d['dport'] = self.dport 208 dport = int(d['dport']) 209 if dport < 0 or dport > 65535: 350 self.dport = None 506 return (self.dst, self.dport) 593 self.dport = qtm.dport 761 self.dport = parse_result.port 762 if self.dport is None: 764 self.dport = 80 [all …]
|
/dports/dns/dsc/dsc-2.11.1/src/ |
H A D | pcap.c | 154 uint16_t dport; member 239 return (k->dport << 16) | k->sport | k->src_ip_addr._.in4.s_addr | k->dst_ip_addr._.in4.s_addr; in tcp_hashfunc() 547 key.dport = tm->dst_port; in pcap_tcp_handler() 553 dfprintf(1, "handle_tcp: %s:%d %s:%d", src, key.sport, dst, key.dport); in pcap_tcp_handler() 556 if (port53 != key.dport && port53 != key.sport) in pcap_tcp_handler() 596 key.dport = tm->src_port; in pcap_tcp_handler()
|
/dports/dns/knot3-lib/knot-3.1.5/src/contrib/libbpf/include/uapi/linux/ |
H A D | bpf.h | 3204 __be16 dport; member 3210 __be16 dport; member 3575 __be16 dport; member 3638 __be16 dport; member
|
/dports/dns/knot3-lib/knot-3.1.5/tests/libknot/ |
H A D | test_xdp_tcp.c | 154 static void prepare_msg(knot_xdp_msg_t *msg, int flags, uint16_t sport, uint16_t dport) in prepare_msg() argument 160 msg->ip_to.sin6_port = htobe16(dport); in prepare_msg()
|
/dports/dns/knot3/knot-3.1.5/src/contrib/libbpf/include/uapi/linux/ |
H A D | bpf.h | 3204 __be16 dport; member 3210 __be16 dport; member 3575 __be16 dport; member 3638 __be16 dport; member
|
/dports/dns/knot3/knot-3.1.5/tests/libknot/ |
H A D | test_xdp_tcp.c | 154 static void prepare_msg(knot_xdp_msg_t *msg, int flags, uint16_t sport, uint16_t dport) in prepare_msg() argument 160 msg->ip_to.sin6_port = htobe16(dport); in prepare_msg()
|
/dports/dns/utdns/utdns-1.1/ |
H A D | iptables_ut | 4 iptables -A OUTPUT -t nat -p udp --dport 53 ! -o lo -j DNAT --to-destination 127.0.0.1:5300 5 iptables -A POSTROUTING -t nat -p udp --dport 5300 -j SNAT --to-source 127.0.0.1 8 iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 5300
|
/dports/editors/joe/joe-4.6/syntax/ |
H A D | iptables.jsf | 95 "dport" rule_sd_pre
|
/dports/emulators/dynamips-community/dynamips-0.2.17/common/ |
H A D | net.h | 218 m_uint16_t dport; member 226 m_uint16_t dport; member
|
/dports/emulators/fuse/fuse-1.6.0/peripherals/nic/ |
H A D | w5100_internals.h | 102 libspectrum_byte dport[2];/* Destination port */ member
|
H A D | w5100_socket.c | 111 memset( socket->dport, 0, sizeof( socket->dport ) ); in w5100_socket_clean() 286 memcpy( &sa.sin_port, socket->dport, 2 ); in w5100_socket_connect() 509 socket->dport[socket_reg - W5100_SOCKET_DPORT0] = b; in nic_w5100_socket_write() 706 memcpy( &sa.sin_port, socket->dport, 2 ); in w5100_socket_process_udp_write()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/HLE/ |
H A D | sceNetAdhoc.cpp | 1489 uint16_t dport = (uint16_t)port; in sceNetAdhocPdpSend() local 1498 if (dport != 0) { in sceNetAdhocPdpSend() 1531 target.sin_port = htons(dport + portOffset); in sceNetAdhocPdpSend() 1536 …target.sin_port = htons(dport + ((isOriPort && !isPrivateIP(target.sin_addr.s_addr)) ? 0 : portOff… in sceNetAdhocPdpSend() 1555 dest.peers.push_back({ target.sin_addr.s_addr, dport }); in sceNetAdhocPdpSend() 1615 dest.peers.push_back({ peer->ip_addr, dport }); in sceNetAdhocPdpSend() 1640 target.sin_port = htons(dport + ((isOriPort && !isPrivateIP(peer.ip)) ? 0 : portOffset)); in sceNetAdhocPdpSend() 3160 static int sceNetAdhocPtpOpen(const char *srcmac, int sport, const char *dstmac, int dport, int buf… in sceNetAdhocPtpOpen() argument 3161 …erAddr*)srcmac).c_str(), sport, mac2str((SceNetEtherAddr*)dstmac).c_str(),dport,bufsize, rexmt_int… in sceNetAdhocPtpOpen() 3177 if (isPTPPortInUse(sport, false, daddr, dport)) { in sceNetAdhocPtpOpen() [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpc/ |
H A D | README | 78 $ iptables -A OUTPUT -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j SET --add-set upnp src,src… 80 $ iptables -A INPUT -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT 84 $ ip6tables -A OUTPUT -d ff02::c/128 -p udp -m udp --dport 1900 -j SET --add-set upnp6 src,src --ex… 85 $ ip6tables -A OUTPUT -d ff05::c/128 -p udp -m udp --dport 1900 -j SET --add-set upnp6 src,src --ex… 87 $ ip6tables -A INPUT -d ff02::c/128 -p udp -m udp --dport 1900 -j ACCEPT 88 $ ip6tables -A INPUT -d ff05::c/128 -p udp -m udp --dport 1900 -j ACCEPT
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpd/ |
H A D | miniupnpd.c | 621 int dport = get_udp_dst_port(pkt); in nfqueue_cb() local 628 if ( (dport == 1900) && (id_protocol == IPPROTO_UDP) in nfqueue_cb()
|
H A D | upnppinhole.c | 364 char * src, * dst, * sport, * dport, * proto, * line; 415 dport = strstr(buf, "DPT="); 416 dport += 4; 418 printf("\tCompare iport: %hu\n\t to port: %d\n", *iport, atoi(dport)); 419 if(/*eport != atoi(sport) &&*/ *iport != atoi(dport)) 456 char * src, * dst, * sport, * dport, * proto, * line; 506 dport = strstr(buf, "DPT="); 507 dport += 4; 509 printf("\tCompare iport: %hu\n\t to port: %d\n", *iport, atoi(dport)); 510 if(*eport != atoi(sport) && *iport != atoi(dport))
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpd/netfilter/ |
H A D | iptcrdr.c | 980 get_tcp_match(unsigned short dport, unsigned short sport) in get_tcp_match() argument 998 if (dport == 0) { in get_tcp_match() 1002 tcpinfo->dpts[0] = dport; /* specified destination port */ in get_tcp_match() 1003 tcpinfo->dpts[1] = dport; in get_tcp_match() 1009 get_udp_match(unsigned short dport, unsigned short sport) in get_udp_match() argument 1027 if (dport == 0) { in get_udp_match() 1031 udpinfo->dpts[0] = dport; /* specified destination port */ in get_udp_match() 1032 udpinfo->dpts[1] = dport; in get_udp_match() 1038 get_dnat_target(const char * daddr, unsigned short dport) in get_dnat_target() argument 1056 range->min.all = range->max.all = htons(dport); in get_dnat_target()
|
H A D | iptpinhole.c | 44 unsigned short dport; member 68 struct in6_addr * daddr, unsigned short dport, in add_to_pinhole_list() argument 82 p->dport = dport; in add_to_pinhole_list() 114 new_match(int proto, unsigned short sport, unsigned short dport) in new_match() argument 149 info->dpts[0] = dport; /* specified destination port */ in new_match() 150 info->dpts[1] = dport; in new_match() 297 (int_port == p->dport) && in find_pinhole() 340 if((info->spts[0] == p->sport) && (info->dpts[0] == p->dport)) { in delete_pinhole() 407 *int_port = p->dport; in get_pinhole_info() 433 if((info->spts[0] == p->sport) && (info->dpts[0] == p->dport)) { in get_pinhole_info()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpd/netfilter_nft/ |
H A D | nftnlrdr_misc.c | 870 uint16_t dport, sport; in rule_set_snat() local 906 dport = htons(iport); in rule_set_snat() 909 expr_add_cmp(r, NFT_REG_1, NFT_CMP_EQ, &dport, sizeof(uint16_t)); in rule_set_snat() 918 dport = htons(iport); in rule_set_snat() 921 expr_add_cmp(r, NFT_REG_1, NFT_CMP_EQ, &dport, sizeof(uint16_t)); in rule_set_snat() 945 uint16_t dport; in rule_set_dnat() local 991 dport = htons(eport); in rule_set_dnat() 996 dport = htons(eport); in rule_set_dnat() 1097 uint16_t dport, sport; in rule_set_filter_common() local 1124 dport = htons(iport); in rule_set_filter_common() [all …]
|