Lines Matching defs:sdl
1578 struct sockaddr_dl sdl;
1590 bzero(&sdl, sizeof(sdl));
1591 sdl.sdl_family = AF_LINK;
1592 sdl.sdl_alen = sizeof(struct etalk_addr);
1593 sdl.sdl_len = offsetof(struct sockaddr_dl, sdl_data)
1595 bcopy(data, sdl.sdl_data, sizeof(struct etalk_addr));
1597 sdl.sdl_index = nddp->if_index;
1598 sdl.sdl_type = IFT_ETHER;
1605 if (if_addmulti(nddp, (struct sockaddr *)&sdl, 0))
1617 struct sockaddr_dl sdl;
1628 bzero(&sdl, sizeof(sdl));
1629 sdl.sdl_family = AF_LINK;
1630 sdl.sdl_alen = sizeof(struct etalk_addr);
1631 sdl.sdl_len = offsetof(struct sockaddr_dl, sdl_data)
1633 bcopy(data, sdl.sdl_data, sizeof(struct etalk_addr));
1635 sdl.sdl_index = nddp->if_index;
1636 sdl.sdl_type = IFT_ETHER;
1644 if (if_delmulti(nddp, (struct sockaddr *)&sdl))
1665 struct sockaddr_dl sdl;
1675 sdl.sdl_len = sizeof(struct sockaddr_dl);
1676 sdl.sdl_family = AF_LINK;
1677 sdl.sdl_index = 0;
1678 sdl.sdl_type = nddp->if_type;
1679 sdl.sdl_alen = nddp->if_addrlen;
1680 sdl.sdl_slen = 0;
1681 sdl.sdl_nlen = sprintf(sdl.sdl_data, "%s%d",
1683 bcopy(data, LLADDR(&sdl), sdl.sdl_alen);
1690 if (if_addmulti(nddp, (struct sockaddr *)&sdl, 0))
1702 struct sockaddr_dl sdl;
1712 sdl.sdl_len = sizeof(struct sockaddr_dl);
1713 sdl.sdl_family = AF_LINK;
1714 sdl.sdl_index = 0;
1715 sdl.sdl_type = nddp->if_type;
1716 sdl.sdl_alen = nddp->if_addrlen;
1717 sdl.sdl_slen = 0;
1718 sdl.sdl_nlen = sprintf(sdl.sdl_data, "%s%d",
1727 if (if_delmulti(nddp, (struct sockaddr *)&sdl))