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()
879 u16 ip_ver; in bcm_sysport_insert_tsb() local898 ip_ver = htons(skb->protocol); in bcm_sysport_insert_tsb()899 switch (ip_ver) { in bcm_sysport_insert_tsb()917 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcm_sysport_insert_tsb()
739 __u8 ip_ver; member
1223 u16 ip_ver; in bcmgenet_put_tx_csum() local1244 ip_ver = htons(skb->protocol); in bcmgenet_put_tx_csum()1245 switch (ip_ver) { in bcmgenet_put_tx_csum()1265 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcmgenet_put_tx_csum()
1616 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
242 static inline void cma_set_ip_ver(struct cma_hdr *hdr, u8 ip_ver) in cma_set_ip_ver() argument244 hdr->ip_version = (ip_ver << 4) | (hdr->ip_version & 0xF); in cma_set_ip_ver()
1241 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
1898 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
2362 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
5498 enum ip_ver { enum
7171 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key()7462 if (uspec->ip_ver != ETH_RX_NFC_IP4) in niu_add_ethtool_tcam_entry()