WangYuli
6d1929475e
docs: networking: strparser: Fix a typo
...
The context indicates that 'than' is the correct word instead of 'then',
as a comparison is being performed.
Given that 'then' is also a valid English word, checkpatch.pl wouldn't
have picked up on this spelling error.
This typo was caught by AI during code review.
Suggested-by: Wentao Guan <guanwentao@uniontech.com >
Signed-off-by: WangYuli <wangyuli@uniontech.com >
Reviewed-by: Yanteng Si <si.yanteng@linux.dev >
Link: https://patch.msgid.link/A43BEA49ED5CC6E5+20250318074656.644391-1-wangyuli@uniontech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2025-03-24 12:14:16 -07:00
Jiayuan Chen
0532a79efd
strparser: Add read_sock callback
...
Added a new read_sock handler, allowing users to customize read operations
instead of relying on the native socket's read_sock.
Signed-off-by: Jiayuan Chen <mrpre@163.com >
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org >
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com >
Acked-by: John Fastabend <john.fastabend@gmail.com >
Link: https://patch.msgid.link/20250122100917.49845-2-mrpre@163.com
2025-01-29 13:32:08 -08:00
Mauro Carvalho Chehab
060d9d3e12
docs: networking: convert strparser.txt to ReST
...
- add SPDX header;
- adjust title markup;
- mark code blocks and literals as such;
- mark tables as such;
- adjust identation, whitespaces and blank lines where needed;
- add to networking/index.rst.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-04-30 12:56:38 -07:00