NG_SPLIT(4) BSD Kernel Interfaces Manual NG_SPLIT(4)NAME
ng_split -- netgraph node to separate incoming and outgoing flows
SYNOPSIS
#include <netgraph/ng_split.h>
DESCRIPTION
The split node type is used to split a bidirectional stream of packets into two separate unidirectional streams of packets.
HOOKS
This node type supports the following three hooks:
in Packets received on in are forwarded to mixed.
out Packets received on out will be discarded as illegal.
mixed Packets received on mixed are forwarded to out.
CONTROL MESSAGES
This node type supports only the generic control messages.
SHUTDOWN
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.
SEE ALSO netgraph(4), ngctl(8)HISTORY
The ng_split node type was implemented in FreeBSD 3.5 but incorporated into FreeBSD in FreeBSD 5.0.
AUTHORS
Julian Elischer <julian@FreeBSD.org>
Vitaly V. Belekhov <vitaly@riss-telecom.ru>
BSD February 19, 2001 BSD
Check Out this Related Man Page
NG_SPLIT(4) BSD Kernel Interfaces Manual NG_SPLIT(4)NAME
ng_split -- netgraph node to separate incoming and outgoing flows
SYNOPSIS
#include <netgraph/ng_split.h>
DESCRIPTION
The split node type is used to split a bidirectional stream of packets into two separate unidirectional streams of packets.
HOOKS
This node type supports the following three hooks:
in Packets received on in are forwarded to mixed.
out Packets received on out will be discarded as illegal.
mixed Packets received on mixed are forwarded to out.
CONTROL MESSAGES
This node type supports only the generic control messages.
SHUTDOWN
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.
SEE ALSO netgraph(4), ngctl(8)HISTORY
The ng_split node type was implemented in FreeBSD 3.5 but incorporated into FreeBSD in FreeBSD 5.0.
AUTHORS
Julian Elischer <julian@FreeBSD.org>
Vitaly V. Belekhov <vitaly@riss-telecom.ru>
BSD February 19, 2001 BSD
I have a variable with data in this format
field1;field2;field3
I wanted to split the variable like this
field1
field2
field3
this statement was working fine echo $key_val | awk '{gsub(";" , "\n"))'
but sometimes we get the data in the variable in this format... (3 Replies)
Hello,
I am recently working on an application that sends large strings accross a network very often. These then need to be broken up first with '!' and then with ','. My current function (below) works fine for this when not too much data is being sent across the network but segfaults when a... (4 Replies)
Hello all, I am having a problem with awk's string split function.
I have a string that has a number at the end, I am trying to remove the alpha portion of the string and just have the numeric part. Here is my code and the result:
BEGIN {
word = "$category121";
split(word, a, 121)
print... (2 Replies)
In linux terminal there is a command "split" which splits the terminal for viewing multiple files. Now my question is how to shift control from one file to other when split is used? (1 Reply)
how can i split a file on last record ? say i have a file A with 4 records as follows :
first line
second line
third line
last line
I want to make two files B and C
with contents of B as
first line
second line
third line
and the contents of C as
last line (8 Replies)
I have a directory of files that I need to rename by splitting the first and second halves of the filenames using the delimiter "-O" and then renaming with the second half first, followed by two underscores and then the first half. For example, natfinal1995annvol1_14.pdf -O filenum-20639 will be... (2 Replies)
Hello gurus,
I have data in one of the oracle tables as as below:
Column 1 Column 2
1 NY,NJ,CA
2 US,UK,
3 AS,EU,NA
fyi, Column 2 above has data delimited with a comma as shown.
I need a sql query the produce the below output in two columns... (5 Replies)