/external/libnl/src/lib/ |
exp.c | 130 uint16_t dport = nfnl_exp_get_dst_port(exp, tuple); local 131 nfnl_exp_set_ports(exp, tuple, sport, dport); 136 uint32_t dport = nl_cli_parse_u32(arg); local 138 nfnl_exp_set_ports(exp, tuple, sport, dport);
|
/external/libnetfilter_conntrack/src/conntrack/ |
grp_getter.c | 44 this->dport = ct->head.orig.l4dst.all; 51 this->dport = ct->repl.l4dst.all; 80 this->dport = ct->master.l4dst.all;
|
grp_setter.c | 76 ct->head.orig.l4dst.all = this->dport; 83 ct->repl.l4dst.all = this->dport; 138 ct->master.l4dst.all = this->dport;
|
/frameworks/base/services/net/java/android/net/netlink/ |
ConntrackMessage.java | 72 int proto, Inet4Address src, int sport, Inet4Address dst, int dport, int timeoutSec) { 84 new StructNlAttr(CTA_PROTO_DST_PORT, (short) dport, BIG_ENDIAN)));
|
/external/ipsec-tools/src/racoon/ |
nattraversal.h | 72 u_int16_t dport; member in struct:ph2natt
|
/external/libnetfilter_conntrack/utils/ |
conntrack_grp_create.c | 30 .dport = htons(10)
|
/external/libnl/etc/ |
pktloc | 43 tcp.dport u16 tcp+2 74 udp.dport u16 tcp+2
|
/kernel/tests/net/test/ |
xfrm_test.py | 76 self.assertEquals(4500, packet.dport) 125 daddr, dport = s.getpeername()[:2] 263 encaptmpl.sport, encaptmpl.dport = encaptmpl.dport, encaptmpl.sport 314 scapy.UDP(sport=4500, dport=encap_port) / broken) 321 scapy.UDP(sport=4500, dport=encap_port) / payload) 329 scapy.UDP(sport=srcport, dport=53) / "foo")
|
sock_diag_test.py | 59 # Dict mapping (addr, sport, dport) tuples to socketpairs. 67 sport, dport = (socketpair[0].getsockname()[1], 69 socketpairs[(addr, sport, dport)] = socketpair 95 dst, dport = s.getpeername()[0:2] 97 self.assertEqual(diag_msg.id.dport, dport) 159 dport = diag_msg.id.dport 160 if (addr, sport, dport) in self.socketpairs: 161 cookies[(addr, sport, dport)] = diag_msg.id.cooki [all...] |
sock_diag.py | 81 "InetDiagSockId", "!HH16s16sI8s", "sport dport src dst iface cookie") 366 dst, dport = s.getpeername()[:2] 369 dport = 0 375 sock_id = InetDiagSockId((sport, dport, src, dst, iface, "\x00" * 8)) 429 sock_id.dport = 443
|
/external/tcpdump/ |
print-tcp.c | 169 uint16_t sport, dport, win, urp; local 191 dport = EXTRACT_16BITS(&tp->th_dport); 199 tcpport_string(ndo, dport))); 202 tcpport_string(ndo, sport), tcpport_string(ndo, dport))); 210 tcpport_string(ndo, dport))); 213 tcpport_string(ndo, sport), tcpport_string(ndo, dport))); 261 if (sport > dport) 263 else if (sport == dport) { 270 tha.port = dport << 16 | sport; 274 tha.port = sport << 16 | dport; [all...] |
print-pgm.c | 153 uint16_t sport, dport; local 182 dport = EXTRACT_16BITS(&pgm->pgm_dport); 190 tcpport_string(ndo, dport))); 193 tcpport_string(ndo, sport), tcpport_string(ndo, dport))); 201 tcpport_string(ndo, dport))); 204 tcpport_string(ndo, sport), tcpport_string(ndo, dport)));
|
print-dccp.c | 275 u_short sport, dport; local 310 dport = EXTRACT_16BITS(&dh->dccph_dport); 316 ip6addr_string(ndo, &ip6->ip6_dst), dport)); 320 ipaddr_string(ndo, &ip->ip_dst), dport));
|
print-icmp.c | 344 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; local 384 dport = EXTRACT_16BITS(&ouh->uh_dport); 391 tcpport_string(ndo, dport)); 398 udpport_string(ndo, dport)); 405 oip->ip_p, dport);
|
/external/iproute2/ip/ |
ipxfrm.c | 479 fprintf(fp, "dport %u ", ntohs(sel->dport)); 483 /* type/code is stored at sport/dport in selector */ 487 fprintf(fp, "code %u ", ntohs(sel->dport)); 493 ntohs(sel->dport)); 500 fprintf(fp, "(dport) 0x%.4x ", sel->dport); 757 fprintf(fp, "dport %u ", ntohs(e->encap_dport)); 1266 } else if (strcmp(*argv, "dport") == 0) { 1271 if (get_u16(&sel->dport, *argv, 0) [all...] |
link_gre.c | 33 fprintf(f, " [ encap-sport PORT ] [ encap-dport PORT ]\n"); 282 } else if (strcmp(*argv, "encap-dport") == 0) { 432 __u16 dport = rta_getattr_u16(tb[IFLA_GRE_ENCAP_DPORT]); local 452 fprintf(f, "encap-dport %u ", ntohs(dport));
|
/external/autotest/client/deps/lansim/src/py/ |
simulator.py | 78 "ip.upd.dport": 53} 294 simu.add_match({"ip.tcp.dport": 80}, some_callback)
|
/external/iptables/extensions/ |
libebt_ip.c | 7 * added ip-sport and ip-dport; parsing of port arguments is 42 { .name = "ip-dport", .has_arg = true, .val = IP_DPORT }, 55 "--ip-dport [!] port[:port] : tcp/udp destination port or port range\n"); 192 parse_port_range(NULL, optarg, info->dport); 287 printf("--ip-dport "); 290 print_port_range(info->dport);
|
/system/core/libnetutils/ |
packet.c | 90 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) 114 udp.dest = htons(dport);
|
/external/ipsec-tools/src/libipsec/ |
pfkey_dump.c | 500 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/iproute2/bridge/ |
fdb.c | 354 unsigned short dport; local 356 dport = htons((unsigned short)port); 357 addattr16(&req.n, sizeof(req), NDA_PORT, dport);
|
/external/wpa_supplicant_8/src/ap/ |
fils_hlp.c | 479 u16 sport, dport, ulen; local 486 dport = ntohs(udph->uh_dport); 489 "FILS: HLP request UDP: sport=%u dport=%u ulen=%u sum=0x%x", 490 sport, dport, ulen, ntohs(udph->uh_sum)); 495 if (dport == DHCP_SERVER_PORT && sport == DHCP_CLIENT_PORT) {
|
/external/walt/docs/ |
ChromeOS.md | 39 - `iptables -A INPUT -p tcp --dport 50007 -j ACCEPT`
|
/frameworks/rs/tests/lldb/ |
run_tests.py | 500 dport = int(state.device_port) + state.port_mod 501 state.android.forward_port(hport, dport) 514 dport,
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
packet_sender.py | 380 udp = scapy.UDP(sport=DHCP_OFFER_SRC_PORT, dport=DHCP_OFFER_DST_PORT) 709 udp = scapy.UDP(sport=MDNS_UDP_PORT, dport=MDNS_UDP_PORT) 771 udp = scapy.UDP(sport=MDNS_UDP_PORT, dport=MDNS_UDP_PORT)
|