/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tap.c | 221 size_t build_eth(uint8_t *buf, uint16_t proto) in build_eth() argument 225 eth->h_proto = htons(proto); in build_eth()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 136 const char * const port, int proto) in sock_connect_mptcp() 149 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp() 135 sock_connect_mptcp(const char * const remoteaddr, const char * const port, int proto) sock_connect_mptcp() argument
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 138 memset(&ct->proto, 0, sizeof(ct->proto)); in __bpf_nf_ct_alloc_entry()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_vlan.c | 366 entry->vlan.proto = tcf_vlan_push_proto(act); in tcf_vlan_offload_act_setup() 375 entry->vlan.proto = tcf_vlan_push_proto(act); in tcf_vlan_offload_act_setup()
|
/third_party/curl/tests/ |
H A D | sshserver.pl | 98 my $proto = 'ssh'; # protocol the ssh daemon speaks 205 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum);
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | RangesTableSchema.java | 37 import com.google.i18n.phonenumbers.metadata.proto.Enums.Provenance; 38 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_windows_events.py | 125 trans, proto = await self.loop.create_pipe_connection( 128 self.assertEqual(protocol, proto)
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_functions.py | 376 proto = CFUNCTYPE(c_int, RECT, POINT) 380 callback = proto(callback)
|
/third_party/toybox/toys/net/ |
H A D | netstat.c | 41 char *proto) in addr2str() 82 // Doesn't understand proto "tcp6", so truncate in addr2str() 83 memcpy(cut, proto, 3); in addr2str() 40 addr2str(int af, void *addr, unsigned port, char *buf, int len, char *proto) addr2str() argument
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | GPBUtil.php | 324 $proto, 333 $message_name_without_package = $proto->getName();
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_parser.py | 700 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 701 err2 = pickle.loads(pickle.dumps(err, protocol=proto))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_linux.c | 117 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 140 ll.sll_protocol = htons(proto); in l2_packet_send()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa_ie.c | 330 if (sm->proto == WPA_PROTO_RSN) in wpa_gen_wpa_ie() 337 else if (sm->proto == WPA_PROTO_OSEN) in wpa_gen_wpa_ie()
|
/third_party/python/Lib/test/ |
H A D | test_functools.py | 257 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 258 f_copy = pickle.loads(pickle.dumps(f, proto)) 341 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 343 pickle.dumps(f, proto) 350 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 351 f_copy = pickle.loads(pickle.dumps(f, proto)) 362 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 363 f_copy = pickle.loads(pickle.dumps(f, proto)) 1227 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1229 with self.subTest(method=name, proto [all...] |
H A D | test_collections.py | 118 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 119 e = pickle.loads(pickle.dumps(d, proto)) 680 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 681 with self.subTest(proto=proto): 683 x = pickle.loads(pickle.dumps(Point.x, proto)) 684 y = pickle.loads(pickle.dumps(Point.y, proto)) 2190 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 2191 with self.subTest(proto=proto) [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | af_ninet.c | 135 struct proto *answer_prot; in ninet_create() 256 const struct proto *prot; in ninet_bind() 493 const struct proto *prot; in ninet_ioctl() 846 nip_dbg("failed to register udp proto"); in ninet_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 265 static __sum16 csum_magic(union hinic_l3 *ip, unsigned short proto) in csum_magic() argument 268 csum_tcpudp_magic(ip->v4->saddr, ip->v4->daddr, 0, proto, 0) : in csum_magic() 269 csum_ipv6_magic(&ip->v6->saddr, &ip->v6->daddr, 0, proto, 0); in csum_magic()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 461 u32 action, u16 vid, u16 proto, u8 prio, in mlxsw_sp_acl_rulei_act_vlan() 467 switch (proto) { in mlxsw_sp_acl_rulei_act_vlan() 477 proto); in mlxsw_sp_acl_rulei_act_vlan() 459 mlxsw_sp_acl_rulei_act_vlan(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 action, u16 vid, u16 proto, u8 prio, struct netlink_ext_ack *extack) mlxsw_sp_acl_rulei_act_vlan() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 373 if (uip_mask->proto) { in dpaa2_eth_prep_uip_rule() 375 *(u8 *)(key + off) = uip_value->proto; in dpaa2_eth_prep_uip_rule() 376 *(u8 *)(mask + off) = uip_mask->proto; in dpaa2_eth_prep_uip_rule() 441 /* Only apply the rule for IPv4 frames with the specified L4 proto */ in dpaa2_eth_prep_l4_rule()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | uap_cmd.c | 333 pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA); in mwifiex_uap_bss_wpa() 345 pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA2); in mwifiex_uap_bss_wpa() 637 encrypt_protocol->proto = cpu_to_le16(bss_cfg->protocol); in mwifiex_uap_bss_param_prepare()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | af_rxrpc.c | 34 static struct proto rxrpc_proto; 396 return call->conn->proto.epoch; in rxrpc_kernel_get_epoch() 943 static struct proto rxrpc_proto = {
|
H A D | output.c | 207 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet() 316 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet() 373 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_data_packet()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
H A D | sock.c | 265 static struct proto rfcomm_proto = { 271 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument 303 sk->sk_protocol = proto; in rfcomm_sock_alloc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | nv50.c | 220 if (ior->asy.proto == LVDS) { in nv50_disp_super_ied_on() 452 if (ior->type == SOR && ior->asy.proto == LVDS) { in nv50_disp_super_2_2() 468 if (ior->type == SOR && ior->asy.proto == DP) in nv50_disp_super_2_2()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 203 u16 proto = be16_to_cpu(act->vlan.proto); in mlxsw_sp_flower_parse_actions() local 209 proto, prio, extack); in mlxsw_sp_flower_parse_actions()
|