Searched refs:StructNlAttr (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNlAttr.java | 34 public class StructNlAttr { class 47 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() 53 final StructNlAttr struct = new StructNlAttr(); in peek() 71 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse() 72 final StructNlAttr struct = peek(byteBuffer); in parse() 99 public static StructNlAttr findNextAttrOfType(short attrType, in findNextAttrOfType() 102 final StructNlAttr nlAttr = StructNlAttr.peek(byteBuffer); in findNextAttrOfType() 107 return StructNlAttr.parse(byteBuffer); in findNextAttrOfType() 121 public StructNlAttr() {} in StructNlAttr() method in StructNlAttr 123 public StructNlAttr(short type, byte value) { in StructNlAttr() method in StructNlAttr [all …]
|
D | ConntrackMessage.java | 19 import static android.net.netlink.StructNlAttr.findNextAttrOfType; 20 import static android.net.netlink.StructNlAttr.makeNestedType; 190 final StructNlAttr ctaTupleOrig = new StructNlAttr(CTA_TUPLE_ORIG, in newIPv4TimeoutUpdateRequest() 191 new StructNlAttr(CTA_TUPLE_IP, in newIPv4TimeoutUpdateRequest() 192 new StructNlAttr(CTA_IP_V4_SRC, src), in newIPv4TimeoutUpdateRequest() 193 new StructNlAttr(CTA_IP_V4_DST, dst)), in newIPv4TimeoutUpdateRequest() 194 new StructNlAttr(CTA_TUPLE_PROTO, in newIPv4TimeoutUpdateRequest() 195 new StructNlAttr(CTA_PROTO_NUM, (byte) proto), in newIPv4TimeoutUpdateRequest() 196 new StructNlAttr(CTA_PROTO_SRC_PORT, (short) sport, BIG_ENDIAN), in newIPv4TimeoutUpdateRequest() 197 new StructNlAttr(CTA_PROTO_DST_PORT, (short) dport, BIG_ENDIAN))); in newIPv4TimeoutUpdateRequest() [all …]
|
D | RtNetlinkNeighborMessage.java | 61 StructNlAttr nlAttr = StructNlAttr.findNextAttrOfType(NDA_DST, byteBuffer); in parse() 67 nlAttr = StructNlAttr.findNextAttrOfType(NDA_LLADDR, byteBuffer); in parse() 73 nlAttr = StructNlAttr.findNextAttrOfType(NDA_PROBES, byteBuffer); in parse() 79 nlAttr = StructNlAttr.findNextAttrOfType(NDA_CACHEINFO, byteBuffer); in parse() 185 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace() 189 StructNlAttr.NLA_HEADERLEN + mLinkLayerAddr.length); in getRequiredSpace() 197 final StructNlAttr nlAttr = new StructNlAttr(); in packNlAttr() 200 nlAttr.nla_len = (short) (StructNlAttr.NLA_HEADERLEN + nlAttr.nla_value.length); in packNlAttr()
|
D | NduseroptMessage.java | 99 StructNlAttr nla = StructNlAttr.parse(buf); in NduseroptMessage()
|