OPTSTRING
char tstr[OPTSTRING];
memset(options, 0, OPTSTRING);
append_str(options, "pass,", OPTSTRING);
append_str(options, "redir,", OPTSTRING);
append_str(options, "drop,", OPTSTRING);
snprintf(tstr, OPTSTRING, "apply %d,", txmsg_apply);
append_str(options, tstr, OPTSTRING);
snprintf(tstr, OPTSTRING, "cork %d,", txmsg_cork);
append_str(options, tstr, OPTSTRING);
snprintf(tstr, OPTSTRING, "start %d,", txmsg_start);
append_str(options, tstr, OPTSTRING);
snprintf(tstr, OPTSTRING, "end %d,", txmsg_end);
append_str(options, tstr, OPTSTRING);
snprintf(tstr, OPTSTRING, "pop (%d,%d),",
append_str(options, tstr, OPTSTRING);
append_str(options, "ingress,", OPTSTRING);
append_str(options, "redir_skb,", OPTSTRING);
append_str(options, "ktls_skb,", OPTSTRING);
append_str(options, "ktls,", OPTSTRING);
append_str(options, "peek,", OPTSTRING);
char *options = calloc(OPTSTRING, sizeof(char));