It's always dev_queue_xmit().
Signed-off-by: David S. Miller <davem@davemloft.net>
void (*error_report)(struct neighbour *, struct sk_buff*);
int (*output)(struct sk_buff*);
int (*connected_output)(struct sk_buff*);
- int (*hh_output)(struct sk_buff*);
int (*queue_xmit)(struct sk_buff*);
};
.error_report = clip_neigh_error,
.output = dev_queue_xmit,
.connected_output = dev_queue_xmit,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
hh = &neigh->hh;
if (hh->hh_len)
- hh->hh_output = neigh->ops->hh_output;
+ hh->hh_output = dev_queue_xmit;
}
static void neigh_periodic_work(struct work_struct *work)
goto end;
if (n->nud_state & NUD_CONNECTED)
- hh->hh_output = n->ops->hh_output;
+ hh->hh_output = dev_queue_xmit;
else
hh->hh_output = n->ops->output;
.error_report = dn_long_error_report,
.output = dn_long_output,
.connected_output = dn_long_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = dn_short_error_report,
.output = dn_short_output,
.connected_output = dn_short_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = dn_short_error_report, /* Can use short version here */
.output = dn_phase3_output,
.connected_output = dn_phase3_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit
};
.error_report = arp_error_report,
.output = neigh_resolve_output,
.connected_output = neigh_connected_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = arp_error_report,
.output = neigh_resolve_output,
.connected_output = neigh_resolve_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.family = AF_INET,
.output = dev_queue_xmit,
.connected_output = dev_queue_xmit,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = arp_error_report,
.output = neigh_compat_output,
.connected_output = neigh_compat_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = ndisc_error_report,
.output = neigh_resolve_output,
.connected_output = neigh_connected_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.error_report = ndisc_error_report,
.output = neigh_resolve_output,
.connected_output = neigh_resolve_output,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};
.family = AF_INET6,
.output = dev_queue_xmit,
.connected_output = dev_queue_xmit,
- .hh_output = dev_queue_xmit,
.queue_xmit = dev_queue_xmit,
};