| /linux/tools/hv/ |
| H A D | hv_kvp_daemon.c | 1333 int ip_offset = 0, error = 0, ip_ver; in process_dns_gateway_nm() local 1354 ip_ver = ip_version_check(addr); in process_dns_gateway_nm() 1355 if (ip_ver < 0) in process_dns_gateway_nm() 1358 if ((ip_ver == IPV4 && ip_sec == IPV4) || in process_dns_gateway_nm() 1359 (ip_ver == IPV6 && ip_sec == IPV6)) { in process_dns_gateway_nm() 1397 int plen, ip_ver; in process_ip_string_nm() local 1409 ip_ver = ip_version_check(addr); in process_ip_string_nm() 1410 if (ip_ver < 0) in process_ip_string_nm() 1413 if (ip_ver == IPV4 && ip_sec == IPV4) in process_ip_string_nm() 1415 else if (ip_ver == IPV6 && ip_sec == IPV6) in process_ip_string_nm() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | stm32-ipcc.c | 211 u32 ip_ver; in stm32_ipcc_probe() local 314 ip_ver = readl_relaxed(ipcc->reg_base + IPCC_VER); in stm32_ipcc_probe() 317 FIELD_GET(VER_MAJREV_MASK, ip_ver), in stm32_ipcc_probe() 318 FIELD_GET(VER_MINREV_MASK, ip_ver), in stm32_ipcc_probe()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 970 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in iavf_get_ethtool_fdir_entry() 976 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in iavf_get_ethtool_fdir_entry() 1144 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1156 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1169 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info() 1188 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info() 1204 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info() 1221 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info()
|
| H A D | iavf_fdir.h | 114 u8 ip_ver; /* used to adjust the flex offset, 4 : IPv4, 6 : IPv6 */ member
|
| H A D | iavf_fdir.c | 44 if (fltr->ip_ver == 4) { in iavf_validate_fdir_fltr_masks() 55 } else if (fltr->ip_ver == 6) { in iavf_validate_fdir_fltr_masks() 102 (fltr->ip_ver == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in iavf_pkt_udp_no_pay_len()
|
| /linux/net/tls/ |
| H A D | tls_main.c | 133 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in update_sk_prot() local 136 &tls_prots[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot() 138 &tls_proto_ops[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot() 973 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in tls_build_proto() local 977 if (ip_ver == TLSV6 && in tls_build_proto() 989 if (ip_ver == TLSV4 && in tls_build_proto()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 391 int ip_ver = 0; in qedr_gsi_build_header() local 414 ip_ver = 4; in qedr_gsi_build_header() 420 ip_ver = 6; in qedr_gsi_build_header() 426 has_grh_ipv6, ip_ver, has_udp, 0, udh); in qedr_gsi_build_header()
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_nvm_iscsi_cfg.h | 154 u32 ip_ver; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_fdir.h | 113 u8 ip_ver; member
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.c | 750 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule() 1022 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule() 1023 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 897 uip_entry->ip_ver = ETH_RX_NFC_IP4; in ef4_ethtool_get_class_rule() 1141 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule() 1142 uip_entry->ip_ver != ETH_RX_NFC_IP4) in ef4_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 749 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule() 1031 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule() 1032 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 1221 __be16 ip_ver; in bcm_sysport_insert_tsb() local 1248 ip_ver = skb->protocol; in bcm_sysport_insert_tsb() 1249 switch (ip_ver) { in bcm_sysport_insert_tsb() 1271 ip_ver == htons(ETH_P_IP)) in bcm_sysport_insert_tsb()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1363 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in nfp_net_fs_to_ethtool() 1653 !!fs->m_u.usr_ip4_spec.ip_ver; in nfp_net_fs_add() 1655 unsupp_mask |= fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4; in nfp_net_fs_add()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 1445 VALIDATE_MASK(l4_mask->ip_ver) || in bcmgenet_validate_flow() 2060 __be16 ip_ver; in bcmgenet_add_tsb() local 2083 ip_ver = skb->protocol; in bcmgenet_add_tsb() 2084 switch (ip_ver) { in bcmgenet_add_tsb()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 598 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1230 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 1190 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in bnxt_grxclsrule() 1195 fs->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in bnxt_grxclsrule() 1355 ip_spec->ip_ver != ETH_RX_NFC_IP4 || in bnxt_verify_ntuple_ip4_flow()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1359 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
|
| /linux/drivers/infiniband/core/ |
| H A D | cma.c | 421 static void cma_set_ip_ver(struct cma_hdr *hdr, u8 ip_ver) in cma_set_ip_ver() argument 423 hdr->ip_version = (ip_ver << 4) | (hdr->ip_version & 0xF); in cma_set_ip_ver()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx.c | 591 enum ip_ver { ipv6 = 0, ipv4 = 1 }; in i40e_add_del_fdir() enum
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_hsi.h | 5653 enum ip_ver { enum
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 2702 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 7183 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key() 7478 if (uspec->ip_ver != ETH_RX_NFC_IP4) in niu_add_ethtool_tcam_entry()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 5979 if (spec->ip_ver != ETH_RX_NFC_IP4) in hclge_fd_check_ip4_tuple() 6774 spec->ip_ver = ETH_RX_NFC_IP4; in hclge_fd_get_ip4_info()
|