<commit_before>/*
 * kojines - Transparent SOCKS connection forwarder.
 *
 * Copyright (C) 2006, 2007, 2009 <NAME> <<EMAIL>>
 */

#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <iv.h>
#include <linux/netfilter_ipv4/ip_nat.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/socket.h>
#include "kojines.h"

struct kojine
{
	struct list_head		list;

	int				state;

	struct iv_fd			client_fd;
	struct iv_fd			server_fd;
	struct sockaddr_in		orig_dst;

	struct iv_timer			connect_timeout;

	int				us_buf_length;
	int				us_saw_fin;
	int				su_buf_length;
	int				su_saw_fin;
	unsigned char			us_buf[4096];
	unsigned char			su_buf[4096];
};
<commit_msg>kojines: Update reference to header file defining SO_ORIGINAL_DST.<commit_after>/*
 * kojines - Transparent SOCKS connection forwarder.
 *
 * Copyright (C) 2006, 2007, 2009 <NAME> <<EMAIL>>
 */

#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <iv.h>
#include <limits.h>
#include <linux/netfilter_ipv4.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/socket.h>
#include "kojines.h"

struct kojine
{
	struct list_head		list;

	int				state;

	struct iv_fd			client_fd;
	struct iv_fd			server_fd;
	struct sockaddr_in		orig_dst;

	struct iv_timer			connect_timeout;

	int				us_buf_length;
	int				us_saw_fin;
	int				su_buf_length;
	int				su_saw_fin;
	unsigned char			us_buf[4096];
	unsigned char			su_buf[4096];
};

{'fraction_non_alphanumeric': 0.1180167597765363, 'fraction_numerical': 0.029329608938547486, 'mean_word_length': 3.9930313588850175, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2727376', 'n_tokens_mistral': 673, 'n_tokens_neox': 596, 'n_words': 137}