Home
last modified time | relevance | path

Searched refs:stringForNlMsgType (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkConstantsTest.java50 import static android.net.netlink.NetlinkConstants.stringForNlMsgType;
75 assertEquals("RTM_NEWLINK", stringForNlMsgType(RTM_NEWLINK, NETLINK_ROUTE)); in testStringForNlMsgType()
76 assertEquals("RTM_DELLINK", stringForNlMsgType(RTM_DELLINK, NETLINK_ROUTE)); in testStringForNlMsgType()
77 assertEquals("RTM_GETLINK", stringForNlMsgType(RTM_GETLINK, NETLINK_ROUTE)); in testStringForNlMsgType()
78 assertEquals("RTM_SETLINK", stringForNlMsgType(RTM_SETLINK, NETLINK_ROUTE)); in testStringForNlMsgType()
79 assertEquals("RTM_NEWADDR", stringForNlMsgType(RTM_NEWADDR, NETLINK_ROUTE)); in testStringForNlMsgType()
80 assertEquals("RTM_DELADDR", stringForNlMsgType(RTM_DELADDR, NETLINK_ROUTE)); in testStringForNlMsgType()
81 assertEquals("RTM_GETADDR", stringForNlMsgType(RTM_GETADDR, NETLINK_ROUTE)); in testStringForNlMsgType()
82 assertEquals("RTM_NEWROUTE", stringForNlMsgType(RTM_NEWROUTE, NETLINK_ROUTE)); in testStringForNlMsgType()
83 assertEquals("RTM_DELROUTE", stringForNlMsgType(RTM_DELROUTE, NETLINK_ROUTE)); in testStringForNlMsgType()
[all …]
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java21 import static android.net.netlink.NetlinkConstants.stringForNlMsgType;
108 .add(stringForNlMsgType(msgType, NETLINK_ROUTE)) in toString()
DConntrackMonitor.java118 + NetlinkConstants.stringForNlMsgType(msgType, OsConstants.NETLINK_NETFILTER) in toString()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgHdr.java146 ? "" : NetlinkConstants.stringForNlMsgType(nlmsg_type, nlFamily)) in toString()
DNetlinkConstants.java210 public static String stringForNlMsgType(short nlmType, int nlFamily) { in stringForNlMsgType() method in NetlinkConstants