Searched refs:ip_ver (Results 1 – 11 of 11) sorted by relevance
190 int ip_ver, i; in get_qos_index() local196 ip_ver = (iph[0]>>4)&0xf; in get_qos_index()198 if (ip_ver != 4) in get_qos_index()
958 u16 ip_ver; in bcm_sysport_insert_tsb() local977 ip_ver = htons(skb->protocol); in bcm_sysport_insert_tsb()978 switch (ip_ver) { in bcm_sysport_insert_tsb()996 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcm_sysport_insert_tsb()
745 __u8 ip_ver; member
1372 u16 ip_ver; in bcmgenet_put_tx_csum() local1392 ip_ver = htons(skb->protocol); in bcmgenet_put_tx_csum()1393 switch (ip_ver) { in bcmgenet_put_tx_csum()1413 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcmgenet_put_tx_csum()
1308 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
1256 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
333 static inline void cma_set_ip_ver(struct cma_hdr *hdr, u8 ip_ver) in cma_set_ip_ver() argument335 hdr->ip_version = (ip_ver << 4) | (hdr->ip_version & 0xF); in cma_set_ip_ver()
2065 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
2367 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
5630 enum ip_ver { enum
7169 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key()7460 if (uspec->ip_ver != ETH_RX_NFC_IP4) in niu_add_ethtool_tcam_entry()