Searched defs:replace (Results 1 - 1 of 1) sorted by relevance

/system/netd/bpfloader/
H A DBpfLoader.cpp64 // The BPF instruction bytes that we need to replace. x is a placeholder (e.g., COOKIE_TAG_MAP).
73 // The bytes we'll replace them with. x is the actual fd number for the map at runtime.
98 std::array<uint8_t, MAP_CMD_SIZE> replace; member in struct:android::bpf::ReplacePattern
109 replace = MAP_REPLACE_PATTERN(beRealFd);
208 // replace, and if so, replace it.
214 memcpy(mapHead.base(), pattern.replace.data(), MAP_CMD_SIZE);

Completed in 57 milliseconds