Home
last modified time | relevance | path

Searched refs:nlFamily (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkMessage.java52 public static NetlinkMessage parse(@NonNull ByteBuffer byteBuffer, int nlFamily) { in parse() argument
77 if (nlFamily == OsConstants.NETLINK_ROUTE) { in parse()
79 } else if (nlFamily == OsConstants.NETLINK_INET_DIAG) { in parse()
81 } else if (nlFamily == OsConstants.NETLINK_NETFILTER) { in parse()
83 } else if (nlFamily == NETLINK_XFRM) { in parse()
DNetlinkConstants.java258 public static String stringForNlMsgType(short nlmType, int nlFamily) { in stringForNlMsgType() argument
266 if (nlFamily == OsConstants.NETLINK_ROUTE) return stringForRtMsgType(nlmType); in stringForNlMsgType()
267 if (nlFamily == OsConstants.NETLINK_INET_DIAG) return stringForInetDiagMsgType(nlmType); in stringForNlMsgType()
268 if (nlFamily == OsConstants.NETLINK_NETFILTER) return stringForNfMsgType(nlmType); in stringForNlMsgType()
DStructNlMsgHdr.java171 public String toString(@Nullable Integer nlFamily) { in toString() argument
173 + "(" + (nlFamily == null in toString()
174 ? "" : NetlinkConstants.stringForNlMsgType(nlmsg_type, nlFamily)) in toString()
DNetlinkUtils.java339 FileDescriptor fd, byte[] dumpRequestMessage, int nlFamily, Class<T> msgClass, in getAndProcessNetlinkDumpMessagesWithFd() argument
357 final NetlinkMessage nlMsg = NetlinkMessage.parse(buf, nlFamily); in getAndProcessNetlinkDumpMessagesWithFd()
393 byte[] dumpRequestMessage, int nlFamily, Class<T> msgClass, in getAndProcessNetlinkDumpMessages() argument
397 final FileDescriptor fd = netlinkSocketForProto(nlFamily, SOCKET_DUMP_RECV_BUFSIZE); in getAndProcessNetlinkDumpMessages()
399 getAndProcessNetlinkDumpMessagesWithFd(fd, dumpRequestMessage, nlFamily, in getAndProcessNetlinkDumpMessages()