/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | wpa_hal.c | 999 int32_t WifiWpaWpaSendEapol(void *priv, const uint8_t *dest, uint16_t proto, const uint8_t *data, size_t dataLen) in WifiWpaWpaSendEapol() argument 1032 l2_ethhdr->h_proto = host_to_be16(proto); in WifiWpaWpaSendEapol() 1041 ret = l2_packet_send(drv->eapolSock, dest, host_to_be16(proto), frame, frameLen); in WifiWpaWpaSendEapol()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2548 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2549 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2757 switch (fsp->h_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type() 2768 if (!fsp->m_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2934 u16 proto; in ocrdma_parse_dcbxcfg_rsp() local 2968 proto = app_param->valid_proto_app & in ocrdma_parse_dcbxcfg_rsp() 2972 valid && proto == ETH_P_IBOE && in ocrdma_parse_dcbxcfg_rsp() 2992 dev->id, proto); in ocrdma_parse_dcbxcfg_rsp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 1594 __be16 proto, u16 vlan_id, in hclgevf_set_vlan_filter() 1608 if (proto != htons(ETH_P_8021Q)) in hclgevf_set_vlan_filter() 1626 memcpy(&send_msg.data[HCLGEVF_VLAN_MBX_PROTO_OFFSET], &proto, in hclgevf_set_vlan_filter() 1627 sizeof(proto)); in hclgevf_set_vlan_filter() 1593 hclgevf_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, u16 vlan_id, bool is_kill) hclgevf_set_vlan_filter() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 3734 static int efx_ef10_vlan_rx_add_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_add_vid() argument 3736 if (proto != htons(ETH_P_8021Q)) in efx_ef10_vlan_rx_add_vid() 3742 static int efx_ef10_vlan_rx_kill_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_kill_vid() argument 3744 if (proto != htons(ETH_P_8021Q)) in efx_ef10_vlan_rx_kill_vid()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.c | 1521 static int ionic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, in ionic_vlan_rx_add_vid() argument 1544 static int ionic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, in ionic_vlan_rx_kill_vid() argument 2005 u8 qos, __be16 proto) in ionic_set_vf_vlan() 2018 if (proto != htons(ETH_P_8021Q)) in ionic_set_vf_vlan() 2004 ionic_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 proto) ionic_set_vf_vlan() argument
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | tun.c | 1905 pi.proto = htons(ETH_P_IP); in tun_get_user() 1908 pi.proto = htons(ETH_P_IPV6); in tun_get_user() 1918 skb->protocol = pi.proto; in tun_get_user() 2687 static struct proto tun_proto = {
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_api.c | 1686 /* Try to insert new proto. 1687 * If proto with specified priority already exists, free new proto 1774 /* Check the chain for existence of proto-tcf with this priority */ in tcf_chain_tp_find() 3623 entry->vlan.proto = tcf_vlan_push_proto(act); in tc_setup_flow_action() 3632 entry->vlan.proto = tcf_vlan_push_proto(act); in tc_setup_flow_action() 3694 entry->mpls_push.proto = tcf_mpls_proto(act); in tc_setup_flow_action() 3702 entry->mpls_pop.proto = tcf_mpls_proto(act); in tc_setup_flow_action()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 1187 __be16 proto, u16 vlan_id, in hclgevf_set_vlan_filter() 1198 if (proto != htons(ETH_P_8021Q)) in hclgevf_set_vlan_filter() 1218 vlan_filter->proto = cpu_to_le16(be16_to_cpu(proto)); in hclgevf_set_vlan_filter() 1186 hclgevf_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, u16 vlan_id, bool is_kill) hclgevf_set_vlan_filter() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 899 * @proto: unused protocol data 903 __always_unused __be16 proto, u16 vid) in iavf_vlan_rx_add_vid() 920 if (!iavf_add_vlan(adapter, IAVF_VLAN(vid, be16_to_cpu(proto)))) in iavf_vlan_rx_add_vid() 929 * @proto: unused protocol data 933 __always_unused __be16 proto, u16 vid) in iavf_vlan_rx_kill_vid() 941 iavf_del_vlan(adapter, IAVF_VLAN(vid, be16_to_cpu(proto))); in iavf_vlan_rx_kill_vid() 902 iavf_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) iavf_vlan_rx_add_vid() argument 932 iavf_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) iavf_vlan_rx_kill_vid() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl.c | 586 * @proto: virtchnl protocol headers 593 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto) in ice_vc_validate_pattern() argument 601 while (i < proto->count && in ice_vc_validate_pattern() 602 proto->proto_hdr[i].type != VIRTCHNL_PROTO_HDR_NONE) { in ice_vc_validate_pattern() 603 switch (proto->proto_hdr[i].type) { in ice_vc_validate_pattern()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 3765 static int efx_ef10_vlan_rx_add_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_add_vid() argument 3767 if (proto != htons(ETH_P_8021Q)) in efx_ef10_vlan_rx_add_vid() 3773 static int efx_ef10_vlan_rx_kill_vid(struct efx_nic *efx, __be16 proto, u16 vid) in efx_ef10_vlan_rx_kill_vid() argument 3775 if (proto != htons(ETH_P_8021Q)) in efx_ef10_vlan_rx_kill_vid()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2570 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2571 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2779 switch (fsp->h_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type() 2790 if (!fsp->m_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | tun.c | 1886 pi.proto = htons(ETH_P_IP); in tun_get_user() 1889 pi.proto = htons(ETH_P_IPV6); in tun_get_user() 1898 skb->protocol = pi.proto; in tun_get_user() 2689 static struct proto tun_proto = {
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2930 u16 proto; in ocrdma_parse_dcbxcfg_rsp() local 2964 proto = app_param->valid_proto_app & in ocrdma_parse_dcbxcfg_rsp() 2968 valid && proto == ETH_P_IBOE && in ocrdma_parse_dcbxcfg_rsp() 2988 dev->id, proto); in ocrdma_parse_dcbxcfg_rsp()
|
/third_party/libcoap/src/ |
H A D | coap_openssl.c | 2147 if (session->proto == COAP_PROTO_DTLS) { in tls_server_name_call_back() 2245 if (c_session->proto == COAP_PROTO_DTLS) { in psk_tls_server_name_call_back() 2901 if (session->proto == COAP_PROTO_DTLS) { in setup_client_ssl_session() 2918 if (session->proto == COAP_PROTO_TLS) in setup_client_ssl_session()
|
/third_party/python/Lib/test/ |
H A D | test_statistics.py | 2998 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 2999 with self.subTest(proto=proto): 3000 pickled = pickle.loads(pickle.dumps(nd, protocol=proto))
|
H A D | test_ipaddress.py | 89 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 90 with self.subTest(proto=proto): 92 y = pickle.loads(pickle.dumps(x, proto))
|
H A D | test_unicode.py | 212 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 214 with self.subTest(proto=proto): 215 pickled = "".join(pickle.loads(pickle.dumps(it, proto)))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | interworking.c | 967 wpa_config_set(ssid, "proto", "RSN", 0) < 0 || in interworking_set_hs20_params() 1305 static int has_proto_match(const u8 *pos, const u8 *end, u8 proto) in has_proto_match() argument 1308 if (pos[0] == proto && pos[3] == 1 /* Open */) in has_proto_match() 1317 static int has_proto_port_match(const u8 *pos, const u8 *end, u8 proto, in has_proto_port_match() argument 1321 if (pos[0] == proto && WPA_GET_LE16(&pos[1]) == port && in has_proto_port_match()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clatd_packet_converter.cpp | 695 tunProtocolInfo.proto = htons(ETH_P_IP); in WriteTunHeader()
|
/kernel/linux/linux-5.10/drivers/block/paride/ |
H A D | pd.c | 446 pi_current->proto->connect(pi_current); in run_fsm()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | signal.c | 42 #include <asm/proto.h>
|
H A D | setup.c | 47 #include <asm/proto.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d.sh | 578 )"01:"$( : IP proto
|