Searched refs:sll (Results 1 – 1 of 1) sorted by relevance
419 const struct sockaddr_ll* sll = reinterpret_cast<const struct sockaddr_ll*>(&ss); in makeSocketAddress() local425 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(sll->sll_halen)); in makeSocketAddress()429 env->SetByteArrayRegion(byteArray.get(), 0, sll->sll_halen, in makeSocketAddress()430 reinterpret_cast<const jbyte*>(sll->sll_addr)); in makeSocketAddress()432 static_cast<jshort>(ntohs(sll->sll_protocol)), in makeSocketAddress()433 static_cast<jint>(sll->sll_ifindex), in makeSocketAddress()434 static_cast<jshort>(sll->sll_hatype), in makeSocketAddress()435 static_cast<jbyte>(sll->sll_pkttype), in makeSocketAddress()699 sockaddr_ll *sll = reinterpret_cast<sockaddr_ll *>(&ss); in javaPacketSocketAddressToSockaddr() local700 sll->sll_family = AF_PACKET; in javaPacketSocketAddressToSockaddr()[all …]