Searched refs:privptr (Results 1 – 4 of 4) sorted by relevance
537 netiucv_priv *privptr = (netiucv_priv *)dev->priv; in netiucv_unpack_skb() local569 privptr->stats.rx_dropped++; in netiucv_unpack_skb()578 privptr->stats.rx_packets++; in netiucv_unpack_skb()579 privptr->stats.rx_bytes += skb->len; in netiucv_unpack_skb()591 netiucv_priv *privptr = (netiucv_priv *)conn->netdev->priv; in conn_action_rx() local607 privptr->stats.rx_dropped++; in conn_action_rx()615 privptr->stats.rx_errors++; in conn_action_rx()628 netiucv_priv *privptr = NULL; in conn_action_txdone() local642 privptr = (netiucv_priv *)conn->netdev->priv; in conn_action_txdone()648 if (privptr) { in conn_action_txdone()[all …]
772 ctc_priv *privptr = (ctc_priv *)dev->priv; in ctc_unpack_skb() local808 privptr->stats.rx_dropped++; in ctc_unpack_skb()809 privptr->stats.rx_frame_errors++; in ctc_unpack_skb()830 privptr->stats.rx_dropped++; in ctc_unpack_skb()831 privptr->stats.rx_length_errors++; in ctc_unpack_skb()853 privptr->stats.rx_dropped++; in ctc_unpack_skb()854 privptr->stats.rx_length_errors++; in ctc_unpack_skb()873 privptr->stats.rx_dropped++; in ctc_unpack_skb()889 privptr->stats.rx_packets++; in ctc_unpack_skb()890 privptr->stats.rx_bytes += skb->len; in ctc_unpack_skb()[all …]
45 #define PPCSTRUCT(pi) ((PPC_STORAGE *)(pi->privptr))229 pi->privptr=kmalloc(sizeof(PPC_STORAGE),GFP_KERNEL); in bpck6_init_proto()231 if(pi->privptr==NULL) in bpck6_init_proto()241 memset(pi->privptr, 0, sizeof(PPC_STORAGE)); in bpck6_init_proto()249 kfree(pi->privptr); in bpck6_release_proto()
50 void *privptr; /* private pointer for protocol module */ member