qeth_get_elements_no(struct qeth_card *card, void *hdr, struct sk_buff *skb)
qeth_get_elements_no(struct qeth_card *card, void *hdr, struct sk_buff *skb, int elems)
qeth_get_elements_no(struct qeth_card *card, void *hdr, struct sk_buff *skb){	int elements_needed = 0;        if (skb_shinfo(skb)->nr_frags > 0) {                elements_needed = (skb_shinfo(skb)->nr_frags + 1);	}        if (elements_needed == 0 )                elements_needed = 1 + (((((unsigned long) hdr) % PAGE_SIZE)                                        + skb->len) >> PAGE_SHIFT);        if (elements_needed > QETH_MAX_BUFFER_ELEMENTS(card)){                PRINT_ERR("qeth_do_send_packet: invalid size of "                          "IP packet. Discarded.");                return 0;        }        return elements_needed;}