/system/core/libnetutils/ |
packet.c | 108 ip.protocol = IPPROTO_UDP; 193 } else if (packet.ip.protocol != IPPROTO_UDP) { 195 ALOGD("IP protocol (%d) is not UDP", packet.ip.protocol); 228 packet.ip.protocol = IPPROTO_UDP;
|
/system/bt/stack/pan/ |
pan_api.c | 482 ** protocol - protocol of the ethernet packet like IP or ARP 492 tPAN_RESULT PAN_Write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext) 507 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); 517 return PAN_WriteBuf(handle, dst, src, protocol, buffer, ext); 535 ** protocol - protocol of the ethernet packet like IP or ARP 544 tPAN_RESULT PAN_WriteBuf (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) 563 BNEP_Write(pan_cb.pcb[i].handle, dst, data, p_buf->len, protocol, src, ext); 587 result = BNEP_WriteBuf (pan_cb.pcb[i].handle, dst, p_buf, protocol, src, ext) [all...] |
/external/autotest/client/bin/net/ |
net_utils.py | 431 (0 seconds is 3x lacp timeout, use by protocol) 495 def open(self, protocol=None): 499 protocol : short in host byte order. None if ALL 504 if protocol is None: 512 socket.htons(protocol)) 572 def send_to(self, dst_mac, src_mac, protocol, payload): 580 protocol: short in host byte order 586 packet = ethernet.pack(dst_mac, src_mac, protocol, payload) 592 def recv_from(self, dst_mac, src_mac, protocol): 604 protocol: short in host byte order. None do not use in filter [all...] |
net_utils_unittest.py | [all...] |
/external/avahi/avahi-daemon/ |
static-services.c | 62 int protocol; member in struct:StaticService 125 s->protocol = AVAHI_PROTO_UNSPEC; 259 AVAHI_IF_UNSPEC, s->protocol, 276 AVAHI_IF_UNSPEC, s->protocol, 357 if (strcmp(attr[0], "protocol") == 0) { 358 AvahiProtocol protocol; local 361 protocol = AVAHI_PROTO_INET; 363 protocol = AVAHI_PROTO_INET6; 365 protocol = AVAHI_PROTO_UNSPEC; 367 avahi_log_error("%s: parse failure: invalid protocol specification \"%s\".", u->group->filename, attr[1]) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
transport_test.py | 161 def do_test(self, protocol, trans): 168 encoded_request = protocol.encode_message(request) 169 encoded_response = protocol.encode_message(response) 171 self.assertEquals(protocol, trans.protocol) 188 self.assertEquals(protobuf, trans.protocol_config.protocol) 192 trans = transport.Transport(protocol=protojson) 194 self.assertEquals(protojson, trans.protocol_config.protocol) 200 trans = transport.Transport(protocol=protocol_config) 207 trans = transport.Transport(protocol='png' [all...] |
/external/webrtc/webrtc/test/ |
rtp_file_reader.cc | 486 uint32_t protocol; local 487 TRY_PCAP(Read(&protocol, true)); 488 if (protocol == kBsdNullLoopback1 || protocol == kBsdNullLoopback2) { 532 uint16_t protocol; local 538 TRY_PCAP(Read(&protocol, true)); 559 protocol = protocol & 0x00ff; 560 if (protocol == kProtocolTcp) { 563 } else if (protocol == kProtocolUdp) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
wpr_server.py | 190 r'.*?(?P<protocol>HTTP|HTTPS|DNS)' 197 protocol = m.group('protocol').lower() 198 ports[protocol] = int(m.group('port')) 306 def _UrlOpen(self, url_path, protocol='http'): 314 protocol: 'http' or 'https' 319 protocol, self._replay_host, self._started_ports[protocol], url_path)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/ |
service_handlers_test.py | 855 self.protocol = self.mox.CreateMockAnything() 876 self.protocol) 891 self.protocol, 904 self.protocol.decode_message(Request1, 911 self.protocol) 920 self.protocol.decode_message( 927 self.protocol) 939 self.protocol.decode_message( 946 self.protocol) 1047 protocol = protourlencode variable in class:URLEncodedRPCMapperTest 1104 protocol = protobuf variable in class:ProtobufRPCMapperTest 1112 protocol = protojson variable in class:JSONRPCMapperTest [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
stream_socket_service.hpp | 29 template <typename Protocol> 31 : public asio::detail::service_base<stream_socket_service<Protocol> > 35 /// The protocol type. 36 typedef Protocol protocol_type; 39 typedef typename Protocol::endpoint endpoint_type; 43 typedef detail::reactive_socket_service<Protocol> service_impl_type; 58 stream_socket_service<Protocol> >(io_service), 84 /// Move-construct a new stream socket implementation from another protocol 91 Protocol1, Protocol>::value>::type* = 0) 105 const protocol_type& protocol, asio::error_code& ec [all...] |
/external/ppp/pppd/ |
demand.c | 107 * Call the demand_conf procedure for each protocol that's got one. 117 * demand_block - set each network protocol to block further packets. 127 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_QUEUE); 132 * demand_discard - set each network protocol to discard packets 144 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_ERROR); 160 * demand_unblock - set each enabled network protocol to pass packets. 170 sifnpmode(0, protp->protocol & ~0x8000, NPMODE_PASS); 355 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) { 363 return 0; /* not a supported protocol !!?? * [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
urllib2.py | 9 all the actual work. Each Handler implements a particular protocol or 335 protocol = meth[:i] 345 lookup = self.handle_error.get(protocol, {}) 346 self.handle_error[protocol] = lookup 348 kind = protocol 351 kind = protocol 354 kind = protocol 396 protocol = req.get_type() 399 meth_name = protocol+"_request" 400 for processor in self.process_request.get(protocol, []) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
urllib2.py | 9 all the actual work. Each Handler implements a particular protocol or 335 protocol = meth[:i] 345 lookup = self.handle_error.get(protocol, {}) 346 self.handle_error[protocol] = lookup 348 kind = protocol 351 kind = protocol 354 kind = protocol 396 protocol = req.get_type() 399 meth_name = protocol+"_request" 400 for processor in self.process_request.get(protocol, []) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib2.py | 9 all the actual work. Each Handler implements a particular protocol or 335 protocol = meth[:i] 345 lookup = self.handle_error.get(protocol, {}) 346 self.handle_error[protocol] = lookup 348 kind = protocol 351 kind = protocol 354 kind = protocol 396 protocol = req.get_type() 399 meth_name = protocol+"_request" 400 for processor in self.process_request.get(protocol, []) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib2.py | 9 all the actual work. Each Handler implements a particular protocol or 335 protocol = meth[:i] 345 lookup = self.handle_error.get(protocol, {}) 346 self.handle_error[protocol] = lookup 348 kind = protocol 351 kind = protocol 354 kind = protocol 396 protocol = req.get_type() 399 meth_name = protocol+"_request" 400 for processor in self.process_request.get(protocol, []) [all...] |
/prebuilts/tools/common/m2/repository/tightvnc/ |
tightvnc.jar | |
/external/avahi/avahi-gobject/ |
ga-entry-group.c | 363 protocol, 383 interface, protocol, 398 service->public.protocol = protocol; 438 AvahiProtocol protocol, 454 interface, protocol, 478 AvahiProtocol protocol, 490 ret = avahi_entry_group_add_record(priv->group, interface, protocol, 518 service->interface, service->protocol, service->flags,
|
/external/avahi/avahi-client/ |
entrygroup.c | 405 AvahiProtocol protocol, 444 i_protocol = (int32_t) protocol; 499 AvahiProtocol protocol, 516 r = avahi_entry_group_add_service_strlst(group, interface, protocol, flags, name, type, domain, host, port, txt); 525 AvahiProtocol protocol, 560 i_protocol = (int32_t) protocol; 614 AvahiProtocol protocol, 627 r = avahi_entry_group_update_service_txt_strlst(group, interface, protocol, flags, name, type, domain, txt); 636 AvahiProtocol protocol, 670 i_protocol = (int32_t) protocol; [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 22 import com.squareup.okhttp.Protocol; 129 private List<Protocol> protocols 130 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1); 225 * negotiate a protocol like HTTP/1.1 or HTTP/2. Call this method to disable 238 * must contain {@linkplain Protocol#HTTP_1_1}. It must not contain null. 240 public void setProtocols(List<Protocol> protocols) { 242 if (!protocols.contains(Protocol.HTTP_1_1)) { 432 Protocol protocol = Protocol.HTTP_1_1 [all...] |
/external/android-clat/ |
translate.c | 109 * proto - ethernet protocol id: ETH_P_IP(ipv4) or ETH_P_IPV6(ipv6) 120 * protocol - protocol number (tcp, udp, etc) 123 void fill_ip_header(struct iphdr *ip, uint16_t payload_len, uint8_t protocol, 135 ip->protocol = protocol; 154 * protocol - protocol number (tcp, udp, etc) 157 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, 163 ip6->ip6_nxt = protocol; [all...] |
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_api.c | 726 ** NFA_STATUS_INVALID_PARAM if RF interface is not matched protocol 731 tNFA_NFC_PROTOCOL protocol, 736 NFA_TRACE_API3 ("NFA_Select (): rf_disc_id:0x%X, protocol:0x%X, rf_interface:0x%X", 737 rf_disc_id, protocol, rf_interface); 739 if ( ((rf_interface == NFA_INTERFACE_ISO_DEP) && (protocol != NFA_PROTOCOL_ISO_DEP)) 740 ||((rf_interface == NFA_INTERFACE_NFC_DEP) && (protocol != NFA_PROTOCOL_NFC_DEP)) ) 742 NFA_TRACE_ERROR0 ("NFA_Select (): RF interface is not matched protocol"); 750 p_msg->protocol = protocol; [all...] |
nfa_dm_discover.c | 50 tNFC_PROTOCOL protocol); 279 ** Description Update listening protocol to NFCC 647 ** Description Convert RF technology, mode and protocol to bit mask 653 tNFC_PROTOCOL protocol) 660 switch (protocol) 678 if (protocol == NFC_PROTOCOL_ISO_DEP) 683 if (protocol == NFC_PROTOCOL_T3T) 685 else if (protocol == NFC_PROTOCOL_NFC_DEP) 710 switch (protocol) 728 if (protocol == NFC_PROTOCOL_ISO_DEP 1262 tNFC_PROTOCOL protocol = p_data->activate.protocol; local 3067 UINT8 protocol = 0xFF; local [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_linux.c | 246 const char *ifname, const u8 *own_addr, unsigned short protocol, 267 htons(protocol)); 288 ll.sll_protocol = htons(protocol); 314 unsigned short protocol, 325 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, protocol, 0, 1), 338 l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback, 347 * protocol from interfaces in a bridge when that interface is not in
|
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.1/ |
httpcore-4.2.1.jar | |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.5/ |
httpcore-4.2.5.jar | |