10-14-2008
Importance of LS length in DB exchange start packet (OSPF protocol)?
Is there any importance of LS length in DB exchange packet of OSPF protocol as its should be always be 20 bytes. Is this length to be ignored
7 More Discussions You Might Find Interesting
1. Linux
What would be the importance of ~ in this command.
cp first ~/bin
Thanks
from dumb (1 Reply)
Discussion started by: singh85
1 Replies
2. IP Networking
I trying to send and receive OSPF packets. I am using RAW Sockets(socket(AF_INET, SOCK_RAW, IPPROTO_OSPF)) to do this.
I am successfully able to send an OSPF Hello packet however I am not able to receive a OSPF packet if I have not sent an OSPF packet earlier on the RAW SOCKET.
Scenario:
... (3 Replies)
Discussion started by: cosmic_egg
3 Replies
3. UNIX for Dummies Questions & Answers
What is the significance of special characters used in grep command.
Like \ + ?
What is the meaning of the below command:
grep -o "0078\(\)\+" $i | sort | uniq
Can i replace + with ?
Thanks,
tinku (3 Replies)
Discussion started by: tinku
3 Replies
4. Shell Programming and Scripting
Hi
When an entry will be made to the file /var/mail/<user-id> .
I have 100 scripts under a specific user id(dgircc) in cron .SO inrder to check the whether the script has sucessfully run or not and if not to generate an email
if i mention the code like
#!/bin/ksh -p
2 fsize=`ls -lrt... (0 Replies)
Discussion started by: mskalyani
0 Replies
5. IP Networking
Hello,
I would appreciate some help with the following. We have 3 SUN X4450 servers, each of these servers talk to each other, one is an application server the other is a database server and the third is a web server. We also have numerous workstation and ACD connections.
When I snoop the... (1 Reply)
Discussion started by: giles.cardew
1 Replies
6. Shell Programming and Scripting
Hello all,
This is a bit simple but I cannot do it! I have a big table of values between 0 and 1. some cells have NA instead of having any value.
I want to exchange all values with "1" and write "0" for all "NA" .
for changing "NA" to zero I used sed:
sed -i 's/NA/0/g' input.txt
But... (3 Replies)
Discussion started by: @man
3 Replies
7. AIX
(5 Replies)
Discussion started by: Vishal_dba
5 Replies
LEARN ABOUT CENTOS
umad_recv
UMAD_RECV(3) OpenIB Programmer's Manual UMAD_RECV(3)
NAME
umad_recv - receive umad
SYNOPSIS
#include <infiniband/umad.h>
int umad_recv(int portid, void *umad, int *length, int timeout_ms);
DESCRIPTION
umad_recv() waits up to timeout_ms milliseconds for a packet to be received from the port specified by portid. The packet is copied to the
umad buffer if there is sufficient room and the received length is indicated. If the buffer is not large enough, the size of the umad buf-
fer needed is returned in length. A negative timeout_ms makes the function block until a packet is received. A timeout_ms parameter of
zero indicates a non blocking read.
Note length is a pointer to the length of the data portion of the umad buffer. This means that umad must point to a buffer at least
umad_size() + *length bytes long.
Note also that *length must be >= 256 bytes.
RETURN VALUE
umad_recv() returns non negative receiving agentid on success, and a negative value on error as follows:
-EINVAL invalid port handle or agentid or *length is less than the minimum supported
-EIO receive operation failed
-EWOULDBLOCK non blocking read can't be fulfilled
SEE ALSO
umad_poll(3)
AUTHOR
Hal Rosenstock <halr@voltaire.com>
OpenIB May 11, 2007 UMAD_RECV(3)