<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Kconfig</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>ec8f24b7 - treewide: Add SPDX license identifier - Makefile/Kconfig</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/strparser/Kconfig#ec8f24b7</link>
        <description>treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is:  GPL-2.0-onlySigned-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/net/strparser/Kconfig</description>
        <pubDate>Sun, 19 May 2019 12:07:45 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>604326b4 - bpf, sockmap: convert to generic sk_msg interface</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/strparser/Kconfig#604326b4</link>
        <description>bpf, sockmap: convert to generic sk_msg interfaceAdd a generic sk_msg layer, and convert current sockmap and laterkTLS over to make use of it. While sk_buff handles network packetrepresentation from netdevice up to socket, sk_msg handles datarepresentation from application to socket layer.This means that sk_msg framework spans across ULP users in thekernel, and enables features such as introspection or filteringof data with the help of BPF programs that operate on this datastructure.Latter becomes in particular useful for kTLS where data encryptionis deferred into the kernel, and as such enabling the kernel toperform L7 introspection and policy based on BPF for TLS connectionswhere the record is being encrypted after BPF has run and came toa verdict. In order to get there, first step is to transform opencoding of scatter-gather list handling into a common core frameworkthat subsystems can use.The code itself has been split and refactored into three biggerpieces: i) the generic sk_msg API which deals with managing thescatter gather ring, providing helpers for walking and mangling,transferring application data from user space into it, and preparingit for BPF pre/post-processing, ii) the plain sock map itselfwhere sockets can be attached to or detached from; these bitsare independent of i) which can now be used also without sockmap, and iii) the integration with plain TCP as one protocolto be used for processing L7 application data (later this coulde.g. also be extended to other protocols like UDP). The semanticsare the same with the old sock map code and therefore no changeof user facing behavior or APIs. While pursuing this work italso helped finding a number of bugs in the old sockmap codethat we&apos;ve fixed already in earlier commits. The test_sockmapkselftest suite passes through fine as well.Joint work with John.Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Signed-off-by: John Fastabend &lt;john.fastabend@gmail.com&gt;Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux-6.15/net/strparser/Kconfig</description>
        <pubDate>Sat, 13 Oct 2018 00:45:58 +0000</pubDate>
        <dc:creator>Daniel Borkmann &lt;daniel@iogearbox.net&gt;</dc:creator>
    </item>
<item>
        <title>43a0c675 - strparser: Stream parser for messages</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/net/strparser/Kconfig#43a0c675</link>
        <description>strparser: Stream parser for messagesThis patch introduces a utility for parsing application layer protocolmessages in a TCP stream. This is a generalization of the mechanismimplemented of Kernel Connection Multiplexor.The API includes a context structure, a set of callbacks, utilityfunctions, and a data ready function.A stream parser instance is defined by a strparse structure thatis bound to a TCP socket. The function to initialize the structureis:int strp_init(struct strparser *strp, struct sock *csk,              struct strp_callbacks *cb);csk is the TCP socket being bound to and cb are the parser callbacks.The upper layer calls strp_tcp_data_ready when data is ready on the lowersocket for strparser to process. This should be called from a data_readycallback that is set on the socket:void strp_tcp_data_ready(struct strparser *strp);A parser is bound to a TCP socket by setting data_ready function tostrp_tcp_data_ready so that all receive indications on the socketgo through the parser. This is assumes that sk_user_data is set tothe strparser structure.There are four callbacks. - parse_msg is called to parse the message (returns length or error). - rcv_msg is called when a complete message has been received - read_sock_done is called when data_ready function exits - abort_parser is called to abort the parserThe input to parse_msg is an skbuff which contains next message underconstruction. The backend processing of parse_msg will parse theapplication layer protocol headers to determine the length ofthe message in the stream. The possible return values are:   &gt;0 : indicates length of successfully parsed message   0  : indicates more data must be received to parse the message   -ESTRPIPE : current message should not be processed by the      kernel, return control of the socket to userspace which      can proceed to read the messages itself   other &lt; 0 : Error is parsing, give control back to userspace      assuming that synchronzation is lost and the stream      is unrecoverable (application expected to close TCP socket)In the case of error return (&lt; 0) strparse will stop the parserand report and error to userspace. The application must dealwith the error. To handle the error the strparser is unboundfrom the TCP socket. If the error indicates that the streamTCP socket is at recoverable point (ESTRPIPE) then the applicationcan read the TCP socket to process the stream. Once the applicationhas dealt with the exceptions in the stream, it may again bind thesocket to a strparser to continue data operations.Note that ENODATA may be returned to the application. In this caseparse_msg returned -ESTRPIPE, however strparser was unable to maintainsynchronization of the stream (i.e. some of the message in questionwas already read by the parser).strp_pause and strp_unpause are used to provide flow control. Forinstance, if rcv_msg is called but the upper layer can&apos;t immediatelyconsume the message it can hold the message and pause strparser.Signed-off-by: Tom Herbert &lt;tom@herbertland.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/net/strparser/Kconfig</description>
        <pubDate>Mon, 15 Aug 2016 21:51:01 +0000</pubDate>
        <dc:creator>Tom Herbert &lt;tom@herbertland.com&gt;</dc:creator>
    </item>
</channel>
</rss>
