Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ng_split(4) [php 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

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
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

returning split fields

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)
Discussion started by: mervin2006
3 Replies

2. Shell Programming and Scripting

string splitting

Hi, I have a string like 'xyz' and i want to to split the above string into letters for comparision purpose. any idea pls. cheers RRK. (3 Replies)
Discussion started by: ravi raj kumar
3 Replies

3. Programming

Is this string splitting function OK?

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)
Discussion started by: kpedersen
4 Replies

4. Shell Programming and Scripting

awk help with string spliting

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)
Discussion started by: RobertSubnet
2 Replies

5. UNIX for Dummies Questions & Answers

Shift the control between files using Split

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)
Discussion started by: manoj.b
1 Replies

6. Shell Programming and Scripting

urgent help needed regarding splitting file

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)
Discussion started by: aliyesami
8 Replies

7. Shell Programming and Scripting

renaming files using split with a delimiter

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)
Discussion started by: swimulator
2 Replies

8. Programming

Need sql query to string split and normalize data

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)
Discussion started by: calredd
5 Replies