Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java34 public class StructNlAttr { class
47 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek()
54 final StructNlAttr struct = new StructNlAttr(byteBuffer.order()); in peek()
73 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse()
74 final StructNlAttr struct = peek(byteBuffer); in parse()
100 public StructNlAttr() {} in StructNlAttr() method in StructNlAttr
102 public StructNlAttr(ByteOrder byteOrder) { in StructNlAttr() method in StructNlAttr
106 public StructNlAttr(short type, byte value) { in StructNlAttr() method in StructNlAttr
112 public StructNlAttr(short type, short value) { in StructNlAttr() method in StructNlAttr
116 public StructNlAttr(short type, short value, ByteOrder order) { in StructNlAttr() method in StructNlAttr
[all …]
DConntrackMessage.java69 final StructNlAttr ctaTupleOrig = new StructNlAttr(CTA_TUPLE_ORIG, in newIPv4TimeoutUpdateRequest()
70 new StructNlAttr(CTA_TUPLE_IP, in newIPv4TimeoutUpdateRequest()
71 new StructNlAttr(CTA_IP_V4_SRC, src), in newIPv4TimeoutUpdateRequest()
72 new StructNlAttr(CTA_IP_V4_DST, dst)), in newIPv4TimeoutUpdateRequest()
73 new StructNlAttr(CTA_TUPLE_PROTO, in newIPv4TimeoutUpdateRequest()
74 new StructNlAttr(CTA_PROTO_NUM, (byte) proto), in newIPv4TimeoutUpdateRequest()
75 new StructNlAttr(CTA_PROTO_SRC_PORT, (short) sport, BIG_ENDIAN), in newIPv4TimeoutUpdateRequest()
76 new StructNlAttr(CTA_PROTO_DST_PORT, (short) dport, BIG_ENDIAN))); in newIPv4TimeoutUpdateRequest()
78 final StructNlAttr ctaTimeout = new StructNlAttr(CTA_TIMEOUT, timeoutSec, BIG_ENDIAN); in newIPv4TimeoutUpdateRequest()
DRtNetlinkNeighborMessage.java26 import android.net.netlink.StructNlAttr;
57 private static StructNlAttr findNextAttrOfType(short attrType, ByteBuffer byteBuffer) { in findNextAttrOfType()
59 final StructNlAttr nlAttr = StructNlAttr.peek(byteBuffer); in findNextAttrOfType()
64 return StructNlAttr.parse(byteBuffer); in findNextAttrOfType()
84 StructNlAttr nlAttr = findNextAttrOfType(NDA_DST, byteBuffer); in parse()
208 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace()
212 StructNlAttr.NLA_HEADERLEN + mLinkLayerAddr.length); in getRequiredSpace()
220 final StructNlAttr nlAttr = new StructNlAttr(); in packNlAttr()
223 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()
DNetlinkMessage.java22 import android.net.netlink.StructNlAttr;