/third_party/libcoap/src/ |
H A D | coap_oscore.c | 69 coap_proto_t proto, in coap_new_client_session_oscore() 72 coap_new_client_session(ctx, local_if, server, proto); in coap_new_client_session_oscore() 88 coap_proto_t proto, in coap_new_client_session_oscore_psk() 92 coap_new_client_session_psk2(ctx, local_if, server, proto, psk_data); in coap_new_client_session_oscore_psk() 108 coap_proto_t proto, in coap_new_client_session_oscore_pki() 112 coap_new_client_session_pki(ctx, local_if, server, proto, pki_data); in coap_new_client_session_oscore_pki() 630 COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_oscore_new_pdu_encrypted() 643 if (!coap_pdu_encode_header(osc_pdu, session->proto)) { in coap_oscore_new_pdu_encrypted() 1378 coap_pdu_encode_header(plain_pdu, session->proto); in coap_oscore_decrypt_pdu() 1545 if (!coap_pdu_encode_header(decrypt_pdu, session->proto)) { in coap_oscore_decrypt_pdu() 66 coap_new_client_session_oscore(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore() argument 85 coap_new_client_session_oscore_psk(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_cpsk_t *psk_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_psk() argument 105 coap_new_client_session_oscore_pki(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_pki_t *pki_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_pki() argument 2110 coap_new_client_session_oscore(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore() argument 2124 coap_new_client_session_oscore_psk(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_cpsk_t *psk_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_psk() argument 2140 coap_new_client_session_oscore_pki(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_pki_t *pki_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_pki() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 304 // // in "foo.proto" in SetUp() 310 // // in "bar.proto" in SetUp() 317 // Also, we have an empty file "baz.proto". This file's purpose is to in SetUp() 318 // make sure that even though it has the same package as foo.proto, in SetUp() 319 // searching it for members of foo.proto won't work. in SetUp() 322 foo_file.set_name("foo.proto"); in SetUp() 331 bar_file.set_name("bar.proto"); in SetUp() 333 bar_file.add_dependency("foo.proto"); in SetUp() 342 baz_file.set_name("baz.proto"); in SetUp() 397 EXPECT_EQ("foo.proto", foo_file in TEST_F() 525 FileDescriptorProto proto; TEST_F() local 599 FileDescriptorProto proto; TEST_F() local 771 CopyWithJsonName(const Descriptor* message, DescriptorProto* proto) CopyWithJsonName() argument 914 DescriptorProto proto; TEST_F() local 2740 BuildFile(const FileDescriptorProto& proto) BuildFile() argument 2814 FieldDescriptorProto proto; TEST_P() local 7702 FileDescriptorProto proto; TEST_F() local 7720 FileDescriptorProto proto; TEST_F() local 7801 ParseProtoAndAddToDb(const char* proto) ParseProtoAndAddToDb() argument 7807 ParseProtoAndAddToDb(const std::string& proto) ParseProtoAndAddToDb() argument [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | xfrm4_state.c | 15 .proto = IPPROTO_IPIP,
|
/kernel/linux/linux-6.6/include/net/ |
H A D | p8022.h | 15 void unregister_8022_client(struct datalink_proto *proto);
|
H A D | psnap.h | 15 void unregister_snap_client(struct datalink_proto *proto);
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | xfrm4_state.c | 15 .proto = IPPROTO_IPIP,
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_platform.h | 48 struct servent *getservbyport(int port, const char *proto);
|
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | ppp_generic.c | 129 enum NPmode npmode[NUM_NP]; /* what to do with each net proto 78 */ 307 static inline int proto_to_npindex(int proto) in proto_to_npindex() argument 309 switch (proto) { in proto_to_npindex() 1233 ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */ in ppp_dev_configure() 1431 int npi, proto; in ppp_start_xmit() local 1457 proto = npindex_to_proto[npi]; in ppp_start_xmit() 1458 put_unaligned_be16(proto, pp); in ppp_start_xmit() 1741 int proto = PPP_PROTO(skb); in ppp_send_frame() local 1748 if (proto < 0x8000) { in ppp_send_frame() 1777 switch (proto) { in ppp_send_frame() 2281 int proto; ppp_input() local 2376 int proto, len, npi; ppp_receive_nonmp_frame() local 2519 int proto = PPP_PROTO(skb); ppp_decompress_frame() local 3208 find_comp_entry(int proto) find_comp_entry() argument [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_base_events.py | 1745 MyDatagramProto, proto=1, sock=FakeSock()) 1840 proto=m_socket.IPPROTO_UDP, 2000 proto = self.MyProto(self.loop) 2002 lambda: proto, socket_helper.HOST, 0, family=socket.AF_INET)) 2021 if proto.transport is not None: 2022 proto.transport.close() 2023 self.run_loop(proto.wait_closed()) 2027 return sock, proto 2030 sock, proto = self.prepare() 2037 self.assertEqual(proto [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | p8022.h | 10 void unregister_8022_client(struct datalink_proto *proto);
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | xfrm6_state.c | 19 .proto = IPPROTO_IPV6,
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_none.c | 24 .proto = DSA_TAG_PROTO_NONE,
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | xfrm6_state.c | 19 .proto = IPPROTO_IPV6,
|
/third_party/python/Modules/ |
H A D | socketmodule.c | 29 - socket.socket([family[, type [, proto, fileno]]]) --> new socket object 31 - socket.socketpair([family[, type [, proto]]]) --> (socket, socket) 36 - socket.getaddrinfo(host, port [, family, type, proto, flags]) 37 --> List of (family, type, proto, canonname, sockaddr) 119 "socket(family=AF_INET, type=SOCK_STREAM, proto=0) -> socket object\n\ 120 socket(family=-1, type=-1, proto=-1, fileno=None) -> socket object\n\ 129 When a fileno is passed in, family, type and proto are auto-detected,\n\ 983 SOCKET_T fd, int family, int type, int proto) in init_sockobject() 1003 s->sock_proto = proto; in init_sockobject() 1030 new_sockobject(SOCKET_T fd, int family, int type, int proto) in new_sockobject() argument 982 init_sockobject(PySocketSockObject *s, SOCKET_T fd, int family, int type, int proto) init_sockobject() argument 1319 makesockaddr(SOCKET_T sockfd, struct sockaddr *addr, size_t addrlen, int proto) makesockaddr() argument 5183 sock_initobj_impl(PySocketSockObject *self, int family, int type, int proto, PyObject *fdobj) global() argument 5922 const char *name, *proto=NULL; global() local 5959 const char *proto=NULL; global() local 6110 int family, type = SOCK_STREAM, proto = 0; global() local [all...] |
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
H A D | panel.c | 204 int proto; member 915 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 927 lcd.proto = LCD_PROTO_SERIAL; in lcd_init() 940 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 953 lcd.proto = DEFAULT_LCD_PROTO; in lcd_init() 960 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 984 lcd.proto = lcd_proto; in lcd_init() 1008 if (lcd.proto == LCD_PROTO_SERIAL) { /* SERIAL */ in lcd_init() 1016 } else if (lcd.proto == LCD_PROTO_PARALLEL) { /* PARALLEL */ in lcd_init() 1736 lcd.proto in panel_init_module() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.c | 66 enum mlxsw_sp_l3proto proto; member 806 key->proto = MLXSW_SP_L3_PROTO_IPV4; in mlxsw_sp_mr_route4_key() 850 key->proto = MLXSW_SP_L3_PROTO_IPV6; in mlxsw_sp_mr_route6_key() 897 enum mlxsw_sp_l3proto proto) in mlxsw_sp_mr_table_create() 903 .proto = proto, in mlxsw_sp_mr_table_create() 921 mr_table->proto = proto; in mlxsw_sp_mr_table_create() 922 mr_table->ops = &mlxsw_sp_mr_table_ops_arr[proto]; in mlxsw_sp_mr_table_create() 934 mr_table->vifs[i].ops = &mlxsw_sp_mr_vif_ops_arr[proto]; in mlxsw_sp_mr_table_create() 895 mlxsw_sp_mr_table_create(struct mlxsw_sp *mlxsw_sp, u32 vr_id, enum mlxsw_sp_l3proto proto) mlxsw_sp_mr_table_create() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | hdlc_fr.c | 1176 static struct hdlc_proto proto = { variable 1198 if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */ in fr_ioctl() 1240 if (dev_to_hdlc(dev)->proto != &proto) { /* Different proto */ in fr_ioctl() 1241 result = attach_hdlc_protocol(dev, &proto, in fr_ioctl() 1257 if (dev_to_hdlc(dev)->proto != &proto) /* Differen in fr_ioctl() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | svc.c | 1005 unsigned short proto, in svc_rpcbind_set_version() 1009 version, family, proto, port); in svc_rpcbind_set_version() 1017 unsigned short proto, in svc_generic_rpcbind_set() 1027 trace_svc_noregister(progp->pg_name, version, proto, in svc_generic_rpcbind_set() 1036 if (vers->vs_need_cong_ctrl && proto == IPPROTO_UDP) in svc_generic_rpcbind_set() 1040 family, proto, port); in svc_generic_rpcbind_set() 1051 * @proto: transport protocol number to advertise 1057 const int family, const unsigned short proto, in svc_register() 1064 WARN_ON_ONCE(proto == 0 && port == 0); in svc_register() 1065 if (proto in svc_register() 1002 svc_rpcbind_set_version(struct net *net, const struct svc_program *progp, u32 version, int family, unsigned short proto, unsigned short port) svc_rpcbind_set_version() argument 1014 svc_generic_rpcbind_set(struct net *net, const struct svc_program *progp, u32 version, int family, unsigned short proto, unsigned short port) svc_generic_rpcbind_set() argument 1056 svc_register(const struct svc_serv *serv, struct net *net, const int family, const unsigned short proto, const unsigned short port) svc_register() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.c | 66 enum mlxsw_sp_l3proto proto; member 803 key->proto = MLXSW_SP_L3_PROTO_IPV4; in mlxsw_sp_mr_route4_key() 847 key->proto = MLXSW_SP_L3_PROTO_IPV6; in mlxsw_sp_mr_route6_key() 894 enum mlxsw_sp_l3proto proto) in mlxsw_sp_mr_table_create() 900 .proto = proto, in mlxsw_sp_mr_table_create() 918 mr_table->proto = proto; in mlxsw_sp_mr_table_create() 919 mr_table->ops = &mlxsw_sp_mr_table_ops_arr[proto]; in mlxsw_sp_mr_table_create() 931 mr_table->vifs[i].ops = &mlxsw_sp_mr_vif_ops_arr[proto]; in mlxsw_sp_mr_table_create() 892 mlxsw_sp_mr_table_create(struct mlxsw_sp *mlxsw_sp, u32 vr_id, enum mlxsw_sp_l3proto proto) mlxsw_sp_mr_table_create() argument [all...] |
/kernel/linux/linux-6.6/drivers/auxdisplay/ |
H A D | panel.c | 205 int proto; member 859 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 871 lcd.proto = LCD_PROTO_SERIAL; in lcd_init() 884 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 897 lcd.proto = DEFAULT_LCD_PROTO; in lcd_init() 904 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init() 928 lcd.proto = lcd_proto; in lcd_init() 952 if (lcd.proto == LCD_PROTO_SERIAL) { /* SERIAL */ in lcd_init() 962 } else if (lcd.proto == LCD_PROTO_PARALLEL) { /* PARALLEL */ in lcd_init() 1687 lcd.proto in panel_init_module() [all...] |
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | hdlc_fr.c | 1174 static struct hdlc_proto proto = { variable 1195 if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */ in fr_ioctl() 1238 if (dev_to_hdlc(dev)->proto != &proto) { /* Different proto */ in fr_ioctl() 1239 result = attach_hdlc_protocol(dev, &proto, in fr_ioctl() 1255 if (dev_to_hdlc(dev)->proto != &proto) /* Differen in fr_ioctl() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | svc.c | 1073 unsigned short proto, in svc_rpcbind_set_version() 1077 version, family, proto, port); in svc_rpcbind_set_version() 1085 unsigned short proto, in svc_generic_rpcbind_set() 1095 trace_svc_noregister(progp->pg_name, version, proto, in svc_generic_rpcbind_set() 1104 if (vers->vs_need_cong_ctrl && proto == IPPROTO_UDP) in svc_generic_rpcbind_set() 1108 family, proto, port); in svc_generic_rpcbind_set() 1119 * @proto: transport protocol number to advertise 1125 const int family, const unsigned short proto, in svc_register() 1132 WARN_ON_ONCE(proto == 0 && port == 0); in svc_register() 1133 if (proto in svc_register() 1070 svc_rpcbind_set_version(struct net *net, const struct svc_program *progp, u32 version, int family, unsigned short proto, unsigned short port) svc_rpcbind_set_version() argument 1082 svc_generic_rpcbind_set(struct net *net, const struct svc_program *progp, u32 version, int family, unsigned short proto, unsigned short port) svc_generic_rpcbind_set() argument 1124 svc_register(const struct svc_serv *serv, struct net *net, const int family, const unsigned short proto, const unsigned short port) svc_register() argument [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_client_handler.cc | 630 StringRef proto; in validate_next_proto() local 633 proto = StringRef{next_proto, next_proto_len}; in validate_next_proto() 636 CLOG(INFO, this) << "The negotiated next protocol: " << proto; in validate_next_proto() 643 proto = StringRef::from_lit("http/1.1"); in validate_next_proto() 646 if (!tls::in_proto_list(get_config()->tls.npn_list, proto)) { in validate_next_proto() 648 CLOG(INFO, this) << "The negotiated protocol is not supported: " << proto; in validate_next_proto() 653 if (util::check_h2_is_selected(proto)) { in validate_next_proto() 659 alpn_ = make_string_ref(balloc_, proto); in validate_next_proto() 671 if (proto == StringRef::from_lit("http/1.1")) { in validate_next_proto() 1119 if (addr->proto in get_downstream_connection() [all...] |
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
H A D | ipc_object_proxy.h | 45 int proto = IRemoteObject::IF_PROT_DEFAULT); 253 * @param proto Indicates a proxy proto. 257 void SetProto(int proto);
|
/kernel/linux/linux-5.10/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 34 enum rc_proto proto; member 135 unsigned int rc_proto = protocols[i].proto; in main()
|