/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | ipsec.c | 47 "sa[%i] spi=0x%08x proto=0x%x salt=0x%08x crypt=%d\n", in nsim_dbg_netdev_ops_read() 49 sap->xs->id.proto, sap->salt, sap->crypt); in nsim_dbg_netdev_ops_read() 141 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_add_sa() 143 xs->id.proto); in nsim_ipsec_add_sa() 164 if (sa.xs->id.proto & IPPROTO_ESP) in nsim_ipsec_add_sa() 265 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_tx() 266 netdev_err(ns->netdev, "unexpected proto=%d\n", xs->id.proto); in nsim_ipsec_tx() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 36 #define IP_VS_PROTO_HASH(proto) ((proto) & (IP_VS_PROTO_TAB_SIZE-1)) 83 /* unlink an free proto data */ in register_ip_vs_proto_netns() 138 * get ip_vs_protocol object by its proto. 140 struct ip_vs_protocol * ip_vs_proto_get(unsigned short proto) in ip_vs_proto_get() argument 143 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_get() 146 if (pp->protocol == proto) in ip_vs_proto_get() 155 * get ip_vs_protocol object data by netns and proto 158 ip_vs_proto_data_get(struct netns_ipvs *ipvs, unsigned short proto) in ip_vs_proto_data_get() argument 161 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_data_get() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | sorgf119.c | 126 if (sor->asy.proto == TMDS) { in gf119_sor_clock() 144 case 0: state->proto = LVDS; state->link = 1; break; in gf119_sor_state() 145 case 1: state->proto = TMDS; state->link = 1; break; in gf119_sor_state() 146 case 2: state->proto = TMDS; state->link = 2; break; in gf119_sor_state() 147 case 5: state->proto = TMDS; state->link = 3; break; in gf119_sor_state() 148 case 8: state->proto = DP; state->link = 1; break; in gf119_sor_state() 149 case 9: state->proto = DP; state->link = 2; break; in gf119_sor_state() 151 state->proto = UNKNOWN; in gf119_sor_state()
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | sermouse.c | 241 sermouse->type = serio->id.proto; in sermouse_connect() 284 .proto = SERIO_MSC, 290 .proto = SERIO_SUN, 296 .proto = SERIO_MS, 302 .proto = SERIO_MP, 308 .proto = SERIO_MZ, 314 .proto = SERIO_MZP, 320 .proto = SERIO_MZPP,
|
/kernel/linux/linux-6.6/net/handshake/ |
H A D | request.c | 104 * @proto: security protocol 109 struct handshake_req *handshake_req_alloc(const struct handshake_proto *proto, in handshake_req_alloc() argument 114 if (!proto) in handshake_req_alloc() 116 if (proto->hp_handler_class <= HANDSHAKE_HANDLER_CLASS_NONE) in handshake_req_alloc() 118 if (proto->hp_handler_class >= HANDSHAKE_HANDLER_CLASS_MAX) in handshake_req_alloc() 120 if (!proto->hp_accept || !proto->hp_done) in handshake_req_alloc() 123 req = kzalloc(struct_size(req, hr_priv, proto->hp_privsize), flags); in handshake_req_alloc() 128 req->hr_proto = proto; in handshake_req_alloc()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 36 #define IP_VS_PROTO_HASH(proto) ((proto) & (IP_VS_PROTO_TAB_SIZE-1)) 83 /* unlink an free proto data */ in register_ip_vs_proto_netns() 138 * get ip_vs_protocol object by its proto. 140 struct ip_vs_protocol * ip_vs_proto_get(unsigned short proto) in ip_vs_proto_get() argument 143 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_get() 146 if (pp->protocol == proto) in ip_vs_proto_get() 155 * get ip_vs_protocol object data by netns and proto 158 ip_vs_proto_data_get(struct netns_ipvs *ipvs, unsigned short proto) in ip_vs_proto_data_get() argument 161 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_data_get() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_tcpudp.c | 263 .proto = IPPROTO_TCP, 272 .proto = IPPROTO_TCP, 281 .proto = IPPROTO_UDP, 290 .proto = IPPROTO_UDP, 299 .proto = IPPROTO_UDPLITE, 308 .proto = IPPROTO_UDPLITE, 316 .proto = IPPROTO_ICMP, 325 .proto = IPPROTO_ICMPV6,
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | generator_test.py | 74 proto = unittest_pb2.TestAllTypes() 75 self.assertEqual(1, proto.FOO) 77 self.assertEqual(2, proto.BAR) 79 self.assertEqual(3, proto.BAZ) 144 proto = unittest_mset_pb2.TestMessageSet() 145 self.assertTrue(proto.DESCRIPTOR.GetOptions().message_set_wire_format) 148 proto = unittest_custom_options_pb2.TestMessageWithCustomOptions() 149 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions() 217 'google/protobuf/unittest.proto')
|
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
H A D | driver.c | 84 * @proto: A reference to the protocol descriptor. 96 const struct scmi_protocol *proto; member 190 const struct scmi_protocol *proto; in scmi_protocol_get() local 192 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_get() 193 if (!proto || !try_module_get(proto->owner)) { in scmi_protocol_get() 200 return proto; in scmi_protocol_get() 205 const struct scmi_protocol *proto; in scmi_protocol_put() local 207 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_put() 208 if (proto) in scmi_protocol_put() 212 scmi_protocol_register(const struct scmi_protocol *proto) scmi_protocol_register() argument 242 scmi_protocol_unregister(const struct scmi_protocol *proto) scmi_protocol_unregister() argument 1793 scmi_alloc_init_protocol_instance(struct scmi_info *info, const struct scmi_protocol *proto) scmi_alloc_init_protocol_instance() argument 1883 const struct scmi_protocol *proto; scmi_get_protocol_instance() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | ansidecl.h | 98 #define EXFUN(name, proto) name proto 122 #define EXFUN(name, proto) name()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | checksum.h | 21 __u32 len, __u8 proto, __wsum sum); 24 __u32 len, __u8 proto, __wsum sum); 61 __u32 len, __u8 proto, __wsum csum);
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | checksum.h | 21 __u32 len, __u8 proto, __wsum sum); 24 __u32 len, __u8 proto, __wsum sum); 61 __u32 len, __u8 proto, __wsum csum);
|
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | ansidecl.h | 98 #define EXFUN(name, proto) name proto 122 #define EXFUN(name, proto) name()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | checksum.h | 47 __u8 proto, __wsum sum); 53 __u8 proto, __wsum sum) in csum_tcpudp_magic() 55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 52 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) csum_tcpudp_magic() argument
|
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | checksum.h | 47 __u8 proto, __wsum sum); 53 __u8 proto, __wsum sum) in csum_tcpudp_magic() 55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 52 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) csum_tcpudp_magic() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | skb_pkt_end.c | 33 __u8 proto = 0; in main_prog() local 38 proto = ip->protocol; in main_prog() 40 if (proto != IPPROTO_TCP) in main_prog()
|
/third_party/libcoap/include/coap3/ |
H A D | coap_oscore.h | 50 * @param proto CoAP Protocol. 60 coap_proto_t proto, 74 * @param proto CoAP Protocol. 85 coap_proto_t proto, 100 * @param proto CoAP Protocol. 111 coap_proto_t proto,
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | function-prototype-bind.js | 23 function boundPrototypeChecker(f, proto) { 24 Object.setPrototypeOf(f, proto); 27 assert(Object.getPrototypeOf(boundFunc) === proto);
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_freeres/ |
H A D | rpc_clnt_freeres.c | 49 char proto[8] = "udp"; in main() local 60 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main() 65 printf("Proto : %s\n", proto); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call.c | 49 char proto[8] = "udp"; in main() local 61 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main() 66 printf("Proto : %s\n", proto); in main()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 539 enum ena_admin_flow_hash_proto proto; in ena_get_rss_hash() local 547 proto = ENA_ADMIN_RSS_TCP4; in ena_get_rss_hash() 550 proto = ENA_ADMIN_RSS_UDP4; in ena_get_rss_hash() 553 proto = ENA_ADMIN_RSS_TCP6; in ena_get_rss_hash() 556 proto = ENA_ADMIN_RSS_UDP6; in ena_get_rss_hash() 559 proto = ENA_ADMIN_RSS_IP4; in ena_get_rss_hash() 562 proto = ENA_ADMIN_RSS_IP6; in ena_get_rss_hash() 565 proto = ENA_ADMIN_RSS_NOT_IP; in ena_get_rss_hash() 578 rc = ena_com_get_hash_ctrl(ena_dev, proto, &hash_fields); in ena_get_rss_hash() 590 enum ena_admin_flow_hash_proto proto; in ena_set_rss_hash() local [all...] |
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow.c | 257 key->ip.proto = NEXTHDR_NONE; in parse_ipv6hdr() 268 key->ip.proto = NEXTHDR_FRAGMENT; in parse_ipv6hdr() 285 key->ip.proto = nexthdr; in parse_ipv6hdr() 377 __be16 proto; in parse_ethertype() local 379 proto = *(__be16 *) skb->data; in parse_ethertype() 382 if (eth_proto_is_802_3(proto)) in parse_ethertype() 383 return proto; in parse_ethertype() 556 key->ip.proto = nh->protocol; in key_extract_l3l4() 573 if (key->ip.proto == IPPROTO_TCP) { in key_extract_l3l4() 583 } else if (key->ip.proto in key_extract_l3l4() [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | udp_media.c | 69 __be16 proto; member 102 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_is_mcast_addr() 128 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 130 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str() 170 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_xmit() 314 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_rcast_add() 317 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add() 339 src.proto = htons(ETH_P_IP); in tipc_udp_rcast_disc() 347 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc() 405 if (ntohs(remote->proto) in enable_mcast() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 609 enum ena_admin_flow_hash_proto proto; in ena_get_rss_hash() local 617 proto = ENA_ADMIN_RSS_TCP4; in ena_get_rss_hash() 620 proto = ENA_ADMIN_RSS_UDP4; in ena_get_rss_hash() 623 proto = ENA_ADMIN_RSS_TCP6; in ena_get_rss_hash() 626 proto = ENA_ADMIN_RSS_UDP6; in ena_get_rss_hash() 629 proto = ENA_ADMIN_RSS_IP4; in ena_get_rss_hash() 632 proto = ENA_ADMIN_RSS_IP6; in ena_get_rss_hash() 635 proto = ENA_ADMIN_RSS_NOT_IP; in ena_get_rss_hash() 648 rc = ena_com_get_hash_ctrl(ena_dev, proto, &hash_fields); in ena_get_rss_hash() 660 enum ena_admin_flow_hash_proto proto; in ena_set_rss_hash() local [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | udp_media.c | 68 * @proto: Ethernet protocol in use 74 __be16 proto; member 108 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_is_mcast_addr() 134 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 136 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str() 176 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_xmit() 320 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_rcast_add() 323 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add() 345 src.proto = htons(ETH_P_IP); in tipc_udp_rcast_disc() 353 src.proto in tipc_udp_rcast_disc() [all...] |