Lines Matching refs:link

228 SYSCTL_NODE(_net, PF_LINK, link, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "Link layers");
230 "Generic link-management");
288 if_attach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link)
301 } else if (link && !(ifa->ifa_debug & IFD_LINK)) {
302 panic("%s: Unexpected non-link address ifa=%p", __func__, ifa);
304 } else if (!link && (ifa->ifa_debug & IFD_LINK)) {
305 panic("%s: Unexpected link address ifa=%p", __func__, ifa);
310 if (link)
332 if_detach_ifa_common(struct ifnet *ifp, struct ifaddr *ifa, int link)
337 if (link && !(ifa->ifa_debug & IFD_LINK)) {
338 panic("%s: Unexpected non-link address ifa=%p", __func__, ifa);
340 } else if (link && ifa != TAILQ_FIRST(&ifp->if_addrhead)) {
343 } else if (!link && (ifa->ifa_debug & IFD_LINK)) {
344 panic("%s: Unexpected link address ifa=%p", __func__, ifa);
1162 * This should be moved to /sys/net/link.c eventually.
1256 /* Inform all transmit queues about the new link state */
2223 * If the link MTU changed, do network layer specific procedure
2260 * User is permitted to anonymously join a particular link
2267 * link-layer multicast membership exists for a network-layer
3042 * link-layer record must use this routine.
3053 * to the underlying link-layer record must use this routine: SIOCADDMULTI
3068 * - If the address is not link-layer, look up a link layer address.
3070 * multicast address list on the interface. If automatically adding a link
3071 * layer address, the protocol address will own a reference to the link
3081 * 'anon' indicates a link-layer address with no protocol address reference
3124 * The address isn't already present; give the link layer a chance
3263 * to the underlying link-layer record must use this routine: SIOCDELMULTI
3346 * case of a link layer mcast group being left. Do