Home
last modified time | relevance | path

Searched refs:tpriv (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c251 struct stmmac_test_priv *tpriv = pt->af_packet_priv; in stmmac_test_loopback_validate() local
252 const unsigned char *dst = tpriv->packet->dst; in stmmac_test_loopback_validate()
253 unsigned char *src = tpriv->packet->src; in stmmac_test_loopback_validate()
274 if (tpriv->packet->sarc) { in stmmac_test_loopback_validate()
283 if (tpriv->double_vlan) in stmmac_test_loopback_validate()
286 if (tpriv->packet->tcp) { in stmmac_test_loopback_validate()
291 if (thdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
300 if (uhdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
308 if (tpriv->packet->exp_hash && !skb->hash) in stmmac_test_loopback_validate()
310 if (tpriv->packet->id != shdr->id) in stmmac_test_loopback_validate()
[all …]
/linux-6.1.9/net/core/
Dselftests.c175 struct net_test_priv *tpriv = pt->af_packet_priv; in net_test_loopback_validate() local
176 const unsigned char *src = tpriv->packet->src; in net_test_loopback_validate()
177 const unsigned char *dst = tpriv->packet->dst; in net_test_loopback_validate()
205 if (tpriv->double_vlan) in net_test_loopback_validate()
208 if (tpriv->packet->tcp) { in net_test_loopback_validate()
213 if (thdr->dest != htons(tpriv->packet->dport)) in net_test_loopback_validate()
222 if (uhdr->dest != htons(tpriv->packet->dport)) in net_test_loopback_validate()
230 if (tpriv->packet->id != shdr->id) in net_test_loopback_validate()
233 tpriv->ok = true; in net_test_loopback_validate()
234 complete(&tpriv->comp); in net_test_loopback_validate()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c55 struct ipoib_dev_priv *tpriv; in is_child_unique() local
76 list_for_each_entry(tpriv, &ppriv->child_intfs, list) { in is_child_unique()
77 if (tpriv->pkey == priv->pkey && in is_child_unique()
78 tpriv->child_type == IPOIB_LEGACY_CHILD) in is_child_unique()
249 struct ipoib_dev_priv *ppriv, *priv, *tpriv; in ipoib_vlan_delete() local
266 list_for_each_entry_safe(priv, tpriv, &ppriv->child_intfs, list) { in ipoib_vlan_delete()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dpci.c326 struct rtl_priv *tpriv = NULL, *iter; in rtl_pci_check_buddy_priv() local
346 tpriv = iter; in rtl_pci_check_buddy_priv()
353 "find_buddy_priv %d\n", tpriv != NULL); in rtl_pci_check_buddy_priv()
355 if (tpriv) in rtl_pci_check_buddy_priv()
356 *buddy_priv = tpriv; in rtl_pci_check_buddy_priv()
358 return tpriv != NULL; in rtl_pci_check_buddy_priv()