Home | History | Annotate | Download | only in misc

Lines Matching refs:bytecode

742 static int ssfilter_bytecompile(struct ssfilter *f, char **bytecode)
747 if (!(*bytecode=malloc(4))) abort();
748 ((struct inet_diag_bc_op*)*bytecode)[0] = (struct inet_diag_bc_op){ INET_DIAG_BC_AUTO, 4, 8 };
770 *bytecode = ptr;
785 *op = (struct inet_diag_bc_op){ INET_DIAG_BC_JMP, 4, len - (ptr-*bytecode)};
789 return ptr - *bytecode;
794 if (!(*bytecode=malloc(8))) abort();
795 ((struct inet_diag_bc_op*)*bytecode)[0] = (struct inet_diag_bc_op){ INET_DIAG_BC_D_GE, 8, 12 };
796 ((struct inet_diag_bc_op*)*bytecode
802 if (!(*bytecode=malloc(8))) abort();
803 ((struct inet_diag_bc_op*)*bytecode)[0] = (struct inet_diag_bc_op){ INET_DIAG_BC_D_LE, 8, 12 };
804 ((struct inet_diag_bc_op*)*bytecode)[1] = (struct inet_diag_bc_op){ 0, 0, x->port };
810 if (!(*bytecode=malloc(8))) abort();
811 ((struct inet_diag_bc_op*)*bytecode)[0] = (struct inet_diag_bc_op){ INET_DIAG_BC_S_GE, 8, 12 };
812 ((struct inet_diag_bc_op*)*bytecode)[1] = (struct inet_diag_bc_op){ 0, 0, x->port };
818 if (!(*bytecode=malloc(8))) abort();
819 ((struct inet_diag_bc_op*)*bytecode)[0] = (struct inet_diag_bc_op){ INET_DIAG_BC_S_LE, 8, 12 };
820 ((struct inet_diag_bc_op*)*bytecode)[1] = (struct inet_diag_bc_op){ 0, 0, x->port };
834 *bytecode = a;
847 *bytecode = a;
858 *bytecode = a;