Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_lagg.c
Show First 20 Lines • Show All 1,680 Lines • ▼ Show 20 Lines | lagg_snd_tag_alloc(struct ifnet *ifp, | ||||
error = lp_ifp->if_snd_tag_alloc(lp_ifp, params, &lst->tag); | error = lp_ifp->if_snd_tag_alloc(lp_ifp, params, &lst->tag); | ||||
if_rele(lp_ifp); | if_rele(lp_ifp); | ||||
if (error) { | if (error) { | ||||
free(lst, M_LAGG); | free(lst, M_LAGG); | ||||
return (error); | return (error); | ||||
} | } | ||||
m_snd_tag_init(&lst->com, ifp); | m_snd_tag_init(&lst->com, ifp, lst->tag->type); | ||||
*ppmt = &lst->com; | *ppmt = &lst->com; | ||||
return (0); | return (0); | ||||
} | } | ||||
static int | static int | ||||
lagg_snd_tag_modify(struct m_snd_tag *mst, | lagg_snd_tag_modify(struct m_snd_tag *mst, | ||||
union if_snd_tag_modify_params *params) | union if_snd_tag_modify_params *params) | ||||
▲ Show 20 Lines • Show All 728 Lines • Show Last 20 Lines |