diff options
author | Aaron Huang <huangaaron@google.com> | 2019-03-29 06:16:36 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-29 06:16:36 -0700 |
commit | dc21dd79c7d825fabb83e9374fb1308f82399a59 (patch) | |
tree | ce4a82352030b83475f7c62f5ba05f959ce41fab /src/android/net/apf/ApfGenerator.java | |
parent | 6897ece80dbf9495c545321d4270e84ecf9eb0f6 (diff) | |
parent | 9ef550610190a650dddca1dea0df8b579d272b55 (diff) |
Merge "apf: Documentation improvements and code optimizations for keepalive filters"
am: f5166d5527
Change-Id: I9dea9a5a4013b5935178a49a6106a172c16c3612
Diffstat (limited to 'src/android/net/apf/ApfGenerator.java')
-rw-r--r-- | src/android/net/apf/ApfGenerator.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/android/net/apf/ApfGenerator.java b/src/android/net/apf/ApfGenerator.java index 809327a..44ce2db 100644 --- a/src/android/net/apf/ApfGenerator.java +++ b/src/android/net/apf/ApfGenerator.java @@ -108,7 +108,7 @@ public class ApfGenerator { private String mLabel; // When mOpcode == Opcodes.JNEBS: private byte[] mCompareBytes; - // Offset in bytes from the begining of this program. Set by {@link ApfGenerator#generate}. + // Offset in bytes from the beginning of this program. Set by {@link ApfGenerator#generate}. int offset; Instruction(Opcodes opcode, Register register) { @@ -431,7 +431,7 @@ public class ApfGenerator { /** * Add an instruction to the end of the program to load the byte at offset {@code offset} - * bytes from the begining of the packet into {@code register}. + * bytes from the beginning of the packet into {@code register}. */ public ApfGenerator addLoad8(Register register, int offset) { Instruction instruction = new Instruction(Opcodes.LDB, register); @@ -442,7 +442,7 @@ public class ApfGenerator { /** * Add an instruction to the end of the program to load 16-bits at offset {@code offset} - * bytes from the begining of the packet into {@code register}. + * bytes from the beginning of the packet into {@code register}. */ public ApfGenerator addLoad16(Register register, int offset) { Instruction instruction = new Instruction(Opcodes.LDH, register); @@ -453,7 +453,7 @@ public class ApfGenerator { /** * Add an instruction to the end of the program to load 32-bits at offset {@code offset} - * bytes from the begining of the packet into {@code register}. + * bytes from the beginning of the packet into {@code register}. */ public ApfGenerator addLoad32(Register register, int offset) { Instruction instruction = new Instruction(Opcodes.LDW, register); @@ -464,7 +464,7 @@ public class ApfGenerator { /** * Add an instruction to the end of the program to load a byte from the packet into - * {@code register}. The offset of the loaded byte from the begining of the packet is + * {@code register}. The offset of the loaded byte from the beginning of the packet is * the sum of {@code offset} and the value in register R1. */ public ApfGenerator addLoad8Indexed(Register register, int offset) { |