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