return -AX25_HEADER_LEN; /* Unfinished header */
}
-static int ax25_rebuild_header(struct sk_buff *skb)
+static int ax25_neigh_xmit(struct sk_buff *skb)
{
struct sk_buff *ourskb;
unsigned char *bp = skb->data;
if (dev_hard_header(skb, dev, ntohs(skb->protocol), NULL, NULL,
skb->len) < 0 &&
- dev_rebuild_header(skb))
+ ax25_neigh_xmit(skb));
return 0;
return dev_queue_xmit(skb);
return -AX25_HEADER_LEN;
}
-static int ax25_rebuild_header(struct sk_buff *skb)
-{
- return 1;
-}
-
int ax25_neigh_construct(struct neighbour *neigh)
{
return 0;
const struct header_ops ax25_header_ops = {
.create = ax25_hard_header,
- .rebuild = ax25_rebuild_header,
};
EXPORT_SYMBOL(ax25_header_ops);