<commit_before>/**
 * @file
 *
 * @date 19.03.09
 * @author <NAME>
 * @author <NAME>
 * @author <NAME>
 */

#ifndef NET_SOCKET_H_
#define NET_SOCKET_H_

#include <net/skbuff.h>
#include <stddef.h>
#include <types.h>

/* Supported address families. */
#define AF_UNSPEC    0
//#define AF_UNIX      1  /* Unix domain sockets */
//#define AF_LOCAL     1  /* POSIX name for AF_UNIX */
#define AF_INET      2  /* Internet IP Protocol */
#define AF_PACKET    17 /* Packet family */
#define AF_MAX       33 /* For now.. */

/* Protocol families, same as address families. */
#define PF_UNSPEC	AF_UNSPEC
//#define PF_UNIX		AF_UNIX
//#define PF_LOCAL	AF_LOCAL
#define PF_INET		AF_INET
#define PF_PACKET	AF_PACKET
#define PF_MAX		AF_MAX

#define PNET_GRAPH   40

/* Maximum queue length specifiable by listen.  */
//#define SOMAXCONN 128

/* Flags we can use with send/ and recv.
   Added those for 1003.1g not all are supported yet
 */
#define MSG_OOB       0x0001
#define MSG_PEEK      0x0002
#define MSG_DONTROUTE 0x0004
#define MSG_TRYHARD   0x0004 /* Synonym for MSG_DONTROUTE for DECnet */
#define MSG_CTRUNC    0x0008
#define MSG_PROBE     0x0010 /* Do not send. Only probe path f.e. for MTU */
#define MSG_TRUNC     0x0020
#define MSG_DONTWAIT  0x0040 /* Nonblocking io */
#define MSG_EOR       0x0080 /* End of record */
#define MSG_WAITALL   0x0100 /* Wait for a full request */
#define MSG_FIN       0x0200
#define MSG_SYN       0x0400
#define MSG_CONFIRM   0x0800 /* Confirm path validity */
#define MSG_RST       0x1000
#define MSG_ERRQUEUE  0x2000 /* Fetch message from error queue */<commit_msg>forgotten file<commit_after>/**
 * @file
 *
 * @date 19.03.09
 * @author <NAME>
 * @author <NAME>
 * @author <NAME>
 */

#ifndef NET_SOCKET_H_
#define NET_SOCKET_H_

#include <net/skbuff.h>
#include <stddef.h>
#include <types.h>

/* Supported address families. */
#define AF_UNSPEC    0
#define AF_UNIX      1  /* Unix domain sockets */
#define AF_LOCAL     1  /* POSIX name for AF_UNIX */
#define AF_INET      2  /* Internet IP Protocol */
#define AF_PACKET    17 /* Packet family */
#define AF_MAX       33 /* For now.. */

/* Protocol families, same as address families. */
#define PF_UNSPEC	AF_UNSPEC
#define PF_UNIX		AF_UNIX
#define PF_LOCAL	AF_LOCAL
#define PF_INET		AF_INET
#define PF_PACKET	AF_PACKET
#define PF_MAX		AF_MAX

#define PNET_GRAPH   40

/* Maximum queue length specifiable by listen.  */
//#define SOMAXCONN 128

/* Flags we can use with send/ and recv.
   Added those for 1003.1g not all are supported yet
 */
#define MSG_OOB       0x0001
#define MSG_PEEK      0x0002
#define MSG_DONTROUTE 0x0004
#define MSG_TRYHARD   0x0004 /* Synonym for MSG_DONTROUTE for DECnet */
#define MSG_CTRUNC    0x0008
#define MSG_PROBE     0x0010 /* Do not send. Only probe path f.e. for MTU */
#define MSG_TRUNC     0x0020
#define MSG_DONTWAIT  0x0040 /* Nonblocking io */
#define MSG_EOR       0x0080 /* End of record */
#define MSG_WAITALL   0x0100 /* Wait for a full request */
#define MSG_FIN       0x0200
#define MSG_SYN       0x0400
#define MSG_CONFIRM   0x0800 /* Confirm path validity */
#define MSG_RST       0x1000
#define MSG_ERRQUEUE  0x2000 /* Fetch message from error queue */
{'fraction_non_alphanumeric': 0.09583463827121828, 'fraction_numerical': 0.06201064829314125, 'mean_word_length': 3.115979381443299, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4637910', 'n_tokens_mistral': 1336, 'n_tokens_neox': 1185, 'n_words': 371}