| ... | ... | @@ -105,7 +105,7 @@ |
| 105 | 105 | //! (010) ret #262144 ; copy 0x40000 |
| 106 | 106 | //! (011) ret #0 ; skip packet |
| 107 | 107 | //! ``` |
| 108 | | //! |
| 108 | //! |
| 109 | 109 | //! Here we can make a few observations: |
| 110 | 110 | //! |
| 111 | 111 | //! - The problem "filter only tcp packets" has essentially been transformed |
| ... | ... | @@ -248,7 +248,7 @@ pub const JGT = 0x20; |
| 248 | 248 | /// jge x, Lt, Lf: pc += (a >= x) ? jt : jf. |
| 249 | 249 | pub const JGE = 0x30; |
| 250 | 250 | /// jset #k, Lt, Lf: pc += (a & k > 0) ? jt : jf. |
| 251 | | /// jset x, Lt, Lf: pc += (a & x > 0) ? jt : jf. |
| 251 | /// jset x, Lt, Lf: pc += (a & x > 0) ? jt : jf. |
| 252 | 252 | pub const JSET = 0x40; |
| 253 | 253 | |
| 254 | 254 | // Miscellaneous operations/register copy. |