Hi, need help how to count unique destination for the source ip. The file is contains 4 number of fields. Example of the file is here
src ip dest ip #of flows total bytes
192.168.6.0 88.0.33.2 12 128
192.168.6.0 88.0.33.2 1 168
192.168.6.0 ... (5 Replies)
Hi all,
I have some doubts in selecting the interface to transfer packets and receive the packets.
--> Multiple interfaces :
--------------------
1) 0.0.0.0 --------> wild card address.
2) x.x.x.x --------> valid address.(192.168.1.156)
3) ff.ff.ff.ff -------->... (0 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
I'd like to specify a different build and deployment path for files, by default the same path is used for both build and install, I wasn't able to find a way to make these different. With Solaris pkgadd, one can specify different paths in prototype, so I would assume something like that is possible... (0 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Hi Guys,
how to count number of files successfully copied while coping files from source to destination path
ex:10 files from source to target location copying
if 8 files copied successfully then
echo successfully copied=8
failure=2 files
if two files get error to coping files from... (23 Replies)
Discussion started by: sravanreddy
23 Replies
LEARN ABOUT LINUX
snmpa_network_interface_filter
snmpa_network_interface_filter(3erl) Erlang Module Definition snmpa_network_interface_filter(3erl)NAME
snmpa_network_interface_filter - Behaviour module for the SNMP agent network-interface filter.
DESCRIPTION
This module defines the behaviour of the agent network interface filter. A snmpa_network_interface_filter compliant module must export the
following functions:
* accept_recv/2
* accept_send/2
* accept_recv_pdu/3
* accept_send_pdu/2
The semantics of them and their exact signatures are explained below.
The purpose of the network interface filter is to allow for filtering of messages (accept or reject) receive and send. This is done on two
levels:
* The first level is at the UDP entry / exit point, i.e. immediately after the receipt of the message, before any message processing is
done (accept_recv) and immediately before sending the message, after all message processing is done (accept_send).
* The second level is at the MPD entry / exit point, i.e. immediately after the basic message processing (accept_recv_pdu) / immediately
before the basic message processing (accept_send_pdu).
Note that the network interface filter is something which is used by the network interface implementation provided by the application (
snmpa_net_if ). The default filter accepts all messages.
A network interface filter can e.g. be used during testing or for load regulation. If the intended use is load regulation, see also
req_limit and the function register_notification_filter .
DATA TYPES
port() = integer() > 0
pdu_type() = 'get-request' | 'get-next-request' | 'get-response' | 'set-request' | trap | 'get-bulk-request' | 'inform-request' | report
EXPORTS
accept_recv(Ip, Port) -> boolean()
Types Ip = ip_address()
Port = port()
Called at the reception of a message (before any processing has been done).
For the message to be discarded, the function must return false .
accept_send(Ip, Port) -> boolean()
Types Ip = ip_address()
Port = port()
Called before the sending of a message (after all processing has been done).
For the message to be discarded, the function must return false .
accept_recv_pdu(Ip, Port, PduType) -> boolean()
Types Ip = ip_address()
Port = port()
PduType = pdu_type()
Called after the basic message processing (MPD) has been done, but before the pdu is handed over to the master-agent for primary
processing.
For the pdu to be discarded, the function must return false .
accept_send_pdu(Targets, PduType) -> Reply
Types Targets = targets()
targets() = [target()]
target() = {ip_address(), port()}
PduType = pdu_type() > 0
Reply = boolean() | NewTargets
NewTargets = targets()
Called before the basic message processing (MPD) is done, when a pdu has been received from the master-agent.
For the message to be discarded all together, the function must return false .
Note that it is possible for this function to filter out targets (but not add its own) by returning an updated Targets list ( New-
Targets ).
Ericsson AB snmp 4.19 snmpa_network_interface_filter(3erl)