Lines Matching defs:l3addr
1149 in_lltable_rtcheck(struct ifnet *ifp, u_int flags, const struct sockaddr *l3addr)
1156 KASSERT(l3addr->sa_family == AF_INET,
1157 ("sin_family %d", l3addr->sa_family));
1171 if (rib_lookup_info(ifp->if_fib, l3addr, NHR_REF, 0, &info) != 0)
1186 memcmp(rt_gateway.sa_data, l3addr->sa_data,
1214 addr = (const char *)l3addr;
1215 len = ((const struct sockaddr_in *)l3addr)->sin_len;
1222 inet_ntoa(((const struct sockaddr_in *)l3addr)->sin_addr));
1290 in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1292 const struct sockaddr_in *sin = (const struct sockaddr_in *)l3addr;
1299 KASSERT(l3addr->sa_family == AF_INET,
1300 ("sin_family %d", l3addr->sa_family));
1308 in_lltable_rtcheck(ifp, flags, l3addr) != 0)
1340 in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1342 const struct sockaddr_in *sin = (const struct sockaddr_in *)l3addr;
1346 KASSERT(l3addr->sa_family == AF_INET,
1347 ("sin_family %d", l3addr->sa_family));