Lines Matching defs:sdl
120 struct sockaddr_dl *sdl;
143 sdl = (struct sockaddr_dl *)sa;
144 e_addr = LLADDR(sdl);
155 MALLOC(sdl, struct sockaddr_dl *, sizeof *sdl, M_IFMADDR,
157 sdl->sdl_len = sizeof *sdl;
158 sdl->sdl_family = AF_LINK;
159 sdl->sdl_index = ifp->if_index;
160 sdl->sdl_type = IFT_ETHER;
161 sdl->sdl_nlen = 0;
162 sdl->sdl_alen = ETHER_ADDR_LEN;
163 sdl->sdl_slen = 0;
164 e_addr = LLADDR(sdl);
166 *llsa = (struct sockaddr *)sdl;
182 MALLOC(sdl, struct sockaddr_dl *, sizeof *sdl, M_IFMADDR,
184 sdl->sdl_len = sizeof *sdl;
185 sdl->sdl_family = AF_LINK;
186 sdl->sdl_index = ifp->if_index;
187 sdl->sdl_type = IFT_ETHER;
188 sdl->sdl_nlen = 0;
189 sdl->sdl_alen = ETHER_ADDR_LEN;
190 sdl->sdl_slen = 0;
191 e_addr = LLADDR(sdl);
197 *llsa = (struct sockaddr *)sdl;