FreeBSD Bugzilla – Attachment 73 Details for
Bug 424
3COM 3C509 driver doesn't support multicast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1016 bytes, created by
Paul Traina
on 1995-05-15 23:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Paul Traina
Created:
1995-05-15 23:50:00 UTC
Size:
1016 bytes
patch
obsolete
>*** 559,564 **** >--- 559,565 ---- > ifp->if_name = "ep"; > ifp->if_mtu = ETHERMTU; > ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; >+ ifp->if_flags |= IFF_MULTICAST; > ifp->if_init = epinit; > ifp->if_output = ether_output; > ifp->if_start = epstart; >*************** >*** 1336,1341 **** >--- 1337,1363 ---- > ifp->if_mtu = ifr->ifr_mtu; > } > break; >+ >+ case SIOCADDMULTI: >+ case SIOCDELMULTI: >+ /* >+ * Update our multicast listeners >+ */ >+ if (cmd == SIOCADDMULTI) { >+ ether_addmulti(ifr, &sc->arpcom); >+ } else { >+ ether_delmulti(ifr, &sc->arpcom); >+ } >+ >+ if (error == ENETRESET) { >+ /* >+ * Multicast list has changed; set the >+ * hardware filter accordingly >+ */ >+ epreset(ifp->if_unit); >+ error = 0; >+ } >+ break; > > default: > error = EINVAL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 424
: 73