Lines Matching defs:cast_type
987 static inline u8 qeth_l3_get_qeth_hdr_flags4(int cast_type)
989 if (cast_type == RTN_MULTICAST)
991 if (cast_type == RTN_BROADCAST)
996 static inline u8 qeth_l3_get_qeth_hdr_flags6(int cast_type)
999 if (cast_type == RTN_MULTICAST)
1001 if (cast_type == RTN_ANYCAST)
1003 if (cast_type == RTN_BROADCAST)
2744 int cast_type = RTN_UNSPEC;
2747 cast_type = skb_dst(skb)->neighbour->type;
2748 if ((cast_type == RTN_BROADCAST) ||
2749 (cast_type == RTN_MULTICAST) ||
2750 (cast_type == RTN_ANYCAST))
2751 return cast_type;
2784 return cast_type;
2788 struct sk_buff *skb, int ipv, int cast_type)
2809 hdr->hdr.l3.flags = qeth_l3_get_qeth_hdr_flags4(cast_type);
2821 hdr->hdr.l3.flags = qeth_l3_get_qeth_hdr_flags6(cast_type);
2845 hdr->hdr.l3.flags = (cast_type == RTN_MULTICAST) ?
2922 int cast_type = qeth_l3_get_cast_type(card, skb);
2924 [qeth_get_priority_queue(card, skb, ipv, cast_type)];
2939 if ((cast_type == RTN_BROADCAST) &&
3008 (cast_type == RTN_UNSPEC)) {
3012 qeth_l3_fill_header(card, hdr, new_skb, ipv, cast_type);
3020 cast_type);
3023 cast_type);